I am trying to migrate from radchart to the new htmlchart, however there seems to be a major difference in how the databinding works in the htmlchart. With Radchart I am currently building a graph using a datasource like this:
Vendor Subcategory Value
xxx Sub1 100
yyy Sub1 200
zzz Sub1 150
xxx Sub2 100
yyy Sub2 200
zzz Sub2 150
I use this code to bind to the datasource
this.RadChartEvalSubcategory.Clear();
this.RadChartEvalSubcategory.DataGroupColumn = "Subcategory";
this.RadChartEvalSubcategory.PlotArea.XAxis.DataLabelsColumn = "Vendor";
this.RadChartEvalSubcategory.Legend.Appearance.GroupNameFormat = "#VALUE";
this.RadChartEvalSubcategory.DataSource = GetEvaluationSubCategoryScores();
this.RadChartEvalSubcategory.DataBind();
The chart is generated with the Vendors on the x-axis, a bar (Series) for each SubCategory and the values on the y-axis. Works perfectly.
I am now trying to do the same in htmlchart, and it does not seem to be possible to implement in the same way. Cannot find any examples or information on how to do such a simple binding task as was possible before. Would be disappointing if this is not supported anymore.
Is there any way to do the databinding in the same way as it was possible in RadChart?
Vendor Subcategory Value
xxx Sub1 100
yyy Sub1 200
zzz Sub1 150
xxx Sub2 100
yyy Sub2 200
zzz Sub2 150
I use this code to bind to the datasource
this.RadChartEvalSubcategory.Clear();
this.RadChartEvalSubcategory.DataGroupColumn = "Subcategory";
this.RadChartEvalSubcategory.PlotArea.XAxis.DataLabelsColumn = "Vendor";
this.RadChartEvalSubcategory.Legend.Appearance.GroupNameFormat = "#VALUE";
this.RadChartEvalSubcategory.DataSource = GetEvaluationSubCategoryScores();
this.RadChartEvalSubcategory.DataBind();
The chart is generated with the Vendors on the x-axis, a bar (Series) for each SubCategory and the values on the y-axis. Works perfectly.
I am now trying to do the same in htmlchart, and it does not seem to be possible to implement in the same way. Cannot find any examples or information on how to do such a simple binding task as was possible before. Would be disappointing if this is not supported anymore.
Is there any way to do the databinding in the same way as it was possible in RadChart?