var FR0000033219_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,-37.748037943994],[2009,1.4149848976038],[2010,28.722568990076],[2011,24.334496052873],[2012,15.432735715207],[2013,11.991307783485],[2014,18.75386996904],[2015,25.652602199967],[2016,15804.597701149],[2017,20941.176470588],[2018,31239.669421488],[2019,169.48176583493],[2020,-204.11032990806],[2021,154.41885377611],[2022,147.6688867745],[2023,-175.71182053494]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-44.057464134848],[2009,-11.54263686347],[2010,17.026044260188],[2011,8.0961997429778],[2012,3.6050561073133],[2013,9.6272882918478],[2014,8.8467492260062],[2015,8.8983746511246],[2016,5850.5747126437],[2017,9005.8823529412],[2018,21099.173553719],[2019,112.14011516315],[2020,-166.4142779881],[2021,113.33690412426],[2022,155.47098001903],[2023,-204.01207937877]], "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: 'FR0000033219_marges_an', data: FR0000033219_marges_an, height: "350", width: "100%" });