var FR0010557264_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,-799500],[2009,-2625.6329113924],[2010,-1045.6924754635],[2011,-880.07246376812],[2012,-792.01492537313],[2013,-712.46766683911],[2014,-724.29728442115],[2015,-1136.7775831874],[2016,-8.7536231884058],[2017,-14.27135678392],[2018,-1701.5873015873],[2019,-1112.2851686824],[2020,-931.71193935565],[2021,-859.24082140635],[2022,-1663.5699373695]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-744900],[2009,-2566.4556962025],[2010,-1034.7873500545],[2011,-874.1847826087],[2012,-819.77611940299],[2013,-755.87170201759],[2014,-767.6036207718],[2015,-1169.7022767075],[2016,-8.0278260869565],[2017,-13.629145728643],[2018,-1532.0987654321],[2019,-1384.2775302355],[2020,-950.41061276058],[2021,-900],[2022,-1421.1899791232]], "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: 'FR0010557264_marges_an', data: FR0010557264_marges_an, height: "350", width: "100%" });