var FR0010523167_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": [[2010,null],[2011,null],[2012,-13.221406086044],[2013,-13.912075681692],[2014,-9.708236509166],[2015,-20.850853326738],[2016,0],[2017,-28.571428571429],[2018,-36.893203883495],[2019,-9.1809580130101],[2020,-24.93196566883],[2021,-7.7343370568237],[2022,-1.1543394613083]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,-6.7995802728227],[2013,-7.9391578556854],[2014,-3.0209140201394],[2015,-15.829829334652],[2016,-4.0816326530612],[2017,-43.131868131868],[2018,-37.309292649098],[2019,-61.812536960378],[2020,-74.754029725769],[2021,-8.547838756678],[2022,-3.3668234288157]], "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: 'FR0010523167_marges_an', data: FR0010523167_marges_an, height: "350", width: "100%" });