var FR0011800218_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": [[2010,null],[2011,null],[2012,-11.683336880187],[2013,0],[2014,-25.328728914863],[2015,-52.428049541121],[2016,-54.42183431382],[2017,-33.90522875817],[2018,-14.696485623003],[2019,-9.8013676326929],[2020,-2.9214237743452],[2021,-1.4786885245902],[2022,-5.9511158342189],[2023,-9.4324540367706]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,5.8735901255586],[2013,-3.3050725678977],[2014,-22.951255146766],[2015,-52.232023523122],[2016,-54.51827562928],[2017,-35.62091503268],[2018,-16.879659211928],[2019,-11.820253988929],[2020,0.6044325050369],[2021,-5.3114754098361],[2022,12.8232376904],[2023,-8.1534772182254]], "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: 'FR0011800218_marges_an', data: FR0011800218_marges_an, height: "350", width: "100%" });