var FR0000031684_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,null],[2011,null],[2012,14.379517436838],[2013,11.634703146879],[2014,19.100854547359],[2015,20.101729924798],[2016,24.257511186211],[2017,40655.737704918],[2018,27.282568921564],[2019,24.1324234452],[2020,21.162790568399],[2021,38.718873036039],[2022,32.701590412606]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,4.1342256837561],[2013,0.7541061454279],[2014,10.230266697739],[2015,14.596142142458],[2016,10.523158724509],[2017,15623.68852459],[2018,14.491356303898],[2019,12.963715762343],[2020,8.9225767969978],[2021,26.181727178118],[2022,20.423323173919]], "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: 'FR0000031684_marges_an', data: FR0000031684_marges_an, height: "350", width: "100%" });