We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

updating the chart values

hi Guys

I am a newbie to Syncfusion products. My client wants a form with few 10 textboxes to enter the amounts for 10 yeaers and when he clicks on the button to show graph, I am supposed to show the line graph. I am updating the chart values like shownn below.

Me.ChartWebControl1.BeginUpdate()
If IsNumeric(txtYear1.Text) Then
Me.ChartWebControl1.Series(0).Points(0).YValues(0) = CDbl(txtYear1.Text)
Else
Me.ChartWebControl1.Series(0).Points(0).YValues(0) = 0
End If
Me.ChartWebControl1.EndUpdate()

But chart is not updating. (I am initializing the chart with zeros on all the y values)

Please help me out. Any links or any documentation will be great.

Thanks
Chandra


1 Reply

AD Administrator Syncfusion Team April 20, 2008 02:50 PM UTC

Hi Chandra,

Thank you for using Syncfusion products.

I am afraid that I am not able to reproduce the issue of 'Chart is not updated with new data at runtime'. I have created a test sample on this. Please refer the sample below and let me know if you could reproduce this issue.

http://websamples.syncfusion.com/samples/Chart.Web/6.2.0.40/P43019/main.htm

Please let me know if you require any more details.

Regards,
Jaya



Loader.
Live Chat Icon For mobile
Up arrow icon