var FR0000074122_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": [[2006,null],[2007,null],[2008,null],[2009,7.34808963368],[2010,3.8234211494978],[2011,6.0928559530723],[2012,6.4739510906971],[2013,7.0944717298574],[2014,5.4626226651006],[2015,5.986292924861],[2016,7.6236136968009],[2017,7.6236136968009],[2018,4418.6046511628],[2019,7.3490281543803],[2020,6.3790967184852],[2021,5.3038270344305],[2022,9.5388327552405],[2023,9.8440174074617]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2006,null],[2007,null],[2008,null],[2009,4.664901085604],[2010,2.2132828521849],[2011,3.6591350071355],[2012,3.6689000323065],[2013,4.5589110004588],[2014,3.5568143068238],[2015,3.657811866506],[2016,5.1033731573874],[2017,5.1033731573874],[2018,3001.0465116279],[2019,4.8600200197664],[2020,4.0203508917192],[2021,3.8108311372266],[2022,7.1635650731413],[2023,7.8685638844066]], "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: 'FR0000074122_marges_an', data: FR0000074122_marges_an, height: "350", width: "100%" });