var FR0010481960_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,-14.956011730205],[2009,-55.626137303557],[2010,140.70216253371],[2011,84.503320388796],[2012,86.553004791502],[2013,85.666300626575],[2014,1443.1279620853],[2015,120.70013640947],[2016,1139.146567718],[2017,149.14071175506],[2018,188.55252371472],[2019,238.3537181508],[2020,221.98258304656],[2021,451.55041478298],[2022,70.351882850227],[2023,-109.54216762502]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-3.7371230919618],[2009,-88.092638544251],[2010,106.754613229],[2011,45.403157241665],[2012,50.108722843343],[2013,45.70118209418],[2014,967.06161137441],[2015,73.698179230176],[2016,1767.1428571429],[2017,121.20194595738],[2018,169.252839911],[2019,214.52642710349],[2020,195.84521384929],[2021,426.0136836937],[2022,57.256229000831],[2023,-143.45323662659]], "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: 'FR0010481960_marges_an', data: FR0010481960_marges_an, height: "350", width: "100%" });