var FR0010331421_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,-85.159393376664],[2009,-201.33488854329],[2010,-316.89814814815],[2011,-64.480408858603],[2012,-23.708164122672],[2013,-16.772760028825],[2014,-261.9178800997],[2015,-42.846346605147],[2016,11.519909922247],[2017,-645.16129032258],[2018,6.441195614079],[2019,-39.220575869168],[2020,1.9214673671089],[2021,-394.85634081902],[2022,-115.8229124647],[2023,-24.40993429799]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-76.230269266481],[2009,-189.55417314671],[2010,-316.15740740741],[2011,-59.454855195911],[2012,-22.39882369416],[2013,-17.367283209224],[2014,-257.73317591499],[2015,-26.67356111531],[2016,19.232817516471],[2017,-780.40322580645],[2018,3.8164021428929],[2019,-30.096848087685],[2020,-113.94176831983],[2021,-436.00561426684],[2022,-117.19039935458],[2023,-14.585460781102]], "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: 'FR0010331421_marges_an', data: FR0010331421_marges_an, height: "350", width: "100%" });