public class Chart extends BaseOption
General options for the chart.
Copyright (c) 2022 Powerbuilt Systems. All rights reserved.Constructor and Description |
---|
Chart() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAlignTicks()
When using multiple axes, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks, as if
tickAmount were specified. |
Chart |
setAlignTicks(Boolean alignTicks)
When using multiple axes, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks, as if
tickAmount were specified. |
set_hcNulledOption
public static final Chart NULL
public Boolean getAlignTicks()
When using multiple axes, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks, as if tickAmount
were specified.
This can be prevented by setting alignTicks
to false. If the grid lines look messy, it's a good idea to hide them for the secondary axis by setting gridLineWidth
to 0.
If startOnTick
or endOnTick
in the axis options are set to false, then the alignTicks
will be disabled for the axis.
Disabled for logarithmic axes.
public Chart setAlignTicks(Boolean alignTicks)
When using multiple axes, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks, as if tickAmount
were specified.
This can be prevented by setting alignTicks
to false. If the grid lines look messy, it's a good idea to hide them for the secondary axis by setting gridLineWidth
to 0.
If startOnTick
or endOnTick
in the axis options are set to false, then the alignTicks
will be disabled for the axis.
Disabled for logarithmic axes.
alignTicks
- the value for the alignTicks optionCopyright © 2023. All rights reserved.