Chart with custom axis does not work in newer version of Nevron Chart for .NET


Chart with custom axis does not work in newer version of Nevron Chart...
Author
Message
Stuart Hillary
Stuart Hillary
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 1, Visits: 11
We have a Winforms chart (with a custom axis) that displays correctly in build 15.8.25.12 but which does not display at all in build 18.4.26.12. The chart sits within a tab control and when switching to the tab containing the chart, the UI does not refresh in area where the chart is located. I have saved the chart control state to file to make a comparison, and apart for some information about UniqueId, there does not seem to be any significant differences. When I was trying to debug the problem inside of Visual Studio I tracked a problem down to the method BuildAxisGroups inside of Nevron.Chart.dll, the method was returning a null value (due to an NAxis object being null from an element not being found from the GetElementFromUniqueId method).

A separate issue that I found while trying to get to the bottom of this problem is, when trying to display the editor dialog for an NDocument, there was that a null reference exception was being thrown. I tracked this down to a call to IsDisplayedOnAxis within the method UpdateAxesPageFromSeries on the class NSeriesEditorUC.

I have uploded the chart state in both versions of Nevron chart.
Attachments
build-15.8.25.12.txt (341 views, 224.00 KB)
build-18.4.26.12.txt (332 views, 221.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.1K
Hi,
Thank you for pointing out this problem. We've fixed both issues and will publish a SP today. Most likely the code that creates this chart configures the chart series to display on a missing axis or something like that. After the update it will not crash, but it is probably a good idea to revise the code for such cases.

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search