var FR0010908723_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,-117.0796460177],[2009,-100.85318165659],[2010,-87.5],[2011,-51.667025166703],[2012,-49.947268508753],[2013,-53.494822485207],[2014,-28.180914512922],[2015,-60.15625],[2016,-65.441176470588],[2017,-76.284584980237],[2018,-17.032649523259],[2019,-4.3840579710145],[2020,-2.8285077951002],[2021,-0.3797244789827],[2022,-1.0556694767221],[2023,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-133.89380530973],[2009,-97.191610380377],[2010,-90.274314214464],[2011,-43.88040438804],[2012,-36.405821556634],[2013,-47.078402366864],[2014,-17.296222664016],[2015,-39.947916666667],[2016,-60.698529411765],[2017,-34.071146245059],[2018,-16.469228546663],[2019,-3.4420289855072],[2020,-4.1759465478842],[2021,0.1324620275521],[2022,-0.0303789777474],[2023,null]], "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: 'FR0010908723_marges_an', data: FR0010908723_marges_an, height: "350", width: "100%" });