var FR0000063935_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,6.5155067525226],[2010,6.5292843178555],[2011,5.5562944303492],[2012,5.430588751511],[2013,3.4689630329859],[2014,5.5224242840139],[2015,4.8770236652259],[2016,4.3782592202171],[2017,24000],[2018,4.2866542703936],[2019,4.1702915250331],[2020,3.5689115744432],[2021,2.4093462056113],[2022,-2.959802743378],[2023,2.250208937583],[2024,-2.9406320767326]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,1.7423155236822],[2010,3.740921486366],[2011,2.6432538310344],[2012,2.7473593833393],[2013,0.7922172296186],[2014,3.4932060850308],[2015,2.7277139539198],[2016,2.6164665900974],[2017,13304],[2018,2.6087275956813],[2019,2.6148311920263],[2020,1.9132179471192],[2021,2.641457633887],[2022,1.6081354282391],[2023,0.6024384293878],[2024,-5.0487210179406]], "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: 'FR0000063935_marges_an', data: FR0000063935_marges_an, height: "350", width: "100%" });