ASP.Net WebForms: How to use ThinWebClient with Zoom


https://www.nevron.com/Forum/Topic12132.aspx
Print Topic | Close Window

By joern kunze - 7 Years Ago
Hi Experts,
I tried to rebuild the given Example for a ThinWeb-Chart with Zoom functionality from the scratch in the following way:

1. VS2015 - New Project WebForms with WebApi and MVC checked (not that I need the functionality right now but just to make sure that I am not missing something later).
2. Add the ThinWebClient Chart to the WebForm together with the necessary Nevron-dlls
3. Add the given Code from the Example to the Page_Load
(Nevron .NetVision 2016.1 for VS2015 => Nevron Chart - WebForm - Solution C# => Contents => ThinWeb => Data Zoom Tool => Source Code)
4. Running this example -> initially it looks good - exactly like the given example
https://www.nevron.com/forum/uploads/images/11fab592-a336-4461-9e2b-c365.jpg
But when I try to use the zoom, it looks not so good anymore - mostly there are no data points at all , although there should be some. Furthermore, the scrollbars at the axis are only half way there (well, not even half-way since the X-Axis scrollbar can not be scrolled):
https://www.nevron.com/forum/uploads/images/6cd2b71b-00e6-4b4e-8f4e-8287.jpg
 when I zoom out again, only some of the data points are back and now the axis seem to have a problem too:
https://www.nevron.com/forum/uploads/images/ff7e3527-1cd8-4d41-b31d-32cf.jpg

What am I missing here - it seems like some sort of Refresh or RePaint command should be done? When I just run the complete C# Nevron Example, everything is working well.

Thanks for your help,
best regards,
Joern


By Nevron Support - 7 Years Ago
Hi Joern,
Can you send us the test example for review?
By joern kunze - 7 Years Ago
I have attached the project with all files - hopefully it is not to large (50MB).

Just in case I have uploaded the project to our ftp-server:

http://www.adp-dresden.de/transfer/transfer/TestNevronThinWeb.zip

Best regards,
Joern
By Nevron Support - 7 Years Ago

Hi Joern,
Apparently there are some changed in the html button methods (enabled property is no longer recognized) and we had to update our java script. We'll publish a SP on this early next week and keep you posted.