var FR0000125007_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,6.4246575342466],[2009,3.2816387021648],[2010,6.2912834317904],[2011,6.2826479247792],[2012,4.592805222464],[2013,4.4997025580012],[2014,5.3807180786281],[2015,3.2657799762764],[2016,5.8936382472565],[2017,488387.09677419],[2018,1.9102791209843],[2019,5.9967585089141],[2020,3.7557700377675],[2021,8.9130434782609],[2022,8.9497431490126],[2023,8.8248790255298]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.1461187214612],[2009,0.5345895305139],[2010,2.8141279692914],[2011,3.0487225757432],[2012,1.7732302421408],[2013,1.4158239143367],[2014,2.3213328786476],[2015,3.268303762966],[2016,3.353541554754],[2017,252580.64516129],[2018,1.005410063676],[2019,3.3025626570831],[2020,1.1959714645405],[2021,5.7087862318841],[2022,5.8655780612145],[2023,5.5669113966294]], "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: 'FR0000125007_marges_an', data: FR0000125007_marges_an, height: "350", width: "100%" });