var FR0014000MR3_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,13289.03654485],[2018,9.0968933244612],[2019,8.0345401946173],[2020,14.714642935942],[2021,18.729624722747],[2022,13.64699572414],[2023,8.1340373929328]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2016,null],[2017,7201.6943521595],[2018,5.9226457150051],[2019,4.2802665030245],[2020,9.9194675296021],[2021,11.64982062313],[2022,9.0910445315177],[2023,4.7616123783502]], "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: 'FR0014000MR3_marges_an', data: FR0014000MR3_marges_an, height: "350", width: "100%" });