var FR0013143872_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": [[2014,11.285205568145],[2015,10.552300704364],[2016,3.2221163012393],[2017,-164.3216080402],[2018,-5.34411255184],[2019,5.2772386298064],[2020,-12.629529174491],[2021,9.4244942763055],[2022,0.0115017444312],[2023,-2.9091065810456]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2014,14.082227258012],[2015,11.770127048911],[2016,0.4512233873530],[2017,-206.23115577889],[2018,-3.9739618877631],[2019,3.4779415621885],[2020,-19.618888657069],[2021,11.050128064398],[2022,2.8869378522409],[2023,-6.6284532172564]], "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: 'FR0013143872_marges_an', data: FR0013143872_marges_an, height: "350", width: "100%" });