var FR0000120271_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,14.658424651082],[2009,11.298514395364],[2010,12.168721454582],[2011,13.530020673443],[2012,11.201084117388],[2013,9.3968619092338],[2014,4.5302851835978],[2015,2.8562445877687],[2016,3.8272231714326],[2017,1382043.0107527],[2018,2512133.3333333],[2019,8.1012000435095],[2020,-3.9691507126319],[2021,11.569344797826],[2022,16.390805817981],[2023,14.098293095016]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,6.6050853993259],[2009,6.4320360626528],[2010,6.6371990349509],[2011,6.6467059020843],[2012,5.3453698760026],[2013,4.4528389486235],[2014,1.7973758156435],[2015,3.0763742441143],[2016,4.1377556032561],[2017,774768.8172043],[2018,1334277.6],[2019,5.6246130732927],[2020,-5.1476702190347],[2021,7.7877037388172],[2022,7.3046522720813],[2023,9.0179143425218]], "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: 'FR0000120271_marges_an', data: FR0000120271_marges_an, height: "350", width: "100%" });