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": [[2009,-12.883833890398],[2010,4.6021424761026],[2011,3.5861609660956],[2012,-1.3222781063013],[2013,-3.7295741258149],[2014,3.8333840227088],[2015,1.3618157543391],[2016,-0.5279746250979],[2017,-7.9624882688294],[2018,-44.820971867008],[2019,-5.2543550979626],[2020,-23.963133640553],[2021,14.659929925866],[2022,9.2000893212555],[2023,6.4740270248402],[2024,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,-12.44299099879],[2010,3.8516991306103],[2011,3.0193885109651],[2012,-2.6235119987093],[2013,-4.1550249767166],[2014,-0.5778588807786],[2015,-3.3271028037383],[2016,-2.5903545928439],[2017,-8.7153842921377],[2018,-27.225063938619],[2019,8.7840479603806],[2020,-17.05069124424],[2021,8.2525074810905],[2022,5.6641326614822],[2023,3.5004854761712],[2024,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%" });