var FR0010169920_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,-5067.5675675676],[2018,-13858.823529412],[2019,-10534.782608696],[2020,-4782.6923076923],[2021,-2478.8732394366],[2022,-1212.4567474048],[2023,-1209.4339622642]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2016,null],[2017,-4472.972972973],[2018,-13947.058823529],[2019,-9139.1304347826],[2020,-4326.9230769231],[2021,-2404.2253521127],[2022,-1264.7058823529],[2023,-1328.3018867925]], "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: 'FR0010169920_marges_an', data: FR0010169920_marges_an, height: "350", width: "100%" });