var FR0000065484_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": [[2005,-5.2723286789112],[2006,6.519264407815],[2007,4.7149816452335],[2008,3.5132966239849],[2009,-3.0505199527375],[2010,13.183561931788],[2011,14.045055676151],[2012,9.9850833518112],[2013,13.736750857008],[2014,9.3599765302646],[2015,13.376154964983],[2016,14.329917512934],[2017,1374.1258741259],[2018,14.244509091939],[2019,14.602014834496],[2020,10.523240551778],[2021,9.870401952614],[2022,12.350412121073],[2023,10.144918432343]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,-5.8372041269526],[2006,5.6159705318883],[2007,2.6832590677164],[2008,1.6342557776847],[2009,-2.365083198966],[2010,8.2227127016659],[2011,9.3224166314593],[2012,6.8757685097462],[2013,10.724910358958],[2014,6.791554680698],[2015,9.8269759464618],[2016,10.248229949032],[2017,1023.2167832168],[2018,10.171363047587],[2019,10.465211786175],[2020,7.4218187668832],[2021,7.290051421244],[2022,8.5041403702384],[2023,7.0991396187856]], "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: 'FR0000065484_marges_an', data: FR0000065484_marges_an, height: "350", width: "100%" });