var CH0308403085_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": [[2012,null],[2013,null],[2014,30.109439124487],[2015,-170.1968503937],[2016,null],[2017,-102.86738351254],[2018,-108.388047702],[2019,null],[2020,null],[2021,null],[2022,null],[2023,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,null],[2013,null],[2014,24.295485636115],[2015,-176.65354330709],[2016,null],[2017,-104.60573476703],[2018,-111.59051319845],[2019,null],[2020,null],[2021,null],[2022,null],[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: 'CH0308403085_marges_an', data: CH0308403085_marges_an, height: "350", width: "100%" });