简体   繁体   English

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

[英]How to create Ext.Net Charts in Server Side

I need to create a chart in server side.我需要在服务器端创建一个图表。 It has to be this way because it will be a dynamic number of charts.必须如此,因为它将是一个动态数量的图表。 I did not find anything that could help me.我没有找到任何可以帮助我的东西。

In short, I need to implement this example in server side :简而言之,我需要在服务器端实现这个例子:

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

Something like this:像这样的东西:

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 = ?????


        }
    }

Please use:请用:

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

Related Ext.NET forum thread .相关Ext.NET 论坛主题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM