var FR0012127173_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,null],[2013,null],[2014,null],[2015,-135500],[2016,4568.9295039164],[2017,-152.54237288136],[2018,19.819267255479],[2019,-5.672009864365],[2020,-182.27106930313],[2021,-63.198509845663],[2022,-100.95071576877],[2023,-1032.1508756174]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,null],[2013,null],[2014,null],[2015,-139600],[2016,5395.8224543081],[2017,-127.15496368039],[2018,22.448478900883],[2019,-17.925400739827],[2020,-158.90765981954],[2021,-64.053828024025],[2022,-97.038575019124],[2023,-1032.914234396]], "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: 'FR0012127173_marges_an', data: FR0012127173_marges_an, height: "350", width: "100%" });