var FR0000035719_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,-9.3542285868684],[2009,16.203804942051],[2010,-851.5923566879],[2011,-53.583833280707],[2012,-373.94054395952],[2013,174.62630085147],[2014,29.490291262136],[2015,2.529658060014],[2016,-16.694701429773],[2017,-357.27170236753],[2018,-1252.7272727273],[2019,-1127.4509803922],[2020,-2441.3793103448],[2021,-2892.8571428571],[2022,-2158.5526315789],[2023,164.3115942029]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-22.383139691975],[2009,-6.6404256870034],[2010,-177.07006369427],[2011,324.21850331544],[2012,-938.11933375501],[2013,-129.34720908231],[2014,6.2760055478502],[2015,3.2187718073971],[2016,-17.788057190917],[2017,-758.51183765502],[2018,-837.57575757576],[2019,-1165.3594771242],[2020,-2735.632183908],[2021,-2535.7142857143],[2022,-1523.6842105263],[2023,1473.5507246377]], "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: 'FR0000035719_marges_an', data: FR0000035719_marges_an, height: "350", width: "100%" });