var FR0011184241_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,-462800],[2009,-20945.454545455],[2010,-4177.4774774775],[2011,-391.61831076725],[2012,-151.93992490613],[2013,-76.986399427344],[2014,-2437.6420454545],[2015,27.352718215291],[2016,-58.394160583942],[2017,-224.72527472527],[2018,460.18957345972],[2019,-1027.5781614559],[2020,-2514.6254458977],[2021,-1341.135734072],[2022,-14.833580850878],[2023,-662.51162790698]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-438400],[2009,-21118.181818182],[2010,-4262.1621621622],[2011,-416.11863313991],[2012,-150.06257822278],[2013,-76.825340014316],[2014,-2942.4715909091],[2015,33.985813298679],[2016,-57.605839416058],[2017,-234.89010989011],[2018,360.90047393365],[2019,-868.08212785814],[2020,-2773.3650416171],[2021,-1575.7617728532],[2022,-60.286537957543],[2023,-984.27906976744]], "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: 'FR0011184241_marges_an', data: FR0011184241_marges_an, height: "350", width: "100%" });