var FR0000064297_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": [[2009,2.6678720094185],[2010,1.3879782175074],[2011,0.9601506549918],[2012,1.0322141560799],[2013,1.4212050800522],[2014,1.3337525875848],[2015,-1.4478484036543],[2016,-0.0944248958905],[2017,-3.7198674067827],[2018,588.23529411765],[2019,1.5903396114763],[2020,-0.3920111835609],[2021,5.6446542131947],[2022,1.1166326940531],[2023,1.6533986527863]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,1.352331497288],[2010,0.7695652473997],[2011,0.4824808588434],[2012,0.5118534482759],[2013,0.5888531686666],[2014,0.5860825057429],[2015,-1.2162249410853],[2016,-0.7005197404526],[2017,-5.74014867701],[2018,1268.8235294118],[2019,1.4396271948074],[2020,-0.6911518872259],[2021,5.6358991093672],[2022,0.8703932392019],[2023,0.8205756276791]], "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: 'FR0000064297_marges_an', data: FR0000064297_marges_an, height: "350", width: "100%" });