var FR00140006O9_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,20952.380952381],[2018,-8.557002431348],[2019,9.4781759664413],[2020,11.277844837046],[2021,16.451251138992],[2022,14.635097632322],[2023,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2016,null],[2017,53260.793650794],[2018,-12.1128861443],[2019,6.1116429739231],[2020,14.993233110209],[2021,5.343099460293],[2022,-0.8128109608221],[2023,null]], "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: 'FR00140006O9_marges_an', data: FR00140006O9_marges_an, height: "350", width: "100%" });