var FR0000075392_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,5.4073513164592],[2009,6.0314407706694],[2010,5.6853520452914],[2011,3.2960468712922],[2012,3.0508079778716],[2013,3.3362131986442],[2014,2.1583354524649],[2015,-0.5718594632819],[2016,1.3075952581533],[2017,761.90476190476],[2018,0.0949485792879],[2019,0.5552339021739],[2020,6.0274832902194],[2021,3.1453118174237],[2022,1.22292241907],[2023,-6.9895547339796]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.0388420621423],[2009,3.1484879494689],[2010,3.4562191567215],[2011,1.0400386229921],[2012,1.212403552191],[2013,1.5480067217955],[2014,0.891851636575],[2015,-2.0114299733734],[2016,-0.4429861864089],[2017,-1002.8571428571],[2018,-1.467990997468],[2019,-1.2325109651406],[2020,3.4432615099362],[2021,0.0860459882713],[2022,0.3545021776562],[2023,-8.213916254545]], "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: 'FR0000075392_marges_an', data: FR0000075392_marges_an, height: "350", width: "100%" });