Package com.persequor.extension.frontend
Class GraphAxisProperties
java.lang.Object
com.persequor.extension.frontend.GraphAxisProperties
Represents the axis configuration for the
IGraph
component.
The default values are:
- scaleType = `auto`, the function scale will be deduced from the chart type.
- dataDomain = `[ 0, 'auto' ]` - the domain of an axis, starting from 0 to an automatically adjusted value from the data set.
- allowDataOverflow = `false` - the data domain will be adjusted to include the minimum and maximum value from the data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]
boolean
static GraphAxisProperties
of
(boolean allowDataOverflow) static GraphAxisProperties
of
(GraphDataDomain dataDomain) static GraphAxisProperties
of
(GraphScaleType scaleType) static GraphAxisProperties
setAllowDataOverflow
(boolean allowDataOverflow) setDataDomain
(GraphDataDomain dataDomain) setScaleType
(GraphScaleType scaleType)
-
Constructor Details
-
GraphAxisProperties
public GraphAxisProperties()
-
-
Method Details
-
ofDefault
-
of
-
of
-
of
-
getScaleType
-
setScaleType
-
getDataDomain
-
setDataDomain
-
isAllowDataOverflow
public boolean isAllowDataOverflow() -
setAllowDataOverflow
-