var FR0014000P11_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": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,null],[2015,null],[2017,null],[2018,0.8494150957455],[2019,-0.1670487667193],[2020,0.6584270572053],[2021,2.0015546055188],[2022,0.8523508386032],[2023,-1.8168604651163]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,null],[2015,null],[2017,null],[2018,0.1328763380771],[2019,-5.3305837490351],[2020,0.4966016668015],[2021,1.2890270760461],[2022,0.4956771453884],[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: 'FR0014000P11_marges_an', data: FR0014000P11_marges_an, height: "350", width: "100%" });