var FR0004159473_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,5.6384965343592],[2009,4.5924773205539],[2010,5.5832671265032],[2011,5.9918172741487],[2012,4.9753089487754],[2013,3.930972258794],[2014,3.1868400604275],[2015,2.3927299175312],[2016,3.9059693316059],[2017,7944.4444444444],[2018,4.4818780776919],[2019,3.2295616310783],[2020,3.2952140749427],[2021,3.2095860277988],[2022,-2.7088702647835],[2023,3.3873486919172]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.8010964354838],[2009,2.9082237149577],[2010,3.5722346610812],[2011,3.8844827911007],[2012,3.2423202132909],[2013,2.5648224160097],[2014,2.1946380464408],[2015,1.6570016384276],[2016,2.4687845946021],[2017,5320.1851851852],[2018,3.0976241680359],[2019,2.1938639754445],[2020,2.261412529457],[2021,2.166405369973],[2022,-3.1011210940006],[2023,3.2048028114018]], "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: 'FR0004159473_marges_an', data: FR0004159473_marges_an, height: "350", width: "100%" });