var FR0000039299_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": [[2005,null],[2006,null],[2007,null],[2008,1.6898188784557],[2009,2.8894722946673],[2010,3.4710169436159],[2011,3.4127072367197],[2012,4.0000051051278],[2013,5.5828788691218],[2014,6.1290979683564],[2015,6.4763488543976],[2016,6.223946960975],[2017,156111.11111111],[2018,5.6509615885756],[2019,5.0685493934003],[2020,3.4170312219093],[2021,2.6892705616519],[2022,5.9859774700774],[2023,5.6142402865602]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,null],[2007,null],[2008,0.6872358740839],[2009,1.571519047463],[2010,4.519823897889],[2011,3.7660302087078],[2012,6.5719783263761],[2013,2.4901901085027],[2014,2.0619065178008],[2015,5.2124907612712],[2016,4.3669855889476],[2017,97138.888888889],[2018,1.022393634579],[2019,0.9555857893847],[2020,2.5504884041469],[2021,36.429850602757],[2022,24.933994367519],[2023,1.9627910376841]], "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: 'FR0000039299_marges_an', data: FR0000039299_marges_an, height: "350", width: "100%" });