var FR0000075343_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": [[2009,-4.0346314953518],[2010,3.3339567941644],[2011,-0.9019542341740],[2012,3.0483951214921],[2013,4.6054631232573],[2014,5.4028189809562],[2015,4.7025774281902],[2016,1.7668134452862],[2017,-33.333333333333],[2018,-8.1181700314873],[2019,-3.6715101193565],[2020,14.830747276497],[2021,3.305600486144],[2022,-10.444235276747],[2023,-16.764705882353]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,-3.8680141391177],[2010,1.3014744848655],[2011,-1.2360113579422],[2012,1.4509123670445],[2013,2.9033579574738],[2014,3.4902319985782],[2015,3.4735585364141],[2016,1.3770751852966],[2017,-54.074074074074],[2018,-6.4548990553806],[2019,-4.7353399065906],[2020,11.718172370469],[2021,2.0160677741933],[2022,-10.948083347175],[2023,null]], "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: 'FR0000075343_marges_an', data: FR0000075343_marges_an, height: "350", width: "100%" });