var FR0000033003_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,9.4067478424827],[2009,11.560793606405],[2010,9.9102823147361],[2011,9.3745347126683],[2012,8.1126077556106],[2013,2.1041510384754],[2014,1.0887504588173],[2015,-3.7675166551803],[2016,1.2090086019254],[2017,1948.7179487179],[2018,5.2919648507068],[2019,9.0581553322521],[2020,14.393008329919],[2021,22.9696],[2022,19.247678018576],[2023,14.481555206452]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.6151274230104],[2009,5.2223922994275],[2010,4.3899825723479],[2011,4.0004288088049],[2012,2.554848513629],[2013,-4.3815244716001],[2014,-3.4054149689325],[2015,-6.8788766368022],[2016,-3.1914190146084],[2017,-4625.641025641],[2018,-2.7125234035058],[2019,-1.6147276568494],[2020,3.6385981900115],[2021,10.0416],[2022,4.6235294117647],[2023,1.8421766340363]], "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: 'FR0000033003_marges_an', data: FR0000033003_marges_an, height: "350", width: "100%" });