var FR0013015583_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": [[2012,3.6129909108928],[2013,1.6140584232875],[2014,3.6788930375577],[2015,4.6977252924492],[2016,5.1475511570558],[2017,424.63768115942],[2018,3.6116981389324],[2019,4.0096309763648],[2020,-2.0033838920748],[2021,2.8047690014903],[2022,1.2343868121453],[2023,4.1592411078934]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,0.9230682107767],[2013,0.8006343684453],[2014,1.0059301559411],[2015,1.0863721473462],[2016,2.6260349811376],[2017,330],[2018,1.9892289862976],[2019,1.9753329074738],[2020,-6.0880111398925],[2021,1.5856929955291],[2022,1.1982804337279],[2023,3.8863518229747]], "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: 'FR0013015583_marges_an', data: FR0013015583_marges_an, height: "350", width: "100%" });