Class GraphAxisProperties

java.lang.Object
com.persequor.extension.frontend.GraphAxisProperties

public class GraphAxisProperties extends Object
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.
Some `scaleType` values need more attention when configuring an axis, for example if the `scaleType = log` the domain needs to be carefully set - the logarithm function is undefined for value 0. The domain must be set to strictly positive - only positive values can be passed or strictly negative - only negative values can be passed.