var FR0000121147_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,-2.939878608241],[2009,-2.4299950496115],[2010,3.3024304322299],[2011,4.0203332880384],[2012,2.4561605574592],[2013,2.3934193448188],[2014,3.1164858276373],[2015,4.0739675233346],[2016,4.6198658507255],[2017,5.3166978004826],[2018,490000],[2019,5.7017272333313],[2020,0.3475347188569],[2021,3.3974055244657],[2022,1.7421063983039],[2023,3.9067230869168]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-4.7857327216565],[2009,-4.6662792449581],[2010,1.4620285737067],[2011,2.2933626514805],[2012,0.8194880359354],[2013,0.4858946340814],[2014,0.8800301663932],[2015,1.980778246601],[2016,3.4087811656556],[2017,3.0235312188765],[2018,269538.46153846],[2019,3.3188318522312],[2020,-2.6224332968722],[2021,-0.5045524977910],[2022,-1.5536935829769],[2023,0.8154756880347]], "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: 'FR0000121147_marges_an', data: FR0000121147_marges_an, height: "350", width: "100%" });