var FR0010501692_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": [[2007,null],[2008,5.6159746479888],[2009,-7.715173025732],[2010,-3.9962079778313],[2011,-7.8585995921142],[2012,4.9614269646902],[2013,7.1678710957268],[2014,6.1137405433608],[2015,3.9205275327567],[2016,2.3300477755028],[2017,2.3300477755028],[2018,3.0770762796256],[2019,6.9284064665127],[2020,11.673962636414],[2021,8.86413476874],[2022,7.3914535578619]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2007,null],[2008,2.5640102272318],[2009,-5.4362614611062],[2010,-4.0210019689346],[2011,-8.6094115869779],[2012,2.5836805170529],[2013,7.4897269286047],[2014,1.5708269667946],[2015,2.1255459450201],[2016,-0.2872879069251],[2017,-0.2872879069251],[2018,0.8535579139045],[2019,2.9853472684333],[2020,4.2024785745114],[2021,6.2437699362041],[2022,4.0377264712495]], "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: 'FR0010501692_marges_an', data: FR0010501692_marges_an, height: "350", width: "100%" });