Package com.androidplot.xy
Class YValueMarker
-
- All Implemented Interfaces:
public class YValueMarker extends ValueMarker<HorizontalPosition>
-
-
Field Summary
Fields Modifier and Type Field Description public Numbervaluepublic PaintlinePaintpublic PainttextPaintpublic TextOrientationtextOrientationpublic inttextMarginpublic PositionMetricTypetextPositionpublic Stringtext
-
Constructor Summary
Constructors Constructor Description YValueMarker(Number value, String text)YValueMarker(Number value, String text, HorizontalPosition textPosition, Paint linePaint, Paint textPaint)YValueMarker(Number value, String text, HorizontalPosition 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
-
YValueMarker
YValueMarker(Number value, String text)
- Parameters:
text- Set to null to use the plot's default getFormatter.
-
YValueMarker
YValueMarker(Number value, String text, HorizontalPosition textPosition, Paint linePaint, Paint textPaint)
- Parameters:
text- Set to null to use the plot's default getFormatter.
-
YValueMarker
YValueMarker(Number value, String text, HorizontalPosition textPosition, int linePaint, int textPaint)
- Parameters:
text- Set to null to use the plot's default getFormatter.
-
-
-
-