var FR0000064164_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,2.2394599390785],[2009,2.1650935663368],[2010,1.2390220303662],[2011,0.8517784496019],[2012,0.0116026492082],[2013,0.9572369361556],[2014,3.4012617701081],[2015,12615.384615385],[2016,8000],[2017,10478.260869565],[2018,2.474220650341],[2019,2.8187354642071],[2020,2.1355951374498],[2021,4.1851211286907],[2022,4.9523458480333],[2023,7.1232814981103]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.9580958827673],[2009,0.8400336917954],[2010,0.5929964275082],[2011,0.6134418192785],[2012,-0.1126027595284],[2013,0.8152334480162],[2014,2.0748785782218],[2015,7979.2307692308],[2016,6276.8181818182],[2017,5593.9130434783],[2018,2.0693120035019],[2019,2.4262335166241],[2020,1.7801701573528],[2021,2.8449797671676],[2022,3.2378973772265],[2023,5.1130804780083]], "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: 'FR0000064164_marges_an', data: FR0000064164_marges_an, height: "350", width: "100%" });