var FR0000061418_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,2.3166177780892],[2010,2.4097584185825],[2011,2.3571447268539],[2012,1.8732595259118],[2013,0.6380923803987],[2014,796.77419354839],[2015,739.39393939394],[2016,757.57575757576],[2017,600],[2018,615.15151515152],[2019,0.9004812917249],[2020,0.7338107294102],[2021,1.3050443276752],[2022,0.9709866582341],[2023,1.2828883675482]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,2.2580515983061],[2010,2.0195946968878],[2011,2.0600476402377],[2012,1.6749303810365],[2013,0.3811676012227],[2014,73.870967741935],[2015,1118.7878787879],[2016,611.81818181818],[2017,600],[2018,425.75757575758],[2019,0.8746053925374],[2020,0.7383827588769],[2021,1.2554724719658],[2022,0.8779802733458],[2023,1.1815721574049]], "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: 'FR0000061418_marges_an', data: FR0000061418_marges_an, height: "350", width: "100%" });