Class ResultHighmap
- Object
-
- ResultHighchart
-
- ResultHighmap
-
- All Implemented Interfaces:
Serializable
,ComplexCalculationResult
public class ResultHighmap extends ResultHighchart
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ResultHighchart
ResultHighchart.OnPointClick, ResultHighchart.TriggerEvent
-
-
Constructor Summary
Constructors Constructor Description ResultHighmap(Map<String,?> definition)
Not intended for public use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultHighmap
addMap(String... maps)
The map renderer will try to download the appropriate map by peeking atchart.map
value of the provideddefinition
.List<String>
getMapsList()
Not intended for public use, required for JSON serialization.String
getResultType()
-
Methods inherited from class ResultHighchart
addModule, addResultMatrixTab, getChartDefinition, getDataHeaders, getEvents, getModulesList, getResultMatrixList, getShowDataTab, onPointClick, setDataHeaders, setResultMatrixTabs, setShowDataTab, showDataTab
-
-
-
-
Method Detail
-
addMap
public ResultHighmap addMap(String... maps)
The map renderer will try to download the appropriate map by peeking atchart.map
value of the provideddefinition
. This method allows to downlaod any other JavaScript file available under themapdata/
directory.- Parameters:
maps
- one or more Highmaps compatible JavaScript map names, with the same form as would be used for thechart.map
property of the mapdefinition
; i.e. including the path frommapdata/
and without the ".js" extension. e.g. "countries/us/us-all", "custom/world-robinson", "custom/europe"- Returns:
- the
ResultHighmap
instance, for convenience - See Also:
- http://code.highcharts.com/mapdata/ to find out which maps are available.
-
getMapsList
public List<String> getMapsList()
Not intended for public use, required for JSON serialization.
-
getResultType
public String getResultType()
- Specified by:
getResultType
in interfaceComplexCalculationResult
- Overrides:
getResultType
in classResultHighchart
-
-