var FR0000063935_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,6.5155067525226],[2010,6.5292843178555],[2011,3.9944426355071],[2012,5.430588751511],[2013,3.4689630329859],[2014,5.5224242840139],[2015,4.8770236652259],[2016,4.8770236652259],[2017,4.378266874115],[2018,35428.571428571],[2019,4.1702915250331],[2020,3.5689766294906],[2021,2.5355653950324],[2022,2.4371087028571],[2023,2.7661643573738]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,1.7423155236822],[2010,3.740921486366],[2011,1.7633855890911],[2012,2.7473593833393],[2013,0.7922172296186],[2014,3.4932060850308],[2015,2.7277139539198],[2016,2.7277139539198],[2017,2.6165585721029],[2018,20695.714285714],[2019,2.6148311920263],[2020,1.9132152664911],[2021,2.641406531646],[2022,1.6080922178688],[2023,0.6026049155938]], "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: 'FR0000063935_marges_an', data: FR0000063935_marges_an, height: "350", width: "100%" });