var FR0000121295_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,6.7710424193764],[2009,5.6254804441851],[2010,13.946996778322],[2011,22.985957132299],[2012,22.056676573335],[2013,13.313528133729],[2014,18.118986312508],[2015,19.419043129861],[2016,22.454021672772],[2017,33.59226379201],[2018,7.5718205440372],[2019,22.119501626528],[2020,-7.1528617813714],[2021,0.6708633326009],[2022,12.592042841759],[2023,9.2231631572023]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-8.483875284357],[2009,-0.9539421892510],[2010,11.692925548347],[2011,14.312843886015],[2012,10.605349601126],[2013,7.7009710459806],[2014,13.510186565479],[2015,16.443554089088],[2016,19.057158119658],[2017,30.70703868104],[2018,8.0878745479985],[2019,9.9147519061885],[2020,-12.48381825513],[2021,8.7729276269017],[2022,7.4390989260456],[2023,6.2318669981097]], "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: 'FR0000121295_marges_an', data: FR0000121295_marges_an, height: "350", width: "100%" });