var FR0005175080_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,-492.02151501569],[2009,-232.34169145771],[2010,-245.21683673469],[2011,-310.31427384743],[2012,-322.60163846566],[2013,-261.82395932634],[2014,-399.35330156569],[2015,-374.35441714584],[2016,-259.67002749771],[2017,-129.62962962963],[2018,104.00903444382],[2019,-169.16328836313],[2020,-256.80188376325],[2021,-138.26848477724],[2022,-298.98020395921],[2023,-393.59444589992]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-403.40654415061],[2009,-232.44368890778],[2010,-242.48157596372],[2011,-301.99363145507],[2012,-330.77865400812],[2013,-272.37368922784],[2014,-413.17222600408],[2015,-484.83010977522],[2016,-288.8061411549],[2017,-149.41666666667],[2018,113.29757199322],[2019,-124.96843224563],[2020,-184.42684362624],[2021,-114.82308686964],[2022,-327.97440511898],[2023,-292.48100602567]], "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: 'FR0005175080_marges_an', data: FR0005175080_marges_an, height: "350", width: "100%" });