var FR0000061780_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,-19.156070095527],[2009,-15.399478311274],[2010,13.230035756853],[2011,4.6439628482972],[2012,2.2198159177044],[2013,9.5367847411444],[2014,0.5031381295710],[2015,3.0043408727439],[2016,-29.62962962963],[2017,68.965517241379],[2018,8.745247148289],[2019,2.8151065801668],[2020,-3.476867335563],[2021,0.5621361172455],[2022,3.9008652295058]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-28.677168343139],[2009,-17.515215921167],[2010,13.331346841478],[2011,2.262443438914],[2012,3.7290200324851],[2013,3.55232616813],[2014,7.6300637999896],[2015,0.9081562714188],[2016,-84.074074074074],[2017,103.44827586207],[2018,6.9519323534419],[2019,3.9272474513438],[2020,-4.6683389074693],[2021,0.2476075754534],[2022,3.0307474214205]], "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: 'FR0000061780_marges_an', data: FR0000061780_marges_an, height: "350", width: "100%" });