var FR0000066482_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": [[2006,5.2666950910181],[2007,7.0251937984496],[2008,6.4360418342719],[2009,5.7016834711973],[2010,6.1262184438077],[2011,4.3912890384879],[2012,4.6480805450276],[2013,4.406663623916],[2014,10.606951871658],[2015,4.2092313442133],[2016,3.928820797199],[2017,1487.8048780488],[2018,2.115609811704],[2019,1.9273646648095],[2020,3.15359198144],[2021,3.3729857819905],[2022,3.0199982454015],[2023,-3.993681809913]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2006,2.8913346678325],[2007,3.7913436692506],[2008,2.9054307173607],[2009,2.7227866848617],[2010,2.8300156239128],[2011,1.9139526972589],[2012,2.0903573836817],[2013,2.2968963943405],[2014,5.9839572192513],[2015,2.4038661185167],[2016,2.5880126693719],[2017,1022.9268292683],[2018,1.4622216234702],[2019,0.8789771527731],[2020,1.5953760708654],[2021,1.9052132701422],[2022,1.699036224104],[2023,-4.6090841730226]], "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: 'FR0000066482_marges_an', data: FR0000066482_marges_an, height: "350", width: "100%" });