var FR0004163111_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": [[2010,-100.30124426981],[2011,-114.45658594211],[2012,-129.00852700217],[2013,-180.77716643741],[2014,-258.29093085902],[2015,-3354.0796963947],[2016,-12027.464788732],[2017,-52.018348623853],[2018,-100701.44927536],[2019,-187.52877849476],[2020,-10836.209150327],[2021,39.735727934656],[2022,-135.12750680862],[2023,-93.050936460704]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-122.85527177472],[2011,-142.97105729474],[2012,-90.486540712255],[2013,-217.53782668501],[2014,-254.78898533373],[2015,-3251.4231499051],[2016,-11854.577464789],[2017,-53.765137614679],[2018,-115247.82608696],[2019,-211.23901553228],[2020,-13231.503267974],[2021,84.001298879716],[2022,-117.44986382768],[2023,-101.15175914581]], "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: 'FR0004163111_marges_an', data: FR0004163111_marges_an, height: "350", width: "100%" });