Interface ResultHighchart.ContextMenu
- Enclosing class:
ResultHighchart
public static interface ResultHighchart.ContextMenu
-
Method Summary
Modifier and TypeMethodDescriptionAdd a menu item to theContextMenu
.back()
default ResultHighchart.ContextMenu
setDrilldownLabel
(String label) Convenience method to customize the drilldown menu item's label without any translation options.setDrilldownLabelTranslations
(Map<String, String> labelTranslations) Customize the drilldown menu item's label in multiple languages so the UI will show the one appropriate for the current user.
-
Method Details
-
setDrilldownLabel
Convenience method to customize the drilldown menu item's label without any translation options.
Note: the drilldown menu item will only show if a Highcharts API drilldown was defined inapi.buildHighchart(properties)
- Parameters:
label
- the label of the menu item- Returns:
- self - the
ResultHighchart.ContextMenu
instance, for convenience - See Also:
-
setDrilldownLabelTranslations
Customize the drilldown menu item's label in multiple languages so the UI will show the one appropriate for the current user.
Note: the drilldown menu item will only show if a Highcharts API drilldown was defined inapi.buildHighchart(properties)
- Parameters:
labelTranslations
- the label of the menu item, referenced by language (e.g. "en", "de", or "" as default)- Returns:
- self - the
ResultHighchart.ContextMenu
instance, for convenience
-
addMenuItem
ResultHighchart.ContextMenuItem addMenuItem()Add a menu item to theContextMenu
.- Returns:
- a new
ResultHighchart.ContextMenuItem
-
back
ResultHighchart.OnPointClick back()- Returns:
- the
ResultHighchart.OnPointClick
instance, for convenience
-