var FR0000130692_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,3.6347517730496],[2008,-5.2903871829105],[2009,-5.0044286979628],[2010,4.16015625],[2011,4.2927005977178],[2012,1.3343499809379],[2013,3.0868167202572],[2014,4.7877900899017],[2015,4.8125125325847],[2016,5402.7777777778],[2017,4000],[2018,7205.8823529412],[2019,5.0942190993293],[2020,6.7883211678832],[2021,5.5932663589465],[2022,5.3822046600354],[2023,3.3680342927128]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2006,null],[2007,1.9503546099291],[2008,-9.3791722296395],[2009,-10.163861824624],[2010,2.51953125],[2011,1.9018293787357],[2012,-2.8974456728936],[2013,0.7717041800643],[2014,2.2579970729668],[2015,3.0679767395228],[2016,3472.2222222222],[2017,2270.2702702703],[2018,3911.7647058824],[2019,2.411370169275],[2020,4.9878345498783],[2021,4.1542221015477],[2022,3.0113094427034],[2023,0.2296387017759]], "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: 'FR0000130692_marges_an', data: FR0000130692_marges_an, height: "350", width: "100%" });