var FR0013254851_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": [[2015,-7240],[2016,null],[2017,-7.9865771812081],[2018,-6172.1518987342],[2019,-5667.032967033],[2020,-110.18758085382],[2021,-2843.9597315436],[2022,-1531.974522293],[2023,-151.70082400169]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2015,-7390],[2016,null],[2017,-8.1979865771812],[2018,-6287.3417721519],[2019,-6048.3516483516],[2020,-123.83570504528],[2021,-2913.0872483221],[2022,-1568.4076433121],[2023,-155.67293471371]], "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: 'FR0013254851_marges_an', data: FR0013254851_marges_an, height: "350", width: "100%" });