var FR0012650166_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": [[2012,-526.62440570523],[2013,-248.83333333333],[2014,-26.246719160105],[2015,-3001.1267605634],[2016,-119.52595936795],[2017,-31.524008350731],[2018,-76.558780001287],[2019,-76.651087177403],[2020,-135.71031672532],[2021,-100.22254127782],[2022,-30.668615272196],[2023,-13.00646630906]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,-542.07606973059],[2013,-256.5],[2014,-38.451443569554],[2015,-2985.0704225352],[2016,-120.73927765237],[2017,-94.050104384134],[2018,-56.206164339489],[2019,-74.395448079659],[2020,-137.20133358029],[2021,-97.677674084709],[2022,-23.49104859335],[2023,-15.601072819458]], "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: 'FR0012650166_marges_an', data: FR0012650166_marges_an, height: "350", width: "100%" });