
Public Member Functions | |
| String | categoryKey () |
| ERPCategoryChart (WOContext context) | |
| PlotOrientation | orientation () |
| void | reset () |
| String | xName () |
| String | yName () |
Static Public Attributes | |
| static final NSArray< String > | SUPPORTED_TYPES |
Protected Member Functions | |
| JFreeChart | createChart () |
| Dataset | createDataset () |
| NSArray< String > | supportedTypes () |
Protected Attributes | |
| String | _categoryKey |
| PlotOrientation | _orientation |
| String | _xName |
| String | _yName |
items which should contain an array of objects from which the values xNameKey, yNameKey, categoryKey and valueKey are retrieved. For example, you might have an array of line items, with a valueKey amount, an xNameKey with invoice.datePurchased, yNameKey, categoryKeyand a nameKey product.name.
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 Comparable) valueKey the key for the value (must return Number) categoryKey the key for the categories (optional, must return Comparable) xName the name for the x axis (String) yName the name for the y axis (String) showLegends true, if legends should be shown showToolTips true, if tool tips should be shown showUrls true, if urls should be shown orientation either "horizontal" (default) or "vertical" chart Chart to use instead of the created one. If this binding is set-able, 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.
| ERPCategoryChart | ( | WOContext | context | ) |
| String categoryKey | ( | ) |
| JFreeChart createChart | ( | ) | [protected, virtual] |
Implements ERPChart.
| Dataset createDataset | ( | ) | [protected, virtual] |
Implements ERPChart.
| PlotOrientation orientation | ( | ) |
| void reset | ( | ) |
Reimplemented from ERPChart.
| String xName | ( | ) |
| String yName | ( | ) |
String _categoryKey [protected] |
PlotOrientation _orientation [protected] |
final NSArray<String> SUPPORTED_TYPES [static] |
Initial value:
new NSArray<String>(new String[]{ "BarChart", "StackedBarChart", "BarChart3D", "StackedBarChart3D", "AreaChart", "StackedAreaChart", "LineChart", "WaterfallChart" })
1.5.8