public class ActionBarSettings
extends java.lang.Object
Provides access to the ActionBars object.
ActionBars allow end users to make changes to the chart at runtime. Some of these changes include: setting titles, customizing labels, adding GridLines, adding Axis Sections, amongst others.
There are two sections in the chart in which the user will find the ActionBars: over the axes and over the LegendBox. Over the X-axis, the ActionBar will show up at the right of the axis; over the Y-axis, the ActionBar will show up at the top of the axis; and over the LegendBox, the ActionBar will appear on the left of the LegendBox.
Below, the ActionBar for the Y-axis is activated:
Constructor and Description |
---|
ActionBarSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Enables or prevents the user to use ActionBars at runtime.
|
void |
setEnabled(boolean value)
Enables or prevents the user to use ActionBars at runtime.
|
public boolean isEnabled()
Enables or prevents the user to use ActionBars at runtime.
ActionBars appear when the end user positions the mouse cursor either over the axes or the legend box.
To allow end user to use ActionBars:
chart1.getActionBars().setEnabled(true);
public void setEnabled(boolean value)
Enables or prevents the user to use ActionBars at runtime.
ActionBars appear when the end user positions the mouse cursor either over the axes or the legend box.
To allow end user to use ActionBars:
chart1.getActionBars().setEnabled(true);
value
- 2014 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.