var NL00150001Q9_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": [[2016,null],[2017,6.4398651450412],[2018,4.6770278592907],[2019,4.4524758057807],[2020,2.4978079283769],[2021,10.123210568937],[2022,11.290035190877],[2023,11.805174524121]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2016,null],[2017,3.1469161843979],[2018,3.267760750643],[2019,6.1208832854225],[2020,0.0334579352993],[2021,9.5034768001392],[2022,9.3539801327453],[2023,9.8262144937323]], "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: 'NL00150001Q9_marges_an', data: NL00150001Q9_marges_an, height: "350", width: "100%" });