I'm creating my RadChart progrmatically on postback and making a curve like this,
This works perfectly first time, the problem occurs when I change values and resubmit the form. The axis and curve don't update, even though my values and the ChartSeriesItem YValues definitely do.
I tried adding the current time to the end of the ChartTitle text and that updates OK every time.
Dim radChart As New Telerik.Web.UI.RadChart() Dim chartSeries2 As New Telerik.Charting.ChartSeries()chartSeries2.Type = Telerik.Charting.ChartSeriesType.LinechartSeries2.Appearance.LabelAppearance.Visible = FalsechartSeries2.Appearance.LineSeriesAppearance.Color = System.Drawing.ColorTranslator.FromHtml("#123252") Dim csItem As New Telerik.Charting.ChartSeriesItemDim csItems As New Telerik.Charting.ChartSeriesItemsCollection For i = 5 To 1000 csItem = New Telerik.Charting.ChartSeriesItem csItem.XValue = i 'lcyNet(i) is calculated each time based on form input values csItem.YValue = lcYNet(i) csItems.Add(csItem)Next i chartSeries2.AddItem(csItems)radChart.Series.Add(chartSeries2)This works perfectly first time, the problem occurs when I change values and resubmit the form. The axis and curve don't update, even though my values and the ChartSeriesItem YValues definitely do.
I tried adding the current time to the end of the ChartTitle text and that updates OK every time.
