var FR0000033599_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": [[2012,2.5425043778955],[2013,2.9670839128419],[2014,-7.47013951621],[2015,-0.1045216046157],[2016,-0.1045216046157],[2017,-857.57575757576],[2018,158.82352941176],[2019,-3.9156204788351],[2020,0.4957110220268],[2021,8.1722159277804],[2022,9.5847422042476],[2023,8.2967386849347]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,2.3208387826126],[2013,1.5368567454798],[2014,-6.1853859279334],[2015,-0.7692790099714],[2016,-0.7692790099714],[2017,-1230.6060606061],[2018,-204.11764705882],[2019,-5.1383768142997],[2020,-0.4827794301479],[2021,5.7563685537809],[2022,8.2764259983646],[2023,5.9371157561918]], "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: 'FR0000033599_marges_an', data: FR0000033599_marges_an, height: "350", width: "100%" });