Profile Picture

Chart DataPoint Labels and Gridline Spacing

Posted By Daniel Brookes 14 Years Ago
Author
Message
Daniel Brookes
crazy Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 4, Visits: 1
Hello,

I am struggling to find out how I can create Labels for my DataPoints which appear when you hover over the points.

I've tried setting my series to SeriesLegendMode.DataPoints, which shows the Tooltip text for each DataPoint but it is perminantly displayed. Is there a way that I can show the DataPoint Labels when the user mouses over a DataPoint only?

Also, whats the best way to set the "Major Grid" spacing (sorry, I dont have access to my source code at the moment as I am at work). I have my graph displaying Gridlines, the Y Axis is configured with a starting value of 0, ending value of 100 (the DataPoint value is always a Percent).

Gridlines are displayed every 10 on the Y Axis, the Gridlines for the X Axis are also displayed every 10 points. The problem is this means if there is less than 10 DataPoints on the Graph there are no gridlines on X.

I think this is because I am setting the scale for the Y axis to start at 0 and end at 100, but for the X axis the scale varies depending on the data returned. So if there are only 10 DataPoints to add to the graph, I will only see one Gridline on the X Axis. Whereas if there were 100 I would see what I want to achieve, 10 Gridlines on the X Axis.

Is there a way I can configure gridlines for both the X and Y Axis which appear a defined number of times regardless of the number of DataPoints?

Basically I am trying to acheive the attached (this isnt a Nevron Chart I have taken a screenshot from as I am at work, but its what I would like to acheive).

Sorry if this has been asked before but I'm having trouble searching because I am not 100% sure what to search for, but I've read through loads of threads with no joy.




Attachments
Capture.PNG (49 views, 14.00 KB)



Similar Topics


Reading This Topic