var FR0000045122_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": [[2005,-4.1349809885932],[2009,3.5527911022086],[2010,3.3195845549868],[2011,6.4639510422643],[2012,3.4325933946941],[2013,4.162912236439],[2014,7.8976446641466],[2015,11.052206983981],[2016,4.5553283925377],[2017,1.5304649148137],[2018,4.3172185906185],[2019,3.4939483900434],[2020,8.877939142462],[2021,-3.9300868862396],[2022,-6.365851075098],[2023,7.7547786471229]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,-3.9448669201521],[2009,2.2455326551052],[2010,6.5049942851464],[2011,4.2598967297762],[2012,1.9870059556037],[2013,2.649125968643],[2014,1.3143355626636],[2015,2.0686873343321],[2016,0.9711219013545],[2017,-1.4005197805371],[2018,2.6363048631564],[2019,0.8144934155439],[2020,1.521438450899],[2021,-5.5465750656698],[2022,-8.1876919817816],[2023,6.1305338219273]], "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: 'FR0000045122_marges_an', data: FR0000045122_marges_an, height: "350", width: "100%" });