Package com.androidplot.xy
Class XValueMarker
-
- All Implemented Interfaces:
public class XValueMarker extends ValueMarker<VerticalPosition>
-
-
Field Summary
Fields Modifier and Type Field Description public Numbervaluepublic PaintlinePaintpublic PainttextPaintpublic TextOrientationtextOrientationpublic inttextMarginpublic PositionMetricTypetextPositionpublic Stringtext
-
Constructor Summary
Constructors Constructor Description XValueMarker(Number value, String text)XValueMarker(Number value, String text, VerticalPosition textPosition, Paint linePaint, Paint textPaint)XValueMarker(Number value, String text, VerticalPosition textPosition, int linePaint, int textPaint)
-
Method Summary
Modifier and Type Method Description voiddraw(@NonNull() Canvas canvas, @NonNull() XYPlot plot, @NonNull() RectF gridRect)-
Methods inherited from class com.androidplot.xy.ValueMarker
getLinePaint, getText, getTextMargin, getTextOrientation, getTextPaint, getTextPosition, getValue, setLinePaint, setText, setTextMargin, setTextOrientation, setTextPaint, setTextPosition, setValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
XValueMarker
XValueMarker(Number value, String text)
- Parameters:
text- Set to null to use the plot's default getFormatter.
-
XValueMarker
XValueMarker(Number value, String text, VerticalPosition textPosition, Paint linePaint, Paint textPaint)
- Parameters:
text- Set to null to use the plot's default getFormatter.
-
XValueMarker
XValueMarker(Number value, String text, VerticalPosition textPosition, int linePaint, int textPaint)
- Parameters:
text- Set to null to use the plot's default getFormatter.
-
-
-
-