var FR0000121634_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,5.332707795762],[2009,4.6714446075468],[2010,2.6841608781408],[2011,3.7544311956171],[2012,3.1144522859773],[2013,3.1113495286995],[2014,2.1377863827041],[2015,65789.473684211],[2016,78333.333333333],[2017,3.0499786416062],[2018,2.4867323730099],[2019,2.958796025716],[2020,1.5044319752785],[2021,3.2511719340693],[2022,2.9621997552965]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.8314176245211],[2009,3.3416803384855],[2010,1.920933024612],[2011,2.7070576861102],[2012,2.3166615526235],[2013,2.3909878151582],[2014,4.8725395288803],[2015,61578.947368421],[2016,84523.80952381],[2017,2.8022212729603],[2018,1.7134192570129],[2019,1.9067796610169],[2020,0.7644140847361],[2021,1.9733857553304],[2022,1.9383089703136]], "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: 'FR0000121634_marges_an', data: FR0000121634_marges_an, height: "350", width: "100%" });