var FR0013258399_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,null],[2013,null],[2014,null],[2015,-196.4586316488],[2016,-128.54370439373],[2017,-91.818181818182],[2018,-52.177464425433],[2019,-86.188332028191],[2020,-34.770578741065],[2021,-6.857431563476],[2022,-18.448411547861],[2023,-29.962546816479]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,null],[2015,-202.70317465861],[2016,132.54735289551],[2017,-96.6],[2018,-51.128498344869],[2019,-86.604346123727],[2020,-36.472215817385],[2021,-8.8554106191439],[2022,-18.895746179017],[2023,-36.565543071161]], "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: 'FR0013258399_marges_an', data: FR0013258399_marges_an, height: "350", width: "100%" });