var FR0000075954_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,-4.5818181818182],[2009,3.3200989700213],[2010,7.7913311797888],[2011,15.004833586521],[2012,7.2114506882828],[2013,0.9502705927473],[2014,-23.161321437184],[2015,-50.160570220099],[2016,-6.6853044852316],[2017,0],[2018,0.0031953986260],[2019,2.743611177454],[2020,2.2857331877874],[2021,4.0593837175746],[2022,-0.0287397614600],[2023,10.038265306122]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-5.3090909090909],[2009,2.4569883192359],[2010,8.5675714767851],[2011,14.811490125673],[2012,7.0252309489904],[2013,1.0056675331316],[2014,-22.914154810707],[2015,-49.839429779901],[2016,-6.6427616385074],[2017,159.45525291829],[2018,0.9586195877936],[2019,3.2809887747791],[2020,0.8600443253614],[2021,4.7070894924167],[2022,0.6179048713896],[2023,8.6658163265306]], "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: 'FR0000075954_marges_an', data: FR0000075954_marges_an, height: "350", width: "100%" });