This question is locked. New answers and comments are not allowed.
Hi, my chart which I am using is below: @(Html.Telerik().Chart(new List<SeriesData>()) .Name("Chart") .Title("Chart (Week)") .Legend(legend => legend.Position(ChartLegendPosition.Top)) .Series(series => {series.Column(s => s.Value).Name("Data");}) .CategoryAxis(axis => axis.Categories(s => s.Date )) .ValueAxis(axis => axis.Numeric()) .Tooltip(tooltip => tooltip.Visible(true)) .HtmlAttributes(new {style = "width: 400px; height: 300px; "}) .DataBinding(dataBinding => dataBinding.Ajax() .Select("GraphData", "DataActivity", new { span = 1, type = 2 })) )
Currently the DataBinding is working. It updates the values. But,
the CategoryAxis never updates with the rebind. Which is annoying as I pass in an empty
list to start with but then I obtain my data with the ajax call I get the values but no axis labels.
My Axis labels (i.e. the date) are obtained with the databinding as they are set within
my LIST of SeriesData i get back.
Anyone got this working? Or have a solution?
Thanks