var FR0000037640_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,4.6021424761026],[2011,3.5861609660956],[2012,-1.3222781063013],[2013,-3.7295741258149],[2014,3.8333840227088],[2015,0.6192138412506],[2016,61.538461538462],[2017,-3800],[2018,-44.82723343308],[2019,-5.2562988705474],[2020,-24.051128512206],[2021,14.659929925866],[2022,9.2000893212555],[2023,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,3.8516991306103],[2011,3.0193885109651],[2012,-2.6235119987093],[2013,-4.1550249767166],[2014,-0.5778588807786],[2015,-1.5128244043102],[2016,-2977.6923076923],[2017,-7775],[2018,-27.230875469961],[2019,8.7749782797567],[2020,-17.052049746661],[2021,8.2525074810905],[2022,5.6641326614822],[2023,null]], "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: 'FR0000037640_marges_an', data: FR0000037640_marges_an, height: "350", width: "100%" });