var FR0007080254_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,-1.2429073223453],[2011,5.0061756986259],[2012,5.7171794782244],[2013,2.3578312366659],[2014,-8.375530872264],[2015,-16.210526315789],[2016,-1.3192612137203],[2017,28.913043478261],[2018,7.0836965998256],[2019,3.0109145652992],[2020,-188.90395042603],[2021,-17.129977460556],[2022,22.189822460776],[2023,21.24020616174]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-2.9901828334684],[2011,4.2226339354639],[2012,3.5204135088883],[2013,2.9941881850953],[2014,-5.7252531852336],[2015,-35.178947368421],[2016,-3.8786279683377],[2017,33.913043478261],[2018,9.9078341013825],[2019,2.4934136243884],[2020,-192.54453911696],[2021,4.5529676934636],[2022,18.223575557391],[2023,19.599232671551]], "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: 'FR0007080254_marges_an', data: FR0007080254_marges_an, height: "350", width: "100%" });