var FR0000120859_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,8.3642583787545],[2009,5.8333633774381],[2010,11.978964352945],[2011,12.62381626211],[2012,12.322384678748],[2013,10.733989614885],[2014,11.788948538583],[2015,4.4265544326718],[2016,11.802554499184],[2017,47647.058823529],[2018,-1.9477124183007],[2019,5.3737512917671],[2020,3.6330130314598],[2021,7.9351652249843],[2022,7.4364723467862],[2023,2.8383934218849]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.6764467122811],[2009,1.4889858312002],[2010,7.1951474586907],[2011,7.6738870142593],[2012,7.4984555189456],[2013,6.54478580701],[2014,7.3640258120492],[2015,1.6737220740451],[2016,7.0296744454048],[2017,27073.529411765],[2018,12.191721132898],[2019,2.7856240670571],[2020,0.7924180597604],[2021,6.5516959096243],[2022,5.5399850523169],[2023,1.3519924098672]], "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: 'FR0000120859_marges_an', data: FR0000120859_marges_an, height: "350", width: "100%" });