var FR0004172450_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.232487115862],[2009,15.036900369004],[2010,5.0980392156863],[2011,2.9781274457305],[2012,10.077556038967],[2013,3.3689400164339],[2014,-3.7665608233877],[2015,-93.471629042099],[2016,10.882425437515],[2017,-3.2989690721649],[2018,-10.11835467598],[2019,-1.1557353366079],[2020,3.8750389529448],[2021,-1.8608996216544],[2022,4.1844229139992],[2023,21.982738780207]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,12.391677801107],[2009,10.994632673599],[2010,1.9607843137255],[2011,2.3767351814475],[2012,7.4671332639743],[2013,2.6841961106546],[2014,-10.56607905398],[2015,-93.813300793167],[2016,12.66946019226],[2017,-3.2989690721649],[2018,-11.520178502134],[2019,-1.0401618029471],[2020,3.1411654721097],[2021,-2.1533000140128],[2022,2.5225018632116],[2023,18.987341772152]], "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: 'FR0004172450_marges_an', data: FR0004172450_marges_an, height: "350", width: "100%" });