var FR0013233012_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": [[2013,-406.8864229765],[2014,-410.20408163265],[2015,-318.15384615385],[2016,-137.82553461783],[2017,0],[2018,-85.166240409207],[2019,-433.13803943984],[2020,-7988.9784946237],[2021,-1242.5846447306],[2022,-468.92191477133],[2023,-587.68095210849]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2013,-232.86553524804],[2014,-228.26682911971],[2015,-180.98461538462],[2016,-74.581833580351],[2017,-137.832],[2018,-85.976982097187],[2019,-431.80908831095],[2020,-9037.3655913978],[2021,-1183.4763948498],[2022,-445.63593070039],[2023,-631.83612748183]], "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: 'FR0013233012_marges_an', data: FR0013233012_marges_an, height: "350", width: "100%" });