var FR0000036675_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,3.0574817034137],[2009,1.2164796319256],[2010,2.862515638827],[2011,3.1745454521411],[2012,2.7286112926845],[2013,4.4657631455521],[2014,4.8500354846112],[2015,5.2728705754636],[2016,4.8998517202272],[2017,38484.848484848],[2018,5.0304677295847],[2019,5.1904354503812],[2020,1.253874121723],[2021,3.7024536738196],[2022,4.3346998973258],[2023,3.8218584785434]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.725436475479],[2009,0.6567056699285],[2010,1.0651948368985],[2011,1.3088809649592],[2012,0.6647374404555],[2013,2.5866034805004],[2014,3.5765420467571],[2015,3.78845010874],[2016,3.5148971993722],[2017,25693.03030303],[2018,3.6400360737278],[2019,2.9327931376611],[2020,0.0888693557685],[2021,2.1680219468804],[2022,2.9074900803204],[2023,2.871145256331]], "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: 'FR0000036675_marges_an', data: FR0000036675_marges_an, height: "350", width: "100%" });