var FR0000054231_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,5.240037007847],[2009,7.0087945888642],[2010,7.9767031415461],[2011,6.2117146024153],[2012,7.4862346463363],[2013,-1.7946251427884],[2014,12.515519187359],[2015,13.992571959146],[2016,15.313348137182],[2017,14.713035019455],[2018,8.4324591843194],[2019,9.4818119228209],[2020,8.9271449406005],[2021,12.571935772541],[2022,5.0438884700251],[2023,147.57194244604]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.9770756947538],[2009,4.6242515640631],[2010,5.7197317331451],[2011,4.200455049297],[2012,4.5387850184547],[2013,-5.2696446822582],[2014,3.4226862302483],[2015,8.9839501260114],[2016,1.2521588946459],[2017,8.6600194552529],[2018,4.973844586779],[2019,5.3008017206553],[2020,3.131572968655],[2021,8.1419290063951],[2022,1.2409127695043],[2023,100]], "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: 'FR0000054231_marges_an', data: FR0000054231_marges_an, height: "350", width: "100%" });