Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
document.Calculate followed by RecalcLayout results in no data...
document.Calculate followed by RecalcLayout results in no data being drawn on a chart
Post Reply
document.Calculate followed by RecalcLayout results in no data...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Kevin Harrison 1
Kevin Harrison 1
posted 6 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 176,
Visits: 1.9K
I have just come across this issue when updating from 18.4.26.12 to 19.7.15.12.
Like the OP in
https://www.nevron.com/Forum/12739/When-is-it-adviceable-to-call-NevronChart100ocumentCalculate-and-RecalcLayout
I started getting numerous problems where no chart data was drawn in the newer version.
I also eventually tracked down that removing the Calculate resulted in the chart reappearing again.
I wasted considerable time tracking this down. It would have been good if some mention of this was made in release notes (or did I miss it?).
This is clearly a bug here that needs fixing.
Tags
Bug RecalcLayout
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Kevin,
It is hard to tell why the chart did not function properly, but we're considering to remove the Calculate method now because it actually takes two passes to completely recalculate the control in order to take care of things like dynamic axis y range etc, axis synchronization and others. In addition, the new version adds optimizations for removing redundant range calculations some of which may be causing this behavior on your end. The recommended way to recalculate the control is through the RecalcLayout method now as it will completely reevaluate all display time properties. If you send us an example that replicates the problem we can be more specific about the cause...
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
document.Calculate followed by RecalcLayout results in no data...
Kevin Harrison 1
-
6 Years Ago
Are support not monitoring this forum? Please can I have a reply?
Kevin Harrison 1
-
6 Years Ago
Hi Kevin, It is hard to tell why the chart did not function properly,...
Nevron Support
-
6 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search