var FR0010766667_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,5.7915528252963],[2015,7.3897275347943],[2016,8.1240136285196],[2017,6.104533791792],[2018,0],[2019,5.1092910428296],[2020,6.5114596304648],[2021,11.840060686887],[2022,3.0472285560878],[2023,6.4173199230883]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,3.6667072725058],[2015,4.7208704007935],[2016,4.7272083659051],[2017,3.5035621719481],[2018,384.42857142857],[2019,2.9318169961918],[2020,3.9494497358059],[2021,8.697434266068],[2022,1.9120138903416],[2023,4.3749691860178]], "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: 'FR0010766667_marges_an', data: FR0010766667_marges_an, height: "350", width: "100%" });