var FR0000133308_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,19.204307508226],[2009,17.105606825701],[2010,16.618684482342],[2011,17.554166574641],[2012,9.3370102263587],[2013,12.903540665186],[2014,12.133350234504],[2015,11.879908539616],[2016,10.076250061098],[2017,635425.53191489],[2018,11.669606824388],[2019,14.013447606421],[2020,13.061272770286],[2021,5.928695733973],[2022,11.04414437211],[2023,11.261955487059]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,7.607313790009],[2009,6.5231586278948],[2010,10.724567610927],[2011,8.6026017624843],[2012,1.8844076755142],[2013,4.5704106781191],[2014,2.3450373938395],[2015,6.5911124366239],[2016,7.172882350066],[2017,202765.95744681],[2018,4.7219738527343],[2019,7.1168142430986],[2020,11.407617695765],[2021,0.5479516485584],[2022,4.9366244162775],[2023,5.5301210280586]], "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: 'FR0000133308_marges_an', data: FR0000133308_marges_an, height: "350", width: "100%" });