var FR0013181864_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,20.772334293948],[2009,-7.1914741178578],[2010,3.073967339097],[2011,6.5220267231115],[2012,9.6495989180503],[2013,-10.486464683526],[2014,-22.533409502244],[2015,-55.10016321631],[2016,-33.166033437498],[2017,-330000],[2018,-15.056528226738],[2019,17.958565415899],[2020,-19.492084524143],[2021,-2.184096510904],[2022,19.592214202711],[2023,11.064656767984]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,12.787704130644],[2009,-11.835034927458],[2010,-2.4975984630163],[2011,-0.8378533315694],[2012,2.1756073842204],[2013,-13.999660428741],[2014,-37.294042788107],[2015,-69.02754635034],[2016,-47.963175288325],[2017,-537312.5],[2018,-8.5127283147142],[2019,-5.0962358024936],[2020,-49.864587289223],[2021,-16.993032042371],[2022,4.6498959459817],[2023,1.1994611936001]], "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: 'FR0013181864_marges_an', data: FR0013181864_marges_an, height: "350", width: "100%" });