| Property | Type | Description | Visual editing | API | |
| Background | Color | Component background color. Used to fill chart background. | Yes | setBackground | |
| Colors | Color [] | Colors used to draw chart lines, areas, and points. This propery can only be set using the API. | Yes | setColors |
|
| Data values | double [][] | Data used to build chart.
Each set of columns represents a group of values. Each row within a column represents a value within a group of values. Groups are used to organize the chart. For example, in a stacked bar chart, each group is shown as a single stack: in a parallel bar chart, each group is displayed as a set of parallel bars.
Array Stacked bar chart Parallel bar chart
a1 b1 c1 | |
a2 b2 c2 | a2 b2 c2 |
| a1 b1 c1 | a1 a2 b1 b2 c1 c2
+--------- +----------------------
Use the ChartDataAggregatorbean to coerce data from beans that provide scalar values. | Yes | setValues |
|
| Font | Font | Component font. Used to draw legends. | Yes | setFont |
|
| Foreground | Color | Component foreground color. Used to draw axes, data points, lines,and legends. | Yes | setForeground |
|
| Labels | string [] | X axis labels as string array. | Yes | setLabels |
|
| LabelInterval | int[] | X axis label interval. For example, an interval of 1 displays a label for every X value, where an interval of 10 displays every tenth label. If not supplied, the label defaults to "Value n". | Yes | setLabelInterval |
|
| Legends | string [] | Legend strings as string array. | Yes | setLegends |
|
| Scale Y axis automatically | boolean | Set true to scale y axis to current values. | Yes | setYScaleAuto | |
| Show grid lines | boolean | Set to true to display grid lines on chart types other than Pie. | Yes | setShowGridLines |
|
| Show Y axis values | boolean | Set to true to display minimum and maximum scale values on y-axis. | Yes | setShowYAxisValues |
|
| Y scale maximum value | double | Maximum value for y-axis. If the chart contains a higher value than this value, then this value is ignored and the highest value is used as the maximum. | Yes | setYScaleMaximum | |
| Y scale minimum value | double | Minimum value for y-axis. If the chart contains a lower value than this then this value is ignored and the minumum value is either zero or, if there are negative values in the chart, the lowest of these values. | Yes | setYScaleMinimum | |
| Property | Type | Description | Visual editing | API |
| Chart type | int | Parallel bar chart, pie chart, plot chart, scatter chart, stacked bar chart surface chart.
Values:
|
Yes | setChartType |
| Property | Type | Description | Visual editing | API |
| Data values | double [][] | Data in the form required by Chart.setValues.
This value represents an aggregation of the scalar values
supplied by previous calls to either
| Yes | setValues |
| Group index | int [][] | Index number of the current group of values.
This value reflects previous calls to either
| Yes | setGroupIndex |
| RollActive | boolean | Activates or de-activates rolling of groups. | Yes | setRollActive |
| RollAfter | int | Number of groups to display before rolling previous groups off the chart. | Yes | setRollAfter |
| Value index | int | Index number of the current value within the current group.
This value reflects previous calls to either
| Yes | setValueIndex |
| Property | Type | Description | Visual editing | API |
| Reducing Rule | int | Options are: First n columns, Middle n columns, Last n columns, Regular columns filter and Regular columns smoother, Where n is given by the Number of Output Columns propery
Values:
|
Yes | setReducingRule |
| Input values | double [][] | Data to be reduced.
Use the ChartDataAggregatorbean to coerce data from beans that provide scalar values. | Yes | setValues |
| Output values | double [][] | The data after reduction has taken place.
A call to | No | |
| No. of Output columns | int | The number of columns to appear in the output | Yes | setMaxNumberColumns |