PDA

View Full Version : Line chart tooltip



jjczopek
27 Jul 2010, 1:56 PM
Hi!

I have a line chart and I'd like to customize tooltip for it. Default is #val#, but calling eg. setToolTip("$ #val#") doesn't work, and when I hoover over line point, tooltip shows '70.0' instead of '$ 70.0' :/

richarpw
4 Mar 2011, 7:44 AM
The following worked for me:

// Create the dot style.
SolidDot solidDot = new SolidDot();
solidDot.setTooltip("#val# Transactions");
lineChart.setDotStyle(solidDot);