Can I enable tick marks in Line charts?

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Chris on 12th December 2012
Is there a way to make the dots in a line graph always visible (without the tool-tip, of course), instead of having to "search" in the line, to find them (and see the tool-tip info)?
Posted by RRobinson on 13th December 2012
chart.Set('chart.tickmarks', 'circle');

all the shape options are available here:

in the Miscellaneous section at the bottom.
Posted by RGraph support on 13th December 2012

Are you talking about tickmarks? There's a few styles of tickmarks that you can specify with chart.tickmarks:

And there's an example here:
Posted by Chris on 13th December 2012
Yes, this is exactly what I wanted, thanks! Due to the use of double line + bar graphs, it was very annoying having to "search" in a line, to find out the value for a specific date. Adjusting it from the API, to show upon hover on x coordinates was not the way to go either, because it combined 3 graphs.

Add a reply

« Back to message list