var FR0000031775_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,18.563928901827],[2009,16.041609419345],[2010,16.562188533411],[2011,13.319431888807],[2012,10.687591368888],[2013,10.043250540358],[2014,10.579617484737],[2015,10.159676765112],[2016,10.430802222375],[2017,21858.407079646],[2018,35070.422535211],[2019,9.5277250708305],[2020,10.623272381417],[2021,11.527598993256],[2022,7.6255682562328],[2023,10.550698501397]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,11.9227454166],[2009,10.094762008488],[2010,10.068040318644],[2011,7.2217621758291],[2012,5.6315299716127],[2013,5.2607127874529],[2014,5.3030168572694],[2015,4.9423838125426],[2016,5.667399280536],[2017,12582.389380531],[2018,21280.985915493],[2019,5.4314372335988],[2020,6.1315531865896],[2021,6.5380378745669],[2022,4.2856479967535],[2023,6.5532131064262]], "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: 'FR0000031775_marges_an', data: FR0000031775_marges_an, height: "350", width: "100%" });