Line chart: General tooltips incorrect when line is autosampled (16.8.8.12)


Line chart: General tooltips incorrect when line is autosampled...
Author
Message
Kevin Harrison 1
Kevin Harrison 1
Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)
Group: Forum Members
Posts: 176, Visits: 1.9K
Hi
I'm creating line series and using line.SamplingMode = SeriesSamplingMode.Auto
I set individual point tooltips for up to 2048 points using InteractivityStyles.Add for each point
This all works fine.. However, for performance I set a generic tooltip for more than 2048 points, using:
nevronSeries.InteractivityStyle = new NInteractivityStyle( 
string.Format( CultureInfo.CurrentCulture, "{0}: <xvalue>{2}{1}: <value>",  xTitle,   YTitle, Environment.NewLine));
However, all tooltips display 0 for <xvalue> and <value> when the line is sampled.
The tooltips are correct if I don't set a SamplingMode.
Is this a bug?
- On a separate note, is there a way for me to supply a tooltip dynamically when the mouse is hovered over a point rather than supplying all tooltips upfront? It's very wasteful of resources!

Thanks

Kevin

Replies
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search