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,4.2929292929293],[2012,4.2929292929293],[2013,39.393939393939],[2014,19.736842105263],[2015,3.1746031746032],[2016,0],[2017,55.194805194805],[2018,14.444444444444],[2019,12.135922330097],[2020,12.083333333333],[2021,-61.375661375661],[2022,-154.36241610738],[2023,-84.158415841584],[2024,-62.135922330097]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-16.767502160761],[2011,-9.3434343434343],[2012,-9.3434343434343],[2013,-75.757575757576],[2014,15.789473684211],[2015,2.3809523809524],[2016,-0.8403361344538],[2017,50],[2018,12.777777777778],[2019,13.106796116505],[2020,9.5833333333333],[2021,-62.962962962963],[2022,-159.73154362416],[2023,-94.059405940594],[2024,-65.533980582524]], "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%" });