var FR0000065971_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,3.6280592899],[2010,7.2193138683505],[2011,9.1280547714477],[2012,5.4618720161184],[2013,9.148128052089],[2014,8.1211598815365],[2015,3608],[2016,3375.8620689655],[2017,8.6644309047156],[2018,11.452019873579],[2019,13.644185067084],[2020,7.6349942996649],[2021,10.603607581481],[2022,4.7911798734148],[2023,1.676989687002]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,2.815839365736],[2010,4.9669886844046],[2011,5.8218056486954],[2012,2.6221657687647],[2013,5.5875082896244],[2014,5.2767095433851],[2015,1704],[2016,972.06896551724],[2017,4.2330141825815],[2018,7.0103790026793],[2019,11.042656879851],[2020,4.8573764639497],[2021,7.6714255343505],[2022,3.9223248111431],[2023,0.4968579933251]], "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: 'FR0000065971_marges_an', data: FR0000065971_marges_an, height: "350", width: "100%" });