var FR0000035818_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.8844808784267],[2009,3.1221571267421],[2010,5.3602005870841],[2011,10.502232758145],[2012,10.593641331346],[2013,9.4440120634303],[2014,12.37516283109],[2015,15.488307644936],[2016,14.750719806031],[2017,285.71428571429],[2018,13.365795259638],[2019,11.918839021768],[2020,12.123911145947],[2021,12.412037730199],[2022,13.465880858183],[2023,10.035563271821]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-4.1815515361185],[2009,4.2101815800007],[2010,4.5070939334638],[2011,7.2771376591874],[2012,7.4540486835569],[2013,7.7536725362389],[2014,10.095527572731],[2015,11.073096464068],[2016,9.5847855735718],[2017,189.52380952381],[2018,10.179461500386],[2019,9.3532844473452],[2020,10.298020913123],[2021,10.690223087289],[2022,11.236138803802],[2023,8.3223656576405]], "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: 'FR0000035818_marges_an', data: FR0000035818_marges_an, height: "350", width: "100%" });