var FR0013018124_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,-2356.1273051755],[2009,-5539.3208221626],[2010,-592.71184157349],[2011,null],[2012,-114.8804833202],[2013,-2352.8781793842],[2014,-364.07556001337],[2015,-290.07327110308],[2016,-48650],[2017,-14.230769230769],[2018,-438.15984736061],[2019,-267.42523705325],[2020,-52.374680405981],[2021,-636.11226323794],[2022,-1041.3023540202]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-2197.7096966092],[2009,-5393.2082216265],[2010,-592.0921460326],[2011,null],[2012,-133.81928027318],[2013,-2381.9277108434],[2014,-267.38548980274],[2015,-280.4275820536],[2016,-118968.75],[2017,-2.7830769230769],[2018,-389.88764044944],[2019,-276.03209336251],[2020,-140.21848609282],[2021,-605.01866445458],[2022,-848.63955976766]], "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: 'FR0013018124_marges_an', data: FR0013018124_marges_an, height: "350", width: "100%" });