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.8562442786952],[2016,3.8272231714326],[2017,1382043.0107527],[2018,7.9202148633577],[2019,8.1012000435095],[2020,3.4777451045913],[2021,12.815624424537],[2022,18.866355246667],[2023,13.743634246044]], "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.0763743267715],[2016,4.1377556032561],[2017,774768.8172043],[2018,5.4670597570794],[2019,5.6246130732927],[2020,-6.0499231437546],[2021,8.6831244516178],[2022,7.7953742736698],[2023,9.7668364201055]], "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%" });