public class Navigation extends Configurable<Navigation>
BaseChart.setNavigation(Navigation) method.
Note that the "exporting" module must be included in the page in order for the exporting
navigation options to apply. E.g.:
<script type="text/javascript" src="js/modules/exporting.js"></script>| Constructor and Description |
|---|
Navigation() |
| Modifier and Type | Method and Description |
|---|---|
Navigation |
setButtonOptions(Button button)
Convenience method for setting the "buttonOptions" for the export button.
|
Navigation |
setMenuItemHoverStyle(Style menuItemHoverStyle)
Convenience method for setting the 'menuItemHoverStyle' options of the navigation area.
|
Navigation |
setMenuItemStyle(Style menuItemStyle)
Convenience method for setting the 'menuItemStyle' options of the navigation area.
|
Navigation |
setMenuStyle(Style menuStyle)
Convenience method for setting the 'menuStyle' options of the navigation area.
|
getOptions, setOptionpublic Navigation setMenuStyle(Style menuStyle)
navigation.setOption("/menuStyle/left", "100px");
navigation.setOption("/menuStyle/top", "10px");
etc.
CSS styles for the popup menu appearing by default when the export icon is clicked. This menu is rendered in HTML.
Default options for the "menuStyle" are as follows:
menuStyle - CSS styles for the popup menus of the exporting moduleNavigation instance for convenient method chaining.public Navigation setMenuItemStyle(Style menuItemStyle)
navigation.setOption("/menuItemStyle/left", "100px");
navigation.setOption("/menuItemStyle/top", "10px");
etc.
CSS styles for the individual items within the popup menu appearing by default when the export icon
is clicked. The menu items are rendered in HTML. Default options for the "menuItemStyle" are as follows:
menuItemStyle - CSS styles for the individual items in the popup menus of the exporting module.Navigation instance for convenient method chaining.public Navigation setMenuItemHoverStyle(Style menuItemHoverStyle)
navigation.setOption("/menuItemHoverStyle/left", "100px");
navigation.setOption("/menuItemHoverStyle/top", "10px");
etc.
CSS styles for the hover state of the individual items within the popup menu appearing by default
when the export icon is clicked. The menu items are rendered in HTML. Default options for
the "menuItemHoverStyle" are as follows:
menuItemHoverStyle - CSS styles for the hover style of the individual items in the popup menus
of the exporting module.Navigation instance for convenient method chaining.public Navigation setButtonOptions(Button button)
chart.setNavigation(
new Navigation()
.setButtonOptions(
new Button()
.setAlign(Button.Align.RIGHT)
.setSymbolFill("#E0E0E0")
)
);
button - The export button with options set using methods in Button.Navigation instance for convenient method chaining.Copyright © 2015. All Rights Reserved.