com.googlecode.wickedcharts.highcharts.options.functions
Class PercentageFormatter

java.lang.Object
  extended by com.googlecode.wickedcharts.highcharts.options.Function
      extended by com.googlecode.wickedcharts.highcharts.options.functions.PercentageFormatter
All Implemented Interfaces:
Serializable

public class PercentageFormatter
extends Function

A javascript function intended to use as tooltip formatter. If used as tooltip formatter, it displays the point name and the percentage of the currently selected point. You can specify the number of decimal digits by calling Tooltip.setPercentageDecimals(Integer).

Example: "PointName: 10.5%".

Author:
Tom Hombergs (tom.hombergs@gmail.com)
See Also:
Tooltip.setFormatter(Function), Serialized Form

Constructor Summary
PercentageFormatter()
           
 
Method Summary
 
Methods inherited from class com.googlecode.wickedcharts.highcharts.options.Function
addParameter, getFunction, setFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PercentageFormatter

public PercentageFormatter()


Copyright © 2013. All Rights Reserved.