The NChartValueAxisSeriesMark class provides methods to handle special marks on the value axes indicating the series. More...
Public Member Functions | |
| NChartSeries | getSeries () |
| Series the mark indicates. More... | |
| void | setSeries (NChartSeries series) |
| For details see getSeries(). | |
| boolean | isPreventOverlapping () |
| Flag determining if the overlapping of series marks should be prevented (true) or not (false). More... | |
| void | setPreventOverlapping (boolean preventOverlapping) |
| For details see isPreventOverlapping(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartValueAxisMark | |
| NChartAxisTick | tick () |
| Tick of the mark. More... | |
| double | getValue (long timeIndex) |
| Value of the mark. More... | |
| void | setValue (double value, long timeIndex) |
| For details see getValue(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartLabel | |
| NChartFont | getFont () |
| Font of the label's text. | |
| void | setFont (NChartFont font) |
| For details see getFont(). | |
| int | getTextColor () |
| Color of the label's text. | |
| void | setTextColor (int textColor) |
| For details see getTextColor(). | |
| String | getText () |
| Text to display in the label. | |
| void | setText (String text) |
| For details see getText(). | |
| NChartLineBreakMode | getTextWrapping () |
| Wrapping mode of the label's text. | |
| void | setTextWrapping (NChartLineBreakMode textWrapping) |
| For details see getTextWrapping(). | |
| float | getMaxWidth () |
| Maximal width of the label's text in pixels. More... | |
| Paint.Align | getTextAlignment () |
| Alignment of the label's text. More... | |
| void | setTextAlignment (Paint.Align textAlignment) |
| For details see getTextAlignment(). | |
| void | setMaxWidth (float maxWidth) |
| For details see getMaxWidth(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartPlaced | |
| NChartBrush | getBackground () |
| Brush filling the background of the text container. More... | |
| void | setBackground (NChartBrush background) |
| For details see getBackground(). | |
| int | getBorderColor () |
| Color of the border that is drawn around the text container. | |
| void | setBorderColor (int borderColor) |
| For details see getBorderColor(). | |
| float | getBorderRadius () |
| Corner rounding radius (in pixels) of the border that is drawn around the text container. | |
| void | setBorderRadius (float borderRadius) |
| For details see getBorderRadius(). | |
| float | getBorderThickness () |
| Thickness of the border (in pixels) that is drawn around the text container. | |
| void | setBorderThickness (float borderThickness) |
| For details see getBorderThickness(). | |
| NChartMargin | getMargin () |
| Margin of the text container in pixels (spacing from the bounds of the enclosing area). | |
| void | setMargin (NChartMargin margin) |
| For details see getMargin(). | |
| NChartMargin | getPadding () |
| Padding of the text container in pixels (spacing to sub-areas). | |
| void | setPadding (NChartMargin padding) |
| For details see getPadding(). | |
| float | getOpacity () |
| Opacity of the text container. More... | |
| void | setOpacity (float opacity) |
| For details see getOpacity(). | |
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 NChartValueAxisSeriesMark class provides methods to handle special marks on the value axes indicating the series.
This mark is placed on the given axis by the nearest value of the given series. "Nearest" means the value of the series point that is the nearest to the axis in question. The getValue(long) property of NChartValueAxisMark is overridden by this class and the setter has no effect (because the value is dynamically taken from the given series).
Member Function Documentation
|
inline |
Series the mark indicates.
The default value is null, which means, no series is tracked and no mark is displayed.
|
inline |
Flag determining if the overlapping of series marks should be prevented (true) or not (false).
The default value is true.
The overlapping prevention works by shifting the overlapping marks away from each other, so they still stay as close as possible to their series but do not cover each other.

Public Member Functions inherited from