var FR0004007813_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,5.5075675517936],[2009,0.2097530347873],[2010,7.568328378052],[2011,8.6043159956141],[2012,8.4276818705184],[2013,7.4105661657345],[2014,6.809853213482],[2015,8.1376317141035],[2016,8.7802766069845],[2017,20701.754385965],[2018,8.8039049459354],[2019,9.7424590090439],[2020,6.8899875327802],[2021,7.6756124200343],[2022,7.4692861238837],[2023,7.7592428968351]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.7015670677174],[2009,-3.1887595477207],[2010,1.9304222925675],[2011,4.5499423033646],[2012,4.6234828347472],[2013,3.9814650559382],[2014,3.5484639199809],[2015,3.7417999093216],[2016,3.7184107941667],[2017,10371.578947368],[2018,4.6830087233648],[2019,5.2909546148025],[2020,3.4510984050557],[2021,3.422140739585],[2022,3.7271898989868],[2023,4.2691023416403]], "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: 'FR0004007813_marges_an', data: FR0004007813_marges_an, height: "350", width: "100%" });