var FR0010291245_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,-27.046008692887],[2009,-45.401990811639],[2010,-16.137272519071],[2011,-16.14997331179],[2012,-30.543326254726],[2013,-17.957006746361],[2014,-1.6660115772172],[2015,-61.713683268905],[2016,4.2311314408718],[2017,196.68367346939],[2018,2.9219896711063],[2019,3.0666377648227],[2020,12.411677925305],[2021,9.0755485010624],[2022,-18.859242410988],[2023,-13.491351467738]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-27.459450863988],[2009,-42.132465543645],[2010,-17.657629089372],[2011,-15.206509037926],[2012,-30.713385473317],[2013,-17.82385489407],[2014,-4.0055742156793],[2015,-63.593814894093],[2016,24.714112740482],[2017,-22.908163265306],[2018,8.1217722207122],[2019,27.76516491164],[2020,-10.9674664182],[2021,4.1575996518266],[2022,-28.863616481498],[2023,-23.189549989234]], "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: 'FR0010291245_marges_an', data: FR0010291245_marges_an, height: "350", width: "100%" });