var FR0010397901_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": [[2009,17.659830603207],[2010,19.323431971333],[2011,16.600018094635],[2012,12.394394054986],[2013,7.4749772520473],[2014,6.1551999284106],[2015,2.3214285714286],[2016,171.05263157895],[2017,-310.10101010101],[2018,-24.403341288783],[2019,-5.4130162703379],[2020,-12.879109676323],[2021,1.0795504822582],[2022,0.7258593237801],[2023,-1.9200432685807]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,11.472978201986],[2010,13.574181334656],[2011,11.511806749299],[2012,8.6434404227063],[2013,5.2107976948741],[2014,5.624244955182],[2015,1.9232142857143],[2016,141.71052631579],[2017,-333.33333333333],[2018,-26.431980906921],[2019,-5.6007509386733],[2020,-12.237702828986],[2021,-1.375984426157],[2022,2.2993350192001],[2023,-2.8575291837563]], "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: 'FR0010397901_marges_an', data: FR0010397901_marges_an, height: "350", width: "100%" });