var FR0000038499_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,3.9009981666327],[2009,4.1662118400466],[2010,4.3180444563831],[2011,3.9390741321772],[2012,5.4634946677605],[2013,5.2827969418588],[2014,3.5205824926782],[2015,9240000],[2016,9080000],[2017,11460000],[2018,2.2129202548858],[2019,1.5780515246805],[2020,1.8416436983212],[2021,1.6685205784205],[2022,23.529411764706],[2023,-347.05882352941]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-0.3530929585116],[2009,0.1528217443511],[2010,0.0503659928816],[2011,-0.0285233463590],[2012,0.4312668463612],[2013,0.1825150574922],[2014,1.4480963228116],[2015,-710000],[2016,6620000],[2017,-590000],[2018,-0.4799104167222],[2019,-1.5867062862418],[2020,-0.6107491856678],[2021,-0.5496303081856],[2022,-829.41176470588],[2023,-11429.411764706]], "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: 'FR0000038499_marges_an', data: FR0000038499_marges_an, height: "350", width: "100%" });