ERPPieChart Class Reference

Inherits er::plot::ERPChart.

Collaboration diagram for ERPPieChart:

Collaboration graph
[legend]

List of all members.

Classes

class  AccumulatingPieDataset

Public Member Functions

JFreeChart createChart ()
 ERPPieChart (WOContext context)
String nameKey ()
boolean showLabels ()
String valueKey ()

Static Public Attributes

static final NSArray< StringSUPPORTED_TYPES = new NSArray<String>(new String[] {"PieChart", "PieChart3D", "RingChart"})

Protected Member Functions

Dataset createDataset ()
NSArray< StringsupportedTypes ()


Detailed Description

Displays a Pie chart with an optional map. The most important binding is items which should contain an array of objects from which the values nameKey and valueKey are retrieved. For example, you might have an array of line items, with a valueKey amount and a nameKey product.name. If you supply a PieDataset instead, this will get used instead of the other bindings. name the name of the chart chartType the type of the chart (possible values depend on the concrete subclass) imageType the type of the image to show: png (default) or jpeg width the width of the chart (400 pixel if not specified) height the height of the chart (400 pixel if not specified) dataset Dataset to use. If this is given, then items, nameKey, valueKey and categoryKey are not considered. items array of values to display the chart for nameKey the key for the name (must return String) valueKey the key for the value (must return Number) showLegends true, if legends should be shown showLabels true, if labels should be shown (default is true) showToolTips true, if tool tips should be shown showUrls true, if urls should be shown chart Chart to use instead of the created one. If this binding is setable, then it will be set to the actually used chart configuration NSDictionary that will be applied to the chart via key-value-coding prior to rendering. Contains entries like antiAlias=true or categoryPlot.dataAreaRatio = 0.8.
Author:
ak

Constructor & Destructor Documentation

ERPPieChart ( WOContext  context  ) 

Public constructor

Parameters:
context the context


Member Function Documentation

JFreeChart createChart (  )  [virtual]

Implements ERPChart.

Dataset createDataset (  )  [protected, virtual]

Implements ERPChart.

String nameKey (  ) 

Reimplemented from ERPChart.

boolean showLabels (  ) 

NSArray<String> supportedTypes (  )  [protected, virtual]

Implements ERPChart.

String valueKey (  ) 

Reimplemented from ERPChart.


Member Data Documentation

final NSArray<String> SUPPORTED_TYPES = new NSArray<String>(new String[] {"PieChart", "PieChart3D", "RingChart"}) [static]

logging support


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:26 2012 for Project Wonder by  doxygen 1.5.8