The NChartSizeAxis class provides methods to scale the sizes of NChartMarker objects. More...
Public Member Functions | |
double | getMinValue () |
Minimal value of the markers' sizes. | |
double | getMaxValue () |
Maximal value of the markers' sizes. | |
float | getMinSize () |
Minimal size of the markers on the screen in pixels. | |
float | getMaxSize () |
Maximal size of the markers on the screen in pixels. | |
boolean | shouldIgnoreZoom () |
Flag determining if markers should ignore chart's zoom (true) or not (false). More... | |
void | setShouldIgnoreZoom (boolean shouldIgnoreZoom) |
For details see shouldIgnoreZoom(). | |
NChartSizeAxisDataSource | getDataSource () |
Data source of the axis. More... | |
void | setDataSource (NChartSizeAxisDataSource dataSource) |
For details see getDataSource(). | |
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 NChartSizeAxis class provides methods to scale the sizes of NChartMarker objects.
The idea is to map the value of marker's size that is assumed to be in (getMinValue(), getMaxValue()) to the (getMinSize(), getMaxSize()). For example if a particular marker has size 0.3555, minValue = 0
, maxValue = 1
, minSize = 10
(pixels) and maxSize = 100
(pixels), the actual size of the marker on the screen will be 42 pixels.
Member Function Documentation
|
inline |
Data source of the axis.
- See also
- NChartSizeAxisDataSource
|
inline |
Flag determining if markers should ignore chart's zoom (true) or not (false).
The default value is false. If this flag is set to true, markers are not zoomed with the chart and remain in their size (value of their size
property). Otherwise, size of markers corresponds to their size
property when zoom is 1.0 only.