public class ContextButton extends Button<ContextButton>
Pane.setBackground(PaneBackground...) method.
Sample usage:
chart.setExporting(
new Exporting()
.setContextButton(
newContextButton(
.setAlign("center")
.setX(0)
)
);
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextButton.Symbol
An enumeration of supported marker symbol types, which can be passed to methods
like
setSymbol(ContextButton.Symbol) method. |
Button.Align, Button.VerticalAlign| Constructor and Description |
|---|
ContextButton() |
| Modifier and Type | Method and Description |
|---|---|
ContextButton |
setSymbol(ContextButton.Symbol symbol)
Convenience method for setting the "symbol" option for the export button.
|
ContextButton |
setX(Number x)
Convenience method for setting the "symbolX" option for the export button.
|
setAlign, setEnabled, setHeight, setSymbolFill, setSymbolSize, setSymbolStroke, setSymbolStrokeWidth, setSymbolX, setSymbolY, setText, setVerticalAlign, setWidth, setYgetOptions, setOptionpublic ContextButton setSymbol(ContextButton.Symbol symbol)
contextButton.setOption("symbol", "menu");
The symbol for the button. Points to a definition function in the Highcharts.Renderer.symbols collection.
The default exportIcon function is part of the exporting module. Defaults to menu.symbol - The shape to be used for the context button.ContextButton instance for convenient method chaining.public ContextButton setX(Number x)
contextButton.setOption("symbolX", 12.5)
The x position of the center of the symbol inside the button. Defaults to 12.5.x - The distance n pixels from the left edge of the export buttonContextButton instance for convenient method chaining.Copyright © 2015. All Rights Reserved.