var FR0000031577_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,12.276166954247],[2009,12.470636560851],[2010,15.317633503832],[2011,13.837052349777],[2012,14.123900425085],[2013,14.138273013803],[2014,14.106809327449],[2015,4.0473925756167],[2016,7.9158962547658],[2017,5322.3140495868],[2018,7.4796416750678],[2019,10.440756142217],[2020,19.669063731671],[2021,15.754841559638],[2022,14.760805698466],[2023,14.756435961184]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,7.9863766056546],[2009,8.3043442914051],[2010,11.070125517169],[2011,9.2312285032397],[2012,9.5841934532586],[2013,8.2223399630475],[2014,8.2259324603294],[2015,1.1030666543126],[2016,3.9739489899384],[2017,-212.80991735537],[2018,2.3130693771204],[2019,5.493732562328],[2020,8.3815208339132],[2021,10.635876180138],[2022,10.026665307227],[2023,9.7279653540781]], "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: 'FR0000031577_marges_an', data: FR0000031577_marges_an, height: "350", width: "100%" });