如何在服务器端创建Ext.Net图表

时间:2015-10-29 12:01:37

标签: javascript extjs charts server-side ext.net

我需要在服务器端创建一个图表。它必须是这种方式,因为它将是一个动态数量的图表。我找不到任何可以帮助我的东西。

简而言之,我需要在服务器端实现这个例子:

http://examples2.ext.net/#/Chart/Line/Basic/

这样的事情:

public class GraficoMovimentacaoDiaria : Chart
    {
        public GraficoMovimentacaoDiaria(int[] dias, int ultimodia, string StoreId)
        {
            this.StyleSpec = "background:#fff;";
            this.Shadow = true;
            this.Animate = true;
            this.StandardTheme = StandardChartTheme.Category1;
            this.LegendConfig = new ChartLegend { Position = LegendPosition.Right };
            this.Store = ?????


        }
    }

1 个答案:

答案 0 :(得分:1)

请使用:

this.Store.Add(new Store());

相关Ext.NET forum thread