var FR0000035123_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,3.8976030420316],[2009,4.1589346141251],[2010,4.3281176549594],[2011,3.8706181009156],[2012,5.4611508262041],[2013,5.2746851615258],[2014,3.5185486495281],[2015,12290000],[2016,8370000],[2017,11320000],[2018,2.210254085904],[2019,1.5665118425987],[2020,1.8541718867452],[2021,1.6685205784205],[2022,11.764705882353],[2023,-352.94117647059]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-0.3530929585116],[2009,0.1200742277044],[2010,0.0470082600228],[2011,-0.0513420234462],[2012,0.3984530645728],[2013,0.1602076615765],[2014,-0.0162707452001],[2015,-710000],[2016,6900000],[2017,2320000],[2018,-0.4719119097768],[2019,-0.6808412428238],[2020,-0.1346780255575],[2021,-0.5463586992083],[2022,-864.70588235294],[2023,-11294.117647059]], "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: 'FR0000035123_marges_an', data: FR0000035123_marges_an, height: "350", width: "100%" });