var FR0010478248_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,-21.348314606742],[2011,-0.7054673721340],[2012,-166.66666666667],[2013,39.393939393939],[2014,19.736842105263],[2015,3.1746031746032],[2016,0],[2017,47.619047619048],[2018,27.085590465872],[2019,12.135922330097],[2020,12.083333333333],[2021,-61.375661375661],[2022,-154.36241610738],[2023,-84.158415841584]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-16.767502160761],[2011,-10.934744268078],[2012,-2983.3333333333],[2013,-75.757575757576],[2014,15.789473684211],[2015,2.3809523809524],[2016,-0.8403361344538],[2017,261.90476190476],[2018,24.918743228602],[2019,13.106796116505],[2020,9.5833333333333],[2021,-62.962962962963],[2022,-159.73154362416],[2023,-94.059405940594]], "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: 'FR0010478248_marges_an', data: FR0010478248_marges_an, height: "350", width: "100%" });