var MC0000031187_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,4.7533340832677],[2010,3.0935303725763],[2011,-7.6163777362463],[2012,-7.6163777362463],[2013,-2.4881907761073],[2014,-6.9668534544691],[2015,-6.7245213335472],[2016,-7.1531628134045],[2017,-1881.3559322034],[2018,-950.53003533569],[2019,-1.8272254888555],[2020,3.652148099389],[2021,-30.648555747179],[2022,6.6648571008494],[2023,10.821050485242],[2024,10.456406898305]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,10.140612696389],[2010,0.2871112703203],[2011,-8.9222036046487],[2012,-8.9222036046487],[2013,3.6513358390898],[2014,2.2193485637234],[2015,-6.3172701382357],[2016,-7.9288279806116],[2017,-2055.3672316384],[2018,-515.72438162544],[2019,0.4894252244861],[2020,4.2132724131088],[2021,-23.482651452861],[2022,14.392080133606],[2023,134.36768632672],[2024,14.764793699991]], "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: 'MC0000031187_marges_an', data: MC0000031187_marges_an, height: "350", width: "100%" });