Reputation: 309
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/
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 = ?????
}
}
Upvotes: 2
Views: 104
Reputation: 1851
Please use:
this.Store.Add(new Store());
Related Ext.NET forum thread.
Upvotes: 1