This is a migrated thread and some comments may be shown as answers.

Zooming without viewstate?

5 Answers 78 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 04 Jun 2008, 09:00 PM
Hello,

I have 3 databound charts loaded on a page that load relatively fast as I have viewstate disabled for them.  I really love the new zooming feature and would like to turn it on for the charts, however I can't seem to get the plot area to render my data with zooming enabled unless viewstate is also enabled. 

For some reason the viewstate for these charts is massive (several hundred KBytes per chart), so I take a massive perf hit on the download and CPU processing on the web server with VS turned on.

Is ViewState absolutely needed for the Zooming/Scrolling functionality? (or is there anything clever I could implement to workaround?)  If it is needed, are there any pointers on how I can shrink the size of my viewstate blobs for the charts?

Thanks!

Chris

5 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 05 Jun 2008, 02:09 PM
Hi Chris,

The zooming and scrolling feature of RadChart cannot operate with ViewState disabled at this point. As for the optimization of the latter -- unfortunately we cannot suggest you a clever way to reduce the ViewState as its size is basically related to the serialized settings you have applied to your chart object.


Sincerely yours,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris
Top achievements
Rank 1
answered on 05 Jun 2008, 05:08 PM
Thanks Manuel-

It sounds like it might be on the roadmap for a future release to not have this dependency?  I'm wondering if I have a ton of serialized settings configured that I don't need since the charts work completely as I would expect with viewstate disabled.  I'm not really sure where to look though (do you have a few examples of "serialized settings"?). 

Also, does the amount of data I'm pushing into the charts affect the size of the viewstate in any way?  That might explain it as I'm pushing thousands of data points into the charts.

Thanks for the prompt response!

Chris

0
Giuseppe
Telerik team
answered on 09 Jun 2008, 07:13 AM
Hi Chris,

We will research the option to enable the zooming / scrolling feature with disabled ViewState and we will probably add it for one of the next versions of the control.

As for the ViewState -- when it is enabled, the amount of data affects its size as the data points are serialized into it as well.


Regards,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Matthew
Top achievements
Rank 1
answered on 19 May 2009, 11:41 AM
Can zoom now work without viewstate?
0
Giuseppe
Telerik team
answered on 21 May 2009, 03:08 PM
Hi Matthew,

Unfortunately the chart control still does not support zooming / scrolling with disabled viewstate.

Sorry for the inconvenience.


All the best,
Manuel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Chris
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Chris
Top achievements
Rank 1
Matthew
Top achievements
Rank 1
Share this question
or