var FR0000045072_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,20.813487089496],[2009,32.103444432059],[2010,34.487555268518],[2011,34.504162055526],[2012,26.22126877107],[2013,11.095847642835],[2014,16.133510000631],[2015,32.633476794231],[2016,20.005932957579],[2017,319668.2464455],[2018,36.213011755168],[2019,36.676260420802],[2020,37.117073170732],[2021,38.998984861191],[2022,41.043083900227],[2023,43.840349483717],[2024,45.200691659615]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,6.417648533467],[2009,6.2702039906365],[2010,6.2745292861046],[2011,-7.0730885820141],[2012,-39.662886913883],[2013,15.641586013113],[2014,14.78957662944],[2015,20.448993835059],[2016,21.00860278849],[2017,172938.38862559],[2018,22.294284556141],[2019,24.037316395395],[2020,13.131707317073],[2021,25.793353047623],[2022,23.591658885777],[2023,25.210484511517],[2024,26.073360067694]], "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: 'FR0000045072_marges_an', data: FR0000045072_marges_an, height: "350", width: "100%" });