var FR0000062796_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,18.079851101346],[2009,16.05796671732],[2010,10.436732028296],[2011,10.307444985543],[2012,9.4548264632104],[2013,10.39120153624],[2014,15.324029336703],[2015,6.9351788489349],[2016,6.9952882686553],[2017,3242.8571428571],[2018,7.7016537068598],[2019,7.4046426945835],[2020,7.3604747424244],[2021,9.1996985882111],[2022,10.168959424025],[2023,11.582617946483]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,5.9108147443253],[2009,6.748452614803],[2010,4.019932278547],[2011,2.5995324433662],[2012,2.050610552656],[2013,2.4897240164416],[2014,7.9982160112986],[2015,1.2880629165304],[2016,1.9936554904666],[2017,1239.2857142857],[2018,1.1064657008948],[2019,0.0276741010469],[2020,0.0963091071531],[2021,2.4889709177458],[2022,3.0377415467965],[2023,1.8165162014805]], "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: 'FR0000062796_marges_an', data: FR0000062796_marges_an, height: "350", width: "100%" });