Profile Picture

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

Posted By Stuart.Hillary 6 Years Ago

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

Author
Message
Stuart.Hillary
Problem Posted 6 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 6 Years Ago
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 (289 views, 224.00 KB)
build-18.4.26.12.txt (278 views, 221.00 KB)
Nevron Support
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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





Similar Topics


Reading This Topic