var FR0004187367_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": [[2010,0.8753517038096],[2011,-0.9203617560742],[2012,0.3051473540512],[2013,0.2821379789068],[2014,0.5065486241044],[2015,-0.3668103563683],[2016,1.9969173579945],[2017,0],[2018,3.0728087325729],[2019,3.2998734711092],[2020,2.7447795038413],[2021,2.7470581446712],[2022,3.0816529297449],[2023,3.0313629474175]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-0.0759233620651],[2011,-2.6812274152009],[2012,-1.1121818035815],[2013,-0.4209677780515],[2014,-0.4791676173961],[2015,-7.1380759859702],[2016,0.6709279659096],[2017,729.66666666667],[2018,2.3696000767137],[2019,2.4900885702235],[2020,2.5463283459019],[2021,1.9642878461679],[2022,2.2588123551062],[2023,1.6905677975982]], "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: 'FR0004187367_marges_an', data: FR0004187367_marges_an, height: "350", width: "100%" });