var FR0000036816_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,42.843122184252],[2009,-29.702721387719],[2010,72.813462076686],[2011,62.88237723838],[2012,27.555814546382],[2013,12.609542356378],[2014,29.563332301022],[2015,315.78947368421],[2016,300.71599045346],[2017,267.87512588117],[2018,-3.9870914012076],[2019,23.59994226566],[2020,32.95245274891],[2021,17.852881764379],[2022,-21.313647548741],[2023,-15.308540972364]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-19.803947072804],[2009,-62.971110133451],[2010,49.54636626551],[2011,35.656145977598],[2012,-7.3703123672166],[2013,-2.5586930650222],[2014,-1.4818829358935],[2015,159.55070603338],[2016,203.97374701671],[2017,173.98791540785],[2018,-21.926771958002],[2019,1.4495443111056],[2020,11.509342523289],[2021,3.2591875066448],[2022,4.7830304751088],[2023,-56.794638882539]], "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: 'FR0000036816_marges_an', data: FR0000036816_marges_an, height: "350", width: "100%" });