var FR0000064578_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,14.058989033563],[2009,12.869128278604],[2010,5.3475233215083],[2011,107.11261179975],[2012,77.799021338187],[2013,86.416583429792],[2014,100.32020818673],[2015,125.13057241728],[2016,160.05226640858],[2017,9698.1627296588],[2018,168.27163598948],[2019,231.10997048633],[2020,87.249952701549],[2021,170.79788112067],[2022,89.381565397067],[2023,-180.22908968401]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-50.854808244977],[2009,-26.441526206128],[2010,-34.436999080279],[2011,44.415794677328],[2012,-3.4795114826766],[2013,40.882346931294],[2014,13.534879045156],[2015,54.39494950522],[2016,87.682781209184],[2017,11996.220472441],[2018,85.69498113639],[2019,95.853586552034],[2020,41.503467783987],[2021,106.61312906395],[2022,68.510708281962],[2023,-151.74089978128]], "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: 'FR0000064578_marges_an', data: FR0000064578_marges_an, height: "350", width: "100%" });