PDA

View Full Version : [2.0-M3] Chart and tool tip



mtarantini
19 Jun 2009, 6:37 AM
Hi,

I'd like to know if there is an exhaustive list for the possible value for Chart Tool tip?
I check the javadoc but, except the


Sets the tooltip text (#val# is the default) there nothing more.

I also check the Open Flash Chart web site for the version 2.0 (http://teethgrinder.co.uk/open-flash-chart-2/tooltip.php)

and from the list they give, only the #val# works.

So is it possible to include in the javadoc or some where the list of all value possible for chart's tool tip?! It could be nice,

Thx in advance.

best regards.

mtarantini
21 Jun 2009, 10:43 PM
So ? Anybody can tell us the list of possible value for chart's tooltip ?


Thx.

mtarantini
14 Jul 2009, 11:12 PM
Still need the info...

thx.

The_Jackal
16 Jul 2009, 7:12 PM
It depends on the chart - the page you linked says:


These magic values explained in the charts that have them.

Pie chart: http://teethgrinder.co.uk/open-flash-chart-2/pie-chart-menu.php

supports

#val# - the number value of the slice
#total# - the total of all the slices
#percent# - the value as a percent
#label# - if you have passed in a label, the tooltip can contain it. This is useful if you set 'nolabel' to true, the pie chart will fill the area, but you can still display a unique label for each slice.
#radius# - to help figure out a good radius when you want to fix it.- according to the doco. Can you tests this out and see?

Also you can download the source for ofc2 and have a look yourself... it's not java but is very similar.

HTH - Carl.