var FR0000045213_marges_an = { "type": "bar", "plot":{ "tooltip" : { "text": "%v%", "decimals": 1, }, }, "title":{ "text": "Marges", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Marge Opérationnelle", "values": [[2008,46.308058420828],[2009,47.798497851445],[2010,49.12626287498],[2011,45.829204628262],[2012,39.18457309581],[2013,41.040378346524],[2014,46.403311544246],[2015,0],[2016,0],[2017,0],[2018,37.234708923896],[2019,37.212918569109],[2020,28.025273934256],[2021,37.055279917859],[2022,40.083233786752],[2023,34.031572768313]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,26.555835798259],[2009,26.526373460134],[2010,27.907311511056],[2011,28.402277888519],[2012,20.476031634105],[2013,26.257114510992],[2014,28.708363733826],[2015,6359.2028985507],[2016,3773.9534883721],[2017,3687.7040816327],[2018,24.189099284517],[2019,23.957436104611],[2020,9.2502243905907],[2021,22.081810544757],[2022,23.685985125814],[2023,21.164866035864]], "background-color": "rgb(27, 139, 61)", }, ], "plotarea" : { "margin-right":"20", "margin-left":"50", "margin-bottom":"50", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "legend": { "layout":"1x2", "x" : 0, "y" : 33, "item": { "font-size": "11px" } }, "scale-y" : { "format":"%v%", "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'FR0000045213_marges_an', data: FR0000045213_marges_an, height: "350", width: "100%" });