Profile Picture

ASP.Net WebForms: How to use ThinWebClient with Zoom

Posted By joern kunze 8 Years Ago

ASP.Net WebForms: How to use ThinWebClient with Zoom

Author
Message
joern kunze
Problem Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 86, Visits: 221
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
73% of original size (was 687x19) - Click to enlarge
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):
73% of original size (was 687x19) - Click to enlarge
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:
73% of original size (was 687x19) - Click to enlarge
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




Nevron Support
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 3,055, Visits: 4,055
Hi Joern,
Can you send us the test example for review?

Best Regards,
Nevron Support Team



joern kunze
Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 86, Visits: 221
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

Nevron Support
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 3,055, Visits: 4,055

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.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic

1 active, 1 guest, 0 members, 0 anonymous.
No members currently viewing this topic!