var NL0010801007_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,6.2459362590477],[2013,5.9478378463836],[2014,6.0628615222197],[2015,5.9620124995179],[2016,6.2704578594342],[2017,8819.4444444444],[2018,6.8342258981236],[2019,6.545817150786],[2020,6.9116276589074],[2021,8.8920748126046],[2022,10.03426496574],[2023,9.6456793052422]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,-1.5959419012665],[2013,-0.4369952562908],[2014,1.4657087179079],[2015,4.0428312107511],[2016,4.2554097404491],[2017,5365.4166666667],[2018,4.2056677759101],[2019,4.0156512466789],[2020,4.3577503911827],[2021,6.0337966669092],[2022,6.8039003862442],[2023,6.578765518356]], "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: 'NL0010801007_marges_an', data: NL0010801007_marges_an, height: "350", width: "100%" });