public class LegendNavigation extends AbstractConfigurationObject
Constructor and Description |
---|
LegendNavigation() |
LegendNavigation(Boolean enabled) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAnimation() |
Number |
getArrowSize() |
Boolean |
getEnabled() |
void |
setAnimation(Boolean animation)
How to animate the pages when navigating up or down.
|
void |
setArrowSize(Number arrowSize)
The pixel size of the up and down arrows in the legend paging navigation.
|
void |
setEnabled(Boolean enabled)
Whether to enable the legend navigation.
|
public LegendNavigation()
public LegendNavigation(Boolean enabled)
public Boolean getAnimation()
setAnimation(Boolean)
public void setAnimation(Boolean animation)
true
applies the default navigation given in the
chart.animation option. Additional options can be given as an object
containing values for easing and duration. .
Defaults to: true
public Number getArrowSize()
setArrowSize(Number)
public void setArrowSize(Number arrowSize)
Defaults to: 12
public Boolean getEnabled()
setEnabled(Boolean)
public void setEnabled(Boolean enabled)
Whether to enable the legend navigation. In most cases, disabling the navigation results in an unwanted overflow.
See also the adapt chart to legend plugin for a solution to extend the chart height to make room for the legend, optionally in exported charts only.
Defaults to: true
Copyright © 2025. All rights reserved.