Hi Everyone,
Here is my code snippet....
I need to know how to load the series data from information in the controller.
Here is my code snippet....
I need to know how to load the series data from information in the controller.
<tr>
<td>
@* ToDo uncomment the follwing to activate Telerik Chart *@
@(Html.Telerik().Chart<Qforma.Data.Physician>()
.Name(
"TimeSeries"
)
.Title(title => title.Text(
"Time Series"
))
.Transitions(
true
)
//.PlotArea(area => area.Background("#ccff00"))
.Legend(legend => legend.Position(ChartLegendPosition.Bottom)
)
.Series(series =>
{
series.Bar(
new
int
[] { 3015, 4003, 5881 }).Name(
"one"
);
series.Bar(
new
int
[] { 10458, 18598, 22623 }).Name(
"two"
);
})
.CategoryAxis(axis => axis
.Categories(
new
string
[] {
"Aug 2010"
,
"Sept 2010"
,
"Oct 2010"
})
)
)
</td>
</tr>