Class AxisConfig
java.lang.Object
com.orchestranetworks.addon.dpra.function.chart.AxisConfig
Defines a chart axis configuration.
The following types are supported:
- Category axis: String values.
- Value axis: Numeric values.
- Since:
- 4.2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic AxisConfig
outputLabelAsCategory
(String... outputNamesForValueAxis) As output values serve as the value axis, output labels are considered as the chart category.static AxisConfig
outputLabelAsCategory
(Collection<String> outputNamesForValueAxis) As output values serve as the value axis, output labels are considered as the chart category.static AxisConfig
outputValueAsCategory
(String outputNameForCategoryAxis, String outputNameForValueAxis) Specifies two outputs for the category axis and the value axis, respectively.
-
Method Details
-
outputLabelAsCategory
As output values serve as the value axis, output labels are considered as the chart category.- Parameters:
outputNamesForValueAxis
- Names of output definitions for the value axis.- See Also:
-
outputLabelAsCategory
As output values serve as the value axis, output labels are considered as the chart category.- Parameters:
outputNamesForValueAxis
- Names of output definitions for value axis.- See Also:
-
outputValueAsCategory
public static AxisConfig outputValueAsCategory(String outputNameForCategoryAxis, String outputNameForValueAxis) Specifies two outputs for the category axis and the value axis, respectively.- Parameters:
outputNameForCategoryAxis
- The name of the output definition for category axis.outputNameForValueAxis
- The name of the output definition for the value axis. The output definition for the value axis must be numeric.- See Also:
-