var FR0000062184_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,-226.20366425224],[2009,-388.86233269598],[2010,-197.2465034965],[2011,-76.03993344426],[2012,-91.538052155402],[2013,-264.06619385343],[2014,-237.47126436782],[2015,-9.7457627118644],[2016,-7.3720136518771],[2017,-3.3482142857143],[2018,-264.83180428135],[2019,-192.02401372213],[2020,-255.13126491647],[2021,-331.01361573374],[2022,-234.92063492063],[2023,-266.66666666667]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-95.440988495952],[2009,-216.96940726577],[2010,-134.44055944056],[2011,-4.242928452579],[2012,36.349121873337],[2013,160.75650118203],[2014,181.49425287356],[2015,2.521186440678],[2016,8.4163822525597],[2017,1.077380952381],[2018,74.108053007136],[2019,60.205831903945],[2020,-66.706443914081],[2021,9151.5885022693],[2022,-1639.5767195767],[2023,2077.7777777778]], "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: 'FR0000062184_marges_an', data: FR0000062184_marges_an, height: "350", width: "100%" });