var FR0004170017_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,6.4989039672584],[2009,6.5441395026256],[2010,8.3493365921788],[2011,7.5757986045294],[2012,6.9635655680712],[2013,6.2053860628682],[2014,6.4872786896292],[2015,7.479438253558],[2016,7.3388952395388],[2017,10.509784972216],[2018,7.8134831585805],[2019,10.326222862123],[2020,6.4611347411451],[2021,8.0946551954192],[2022,8.7581568308652],[2023,8.5562129373646]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.0131397220005],[2009,2.9693847220846],[2010,3.9009155803849],[2011,3.7504400335779],[2012,2.4046261530617],[2013,2.3799241138909],[2014,1.9740351625891],[2015,2.5006002570513],[2016,4.5518370921462],[2017,5.85189659338],[2018,3.9952780546476],[2019,3.9457431894821],[2020,1.3603581155372],[2021,3.4097567484467],[2022,3.544651096366],[2023,3.1802033732517]], "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: 'FR0004170017_marges_an', data: FR0004170017_marges_an, height: "350", width: "100%" });