var FR0000062150_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": [[2010,166.46752746194],[2011,140.37675289443],[2012,124.38212927757],[2013,93.750998370659],[2014,76.242500789391],[2015,993.97590361446],[2016,305.88235294118],[2017,278.64583333333],[2018,301.12359550562],[2019,407.26883765153],[2020,185.17623275029],[2021,404.15234556433],[2022,19.991637047878],[2023,-40.713402911288]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,115.90672576604],[2011,98.078025295174],[2012,91.971336648143],[2013,66.949937701671],[2014,34.786864540575],[2015,1396.8072289157],[2016,223.58823529412],[2017,471.45833333333],[2018,267.7367576244],[2019,353.1257428096],[2020,139.93144062582],[2021,359.47515095216],[2022,-21.630775663809],[2023,-89.292090085141]], "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: 'FR0000062150_marges_an', data: FR0000062150_marges_an, height: "350", width: "100%" });