var FR0000035784_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,0.7848875881336],[2009,-31.630170316302],[2010,-27.274590163934],[2011,-4.8575602629657],[2012,1.3402228322299],[2013,-3.7716615698267],[2014,-2.7617212588311],[2015,1.5662145154524],[2016,5.332776385408],[2017,-17.129091211165],[2018,-4.4293015332198],[2019,-2.184428147917],[2020,-37.966417910448],[2021,28757.723577236],[2022,4357.2147651007],[2023,-1138.2445141066]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,5.0685113742184],[2009,-19.277559423545],[2010,-22.19262295082],[2011,-5.0766983199416],[2012,-0.3552397868561],[2013,-8.7835541963982],[2014,-2.4405908798972],[2015,1.4543420500629],[2016,-4.7619047619048],[2017,-11.148031234424],[2018,-5.1107325383305],[2019,-0.4680917459822],[2020,-100.09328358209],[2021,25194.308943089],[2022,3630.5369127517],[2023,-803.0303030303]], "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: 'FR0000035784_marges_an', data: FR0000035784_marges_an, height: "350", width: "100%" });