var FR0000121709_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,8.6434276515386],[2009,7.8109750338444],[2010,9.5569308286325],[2011,10.105215350844],[2012,9.0548562701677],[2013,8.742460288852],[2014,7.3757964778632],[2015,7.7845566807137],[2016,8.5265115906954],[2017,52796.610169492],[2018,9.1835236781069],[2019,8.437699723956],[2020,7.2521613832853],[2021,8.8698069191443],[2022,6.8721182959157],[2023,8.337496877342]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.6932078509071],[2009,4.5933948304631],[2010,6.0353798126951],[2011,5.9193096661873],[2012,4.7836046998547],[2013,4.8013841828275],[2014,3.9970844795561],[2015,4.3168333438162],[2016,5.1723103386203],[2017,31779.661016949],[2018,6.1507295734124],[2019,5.1632467126287],[2020,4.3299711815562],[2021,5.6311113317119],[2022,3.9725115268163],[2023,4.8238820884337]], "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: 'FR0000121709_marges_an', data: FR0000121709_marges_an, height: "350", width: "100%" });