var FR0010722819_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": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,null],[2015,null],[2016,null],[2017,-869.48571428571],[2018,-1144.3870967742],[2019,-903.47826086957],[2020,-1421.0067763795],[2021,-1280.8115543329],[2022,-119.59912270013],[2023,-62.967981725967]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,null],[2015,null],[2016,-716.05401350338],[2017,-782.05714285714],[2018,-1100.9032258065],[2019,-718.18181818182],[2020,-1144.0464666021],[2021,-1039.5460797799],[2022,-94.724016083831],[2023,-45.27469123853]], "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: 'FR0010722819_marges_an', data: FR0010722819_marges_an, height: "350", width: "100%" });