var FR0000076655_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": [[2005,null],[2006,null],[2007,null],[2008,4.5099457642948],[2009,0.1787973198282],[2010,1.4500856924068],[2011,5.9325221791308],[2012,3.588253605894],[2013,5.4114043898503],[2014,6.2816827648701],[2015,5.1814232649892],[2016,6.1070594558529],[2017,6187.5],[2018,2.0093595232099],[2019,3.1275941583397],[2020,-1.5634084447312],[2021,1.2847884102173],[2022,1.9650641916968],[2023,2.6583808044191]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,null],[2007,null],[2008,1.7438099721741],[2009,-1.0683139859734],[2010,-1.3054417717057],[2011,2.6178864495081],[2012,1.5260627442842],[2013,3.4789481483921],[2014,4.1880827201502],[2015,4.0109336635118],[2016,4.8451516050115],[2017,2582.5],[2018,1.8943591035004],[2019,1.6533435818601],[2020,-4.3418385610349],[2021,-1.430557735866],[2022,3.9913490759877],[2023,1.3809770412567]], "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: 'FR0000076655_marges_an', data: FR0000076655_marges_an, height: "350", width: "100%" });