Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Bug when loading XML-chart settings in 2014.1,
Bug when loading XML-chart settings in 2014.1,
Post Reply
Bug when loading XML-chart settings in 2014.1,
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Alexander Haberl
Alexander Haberl
posted 11 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 15,
Visits: 48
I found a bug in 2014.1 (VS 2010), here's how to reproduce it:
1) Unzip attached binary settings file and load it to a chart control in the VS designer, that works perfectly
2) Save the chart to an XML-file
3) Clear the chart
4) Load settings from the XML-file saved in step 2: The MaxTickCount settings for the ordinal scale configurator are reset to the default (int max value):
Attachments
Test.zip
(
376 views,
50.00 KB
)
Reply
Like
0
Nevron Support
Nevron Support
posted 11 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Alexander,
Can you send us the state in custom XML format?
Best Regards,
Nevron Support Team
Reply
Like
0
Alexander Haberl
Alexander Haberl
posted 11 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 15,
Visits: 48
Can I somehow save the settings from the designer in custom XML? Othewise I have to do save it during runtime, right?
Reply
Like
0
Nevron Support
Nevron Support
posted 11 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Alexander,
You can save the settings at runtime using the following code:
nChartControl1.Serializer.SaveControlStateToFile("c:\\chartstate.xml", Nevron.Serialization.PersistencyFormat.CustomXML, null);
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
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search