var FR0013452281_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": [[2017,null],[2018,3.4573364679851],[2019,10.12308117826],[2020,1.791975068173],[2021,1.1962572545304],[2022,1.7259666377399],[2023,-38.981915606162]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2017,2.8520143597926],[2018,6.6795740561471],[2019,-22.126953395104],[2020,0.4804570834956],[2021,0.7935567926093],[2022,3.4712178189181],[2023,-37.675820495646]], "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: 'FR0013452281_marges_an', data: FR0013452281_marges_an, height: "350", width: "100%" });