var FR0000062978_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,5.9944744783],[2009,9.0299747080575],[2010,8.9807602689568],[2011,10.193797498384],[2012,8.4929774170597],[2013,8.9960711146194],[2014,10.993687915658],[2015,1297.5609756098],[2016,1803.8461538462],[2017,1382.3529411765],[2018,11.131112391193],[2019,5.533189033189],[2020,6.6807838633264],[2021,8.7817351598174],[2022,9.0736551724138],[2023,8.7556334501753]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.7595761112748],[2009,3.6376991844809],[2010,7.8040742959856],[2011,6.5379046310158],[2012,5.0146248913015],[2013,6.5517303241779],[2014,8.424855735874],[2015,836.09756097561],[2016,1051.9230769231],[2017,820],[2018,7.4020737327189],[2019,3.7828282828283],[2020,4.6565214270332],[2021,5.1695585996956],[2022,6.0088275862069],[2023,6.2303455182774]], "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: 'FR0000062978_marges_an', data: FR0000062978_marges_an, height: "350", width: "100%" });