var FR0000054470_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,10.725135784544],[2010,-8.2778194944854],[2011,-7.7477845182928],[2012,6.9978123875545],[2013,-9.7253004774275],[2014,-9.7253004774275],[2015,9.8126466556241],[2016,12.050239890336],[2017,0.0101514873312],[2018,7425.7425742574],[2019,8.6146358591228],[2020,-3.7305520146022],[2021,13.013760230237],[2022,11.363636363636],[2023,-32.287934740671]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,6.5078275796228],[2010,-5.0142717066573],[2011,-5.0172021108444],[2012,5.1610299292131],[2013,-6.5065378168617],[2014,-6.5065378168617],[2015,6.7007317806279],[2016,7.3895133653187],[2017,0.0062251500381],[2018,3451.7821782178],[2019,5.4177083773588],[2020,-7.8769474633989],[2021,4.6362082921126],[2022,3.7220026350461],[2023,-27.2391555972]], "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: 'FR0000054470_marges_an', data: FR0000054470_marges_an, height: "350", width: "100%" });