The NChartMapSeries class provides methods to display map series. More...
Public Member Functions | |
| void | zoomToShape (NChartMapShape shape, float duration, float delay) |
| Zoom and pan the map to the given shape. More... | |
| void | zoomToShapes (NChartMapShape[] shapes, float duration, float delay) |
| Zoom and pan the map to the area enclosing the given array of shapes. More... | |
Public Member Functions inherited from com.nchart3d.NChart.NChartSolidSeries | |
| float | getBorderThickness () |
| Thickness (in pixels) of the border that surrounds the series. | |
| void | setBorderThickness (float borderThickness) |
| For details see getBorderThickness(). | |
| NChartBrush | getBrush () |
| Brush that fills the series. More... | |
| void | setBrush (NChartBrush brush) |
| For details see getBrush(). | |
| NChartBrush | getBorderBrush () |
| Brush of the border that surrounds the series. More... | |
| void | setBorderBrush (NChartBrush borderBrush) |
| For details see getBorderBrush(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartSeries | |
| NChartPoint[] | getPoints () |
| Array of points. | |
| Bitmap | getImage () |
| Image that is displayed in the legend. More... | |
| Bitmap | getDisabledImage () |
| Image that is displayed in the legend when the series is hidden (aka disabled). More... | |
| String | getName () |
| Name of the series. | |
| int | getNameColor () |
| Get color of the series name displayed in the legend. More... | |
| void | setNameColor (int color) |
| For details see getNameColor(). | |
| int | getDisabledNameColor () |
| Get color of the series name displayed in the legend when the series is hidden (aka disabled). More... | |
| void | setDisabledNameColor (int color) |
| For details see getDisabledNameColor(). | |
| float | getLegendMarkerSize () |
| Size of default series' marker in legend in pixels. More... | |
| void | setLegendMarkerSize (float legendMarkerSize) |
| For details see getLegendMarkerSize(). | |
| NChartBrushScale | getScale () |
| Brush scale of the series used to color the map. | |
| void | setScale (NChartBrushScale scale) |
| For details see getScale(). | |
| int | getTag () |
| Tag of the series. More... | |
| void | setTag (int tag) |
| For details see getTag(). | |
| boolean | isVisible () |
| Flag that determines if the series is visible or not. More... | |
| void | setVisible (boolean visible) |
| For details see isVisible(). | |
| boolean | getHostsOnSX () |
| Flag that determines if the series is hosted on the secondary X-axis. More... | |
| void | setHostsOnSX (boolean hostsOnSX) |
| For details see getHostsOnSX(). | |
| boolean | getHostsOnSY () |
| Flag that determines if the series is hosted on the secondary Y-axis. More... | |
| void | setHostsOnSY (boolean hostsOnSY) |
| For details see getHostsOnSY(). | |
| boolean | getHostsOnSZ () |
| Flag that determines if the series is hosted on the secondary Z-axis. More... | |
| void | setHostsOnSZ (boolean hostsOnSZ) |
| For details see getHostsOnSZ(). | |
| NChartSeriesDataSource | getDataSource () |
| Data source for the series. More... | |
| void | setDataSource (NChartSeriesDataSource dataSource) |
| For details see getDataSource(). | |
| NChartDataSmoother | getDataSmoother () |
| Data smoother used. More... | |
| void | setDataSmoother (NChartDataSmoother dataSmoother) |
| For details see getDataSmoother(). | |
| boolean | isForceAbsolute () |
| Flag that determines if the series forces absolute value axis. More... | |
| void | setForceAbsolute (boolean forceAbsolute) |
| For details see isForceAbsolute(). | |
| boolean | isPointSelectionEnabled () |
| Flag determining if the chart points can be selected by tap (true) or not (false). More... | |
| void | setPointSelectionEnabled (boolean pointSelectionEnabled) |
| For details see isPointSelectionEnabled(). | |
| boolean | isNeedsSeparateSums () |
| Flag determining if in the additive value axis mode (when valueAxesType = NChartValueAxesType.Additive) positive and negative values are added separately, so all positives are above zero and all negatives are below zero (true), or all the values are just added together (false). More... | |
| void | setNeedsSeparateSums (boolean needsSeparateSums) |
| For details see isNeedsSeparateSums(). | |
| boolean | isUpdateAllowed () |
| Flag providing a hint that the series has no modifications and should not be updated by the next NChart#rebuildSeries() or NChart#updateSeries() call (false) or it should be updated as normal (true). More... | |
| void | setUpdateAllowed (boolean updateAllowed) |
| For details see isUpdateAllowed(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartObject | |
| boolean | isVisible () |
| Flag that determines if the object is visible or not. More... | |
| void | setVisible (boolean visible) |
| For details see isVisible(). | |
| NChart | getChart () |
| Chart the object belongs to. More... | |
Detailed Description
The NChartMapSeries class provides methods to display map series.
This type of series is different from the others because it requires its points to have markers of type NChartMapShape, otherwise the points are ignored. Instances of NChartMapShape can be created with a help of NChartMapTopobase that provides methods to load a GeoJSON file with particular map.
Semantically, each point of this series represents a particular map objects (for example, a country), and the series represents a map of some region (for example, a world map).
Member Function Documentation
|
inline |
Zoom and pan the map to the given shape.
- Parameters
-
shape - shape to zoom to. duration - animation duration (in seconds). delay - delay of the animation start (in seconds).
|
inline |
Zoom and pan the map to the area enclosing the given array of shapes.
- Parameters
-
shapes - shapes to zoom to. duration - animation duration (in seconds). delay - delay of the animation start (in seconds).

Public Member Functions inherited from