All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
hi,
i'm using code from documentation
http://www.telerik.com/help/aspnet-ajax/htmlchart-important-changes-regarding-the-series-declaration.html
Programmatic creation of the Area chart with the SeriesItems collection.
and i have error wich it's apear in pic
plz help
<
telerik:RadHtmlChart
runat
=
"server"
ID
"Chart1"
Width
"600px"
Height
"400px"
>
</
protected
void
Page_Load(
object
sender, EventArgs e)
{
AreaSeries areaSeries =
new
AreaSeries();
CategorySeriesItem csi1 =
CategorySeriesItem() { Y = 20 };
CategorySeriesItem csi2 =
CategorySeriesItem() { Y = 35 };
CategorySeriesItem csi3 =
CategorySeriesItem() { Y = 40 };
areaSeries.SeriesItems.Add(csi1);
areaSeries.SeriesItems.Add(csi2);
areaSeries.SeriesItems.Add(csi3);
Chart1.PlotArea.Series.Add(areaSeries);
}
See What's Next in App Development. Register for TelerikNEXT.