var FR0000053381_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": [[2009,-5.2930289944479],[2010,4.1573177767806],[2011,4.5081857039168],[2012,2.9129521321901],[2013,0.7993605115907],[2014,1.1987036820116],[2015,2.1817564412751],[2016,1.9464493597206],[2017,4.481710666032],[2018,45384.615384615],[2019,3.6044362292052],[2020,2.2807515928737],[2021,7.2643309459945],[2022,6.5295678544352],[2023,6.757241874465]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,-7.3575981904174],[2010,1.9680748765947],[2011,2.5887792682599],[2012,1.3201976037704],[2013,-1.2218796391458],[2014,-0.3279840693452],[2015,1.1969947790653],[2016,0.6006984866123],[2017,2.7827615246604],[2018,27346.153846154],[2019,2.0554528650647],[2020,0.8644129702528],[2021,4.8115477145148],[2022,4.5034116755118],[2023,3.7804103498744]], "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: 'FR0000053381_marges_an', data: FR0000053381_marges_an, height: "350", width: "100%" });