var FR0000031023_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": [[2008,14.030040933507],[2009,14.626657774707],[2010,14.675290697171],[2011,16.285532313101],[2012,12.559766335189],[2013,13.825507038238],[2014,11802.469135802],[2015,11520],[2016,13023.255813953],[2017,14.16393442623],[2018,12.062668617837],[2019,11.159628399308],[2020,8.924004187216],[2021,9.5022484141675],[2022,5.5471372072175],[2023,7.0345014597598]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,9.6639921395385],[2009,10.811489840444],[2010,9.8210681160952],[2011,10.700701306187],[2012,8.2264772993958],[2013,8.4429038503058],[2014,7420.987654321],[2015,7363.3333333333],[2016,8514.5348837209],[2017,9.0254621555633],[2018,7.353783628205],[2019,6.9181479438191],[2020,4.7846767318131],[2021,6.7622376658751],[2022,4.2505052942774],[2023,5.5764737362685]], "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: 'FR0000031023_marges_an', data: FR0000031023_marges_an, height: "350", width: "100%" });