var FR0000066755_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,17.188128616965],[2006,18.299902171485],[2007,17.537322644153],[2008,11.232973956254],[2009,-31.361494446314],[2010,-18.650161980562],[2011,-1.4977746789086],[2012,0.2105464368740],[2013,3.2173545158796],[2014,9.1619483440627],[2015,7.5332222556553],[2016,3043.956043956],[2017,4595.7446808511],[2018,5.2384849929394],[2019,4.794794597821],[2020,0.8826936407749],[2021,2.4075355137631],[2022,-0.3998375659888],[2023,4.1696131687243]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,11.823414724724],[2006,11.630038746254],[2007,10.955330087081],[2008,7.0901548427171],[2009,-27.385312926921],[2010,-16.769187697476],[2011,-2.8427418041066],[2012,-2.0152301815085],[2013,2.6536536974631],[2014,7.0214942216707],[2015,6.2460984339844],[2016,2559.2307692308],[2017,1873.4042553191],[2018,4.2818467184141],[2019,3.1840125412411],[2020,-5.9417071035061],[2021,1.595505075693],[2022,-2.5124661527307],[2023,0.0244938271605]], "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: 'FR0000066755_marges_an', data: FR0000066755_marges_an, height: "350", width: "100%" });