var FR0000050809_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.8310784548955],[2009,5.7715663813295],[2010,9.3428202408254],[2011,9.3246434216289],[2012,7.5030676510546],[2013,7.7053658464264],[2014,6.5001425219813],[2015,4.2573373507421],[2016,6.4202282629033],[2017,35432.098765432],[2018,5.5331721729788],[2019,6.3870094722598],[2020,4.7455957212226],[2021,6.4790296403861],[2022,7.0826472202619],[2023,5.6827381875183]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,5.1526502974385],[2009,2.4893512608052],[2010,6.3910118275774],[2011,5.9863271951707],[2012,4.5695467108945],[2013,5.2935703987042],[2014,4.4512465191747],[2015,2.3546479187591],[2016,4.0199930505439],[2017,21160.49382716],[2018,3.0547212658413],[2019,3.6152458276951],[2020,2.5053367425931],[2021,4.0082856410694],[2022,4.8576805457539],[2023,3.1643498182695]], "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: 'FR0000050809_marges_an', data: FR0000050809_marges_an, height: "350", width: "100%" });