Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Setting pointSeries.MarkerStyles [ i ] = null does not "take"
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Setting pointSeries.MarkerStyles [ i ] = null does not "take"
Setting pointSeries.MarkerStyles [ i ] = null does not "take"
Post Reply
Setting pointSeries.MarkerStyles [ i ] = null does not "take"
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Brad Buhrkuhl
Brad Buhrkuhl
posted 10 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 5,
Visits: 40
I am using the MarkerStyles to control display of points. Setting it to a style seems to always "take" but setting it to null does NOT always take (sometimes it has to be set 10+ times!)
Code:
pointSeries.MarkerStyles [ i ] = null;
// a small percent do not "take" for reasons unknown. So we just try real hard and they go through.
int cnt = 0;
while ( pointSeries.MarkerStyles [ i ] != null )
{
// does not seem to help any
//System.Threading.Thread.Sleep ( 1 );
Console.Write ( "." );
pointSeries.MarkerStyles [ i ] = null;
cnt++;
if ( cnt > 100 )
System.Diagnostics.Debugger.Break ( );
}
Full code at
https://github.com/bl0rq/NevronPoC/tree/master/NevronPoC
Thanks!
Tags
chart
MarkerStyle
Reply
Like
0
Nevron Support
Nevron Support
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi Brad,
There was a small issue with the indexed storage which was fixed in the latest SP of the control. In particular the issue is that removing a marker style (by setting it to null) shifts the remaining keys in the collection by one. Simply download the latest version and this problem should be gone.
Hope this helps - let us know if you meet any problems or have any questions.
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
2 active, 2 guests, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search