var FR0000072373_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,-5.7158173350756],[2009,-12.485125858124],[2010,2.7566386010363],[2011,2.9553903345725],[2012,-2.6171875],[2013,-3.2571372510546],[2014,-4.6827264987229],[2015,-7.2021757078335],[2016,-6.6753867664968],[2017,-153.57142857143],[2018,-4.808570978415],[2019,-6.8596601636249],[2020,6.5759183264938],[2021,4.3122886133033],[2022,3.8160532953884],[2023,-5.6115499863797]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-7.5820015411934],[2009,-13.725400457666],[2010,2.6594883419689],[2011,2.5018587360595],[2012,-3.3828125],[2013,-2.5311488276268],[2014,-4.3221315170031],[2015,-6.6922441843524],[2016,-6.2243471201119],[2017,-91.071428571429],[2018,-7.1876477075784],[2019,-8.8420390182505],[2020,3.286290995229],[2021,1.4162908680947],[2022,-36.375396158075],[2023,-8.499046581313]], "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: 'FR0000072373_marges_an', data: FR0000072373_marges_an, height: "350", width: "100%" });