var FR0000120321_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,14.639151750086],[2009,13.163166027585],[2010,14.895363151416],[2011,15.71056383031],[2012,15.906156791168],[2013,16.275689179426],[2014,15.90404757678],[2015,16.60622233484],[2016,15.466519075283],[2017,117487.43718593],[2018,17.920437755685],[2019,17.108751539821],[2020,16.075964289925],[2021,17.741795611938],[2022,18.858564685342],[2023,18.681235961877]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,11.104777106373],[2009,10.255823270188],[2010,11.489536315142],[2011,11.984466401219],[2012,12.763210613008],[2013,12.874837878537],[2014,21.792117876797],[2015,13.055183827314],[2016,12.020698917448],[2017,89984.924623116],[2018,14.46093535382],[2019,12.552889507793],[2020,12.730020255715],[2021,14.23797371127],[2022,14.915082356262],[2023,15.016086930128]], "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: 'FR0000120321_marges_an', data: FR0000120321_marges_an, height: "350", width: "100%" });