Class BaseLabelRenderer
Inherited Members
Namespace: Com.Telerik.Widget.Chart.Visualization.Common.Renderers
Assembly: Telerik.Xamarin.Android.Chart.dll
Syntax
public abstract class BaseLabelRenderer : PropertyManager, IChartLabelRenderer, IJavaObject, IDisposable, IJavaPeerable
Constructors
BaseLabelRenderer(ChartSeries)
BaseLabelRenderer(IntPtr, JniHandleOwnership)
Declaration
protected BaseLabelRenderer(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Fields
PaletteFamily
Declaration
protected const string PaletteFamily = "SeriesLabels"
Field Value
System.String
|
Properties
FontStyle
Declaration
protected int FontStyle { get; set; }
Property Value
System.Int32
|
IsChartZoomedHorizontally
Declaration
protected bool IsChartZoomedHorizontally { get; }
Property Value
System.Boolean
|
IsChartZoomedVertically
Declaration
protected bool IsChartZoomedVertically { get; }
Property Value
System.Boolean
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
Overrides
LabelColorPropertyKey
Declaration
public static int LabelColorPropertyKey { get; set; }
Property Value
System.Int32
|
LabelFillColor
Declaration
public virtual int LabelFillColor { get; set; }
Property Value
System.Int32
|
LabelFillColorPropertyKey
Declaration
public static int LabelFillColorPropertyKey { get; set; }
Property Value
System.Int32
|
LabelFillPaint
Declaration
protected Paint LabelFillPaint { get; set; }
Property Value
Android.Graphics.Paint
|
LabelFont
Declaration
public virtual Typeface LabelFont { get; set; }
Property Value
Android.Graphics.Typeface
|
Implements
LabelFontStyle
Declaration
public virtual int LabelFontStyle { get; set; }
Property Value
System.Int32
|
Implements
LabelFormat
Declaration
public virtual string LabelFormat { get; set; }
Property Value
System.String
|
Implements
LabelMargin
Declaration
public virtual float LabelMargin { get; set; }
Property Value
System.Single
|
Implements
LabelPaddingBottom
Declaration
protected float LabelPaddingBottom { get; set; }
Property Value
System.Single
|
LabelPaddingLeft
Declaration
protected float LabelPaddingLeft { get; set; }
Property Value
System.Single
|
LabelPaddingRight
Declaration
protected float LabelPaddingRight { get; set; }
Property Value
System.Single
|
LabelPaddingTop
Declaration
protected float LabelPaddingTop { get; set; }
Property Value
System.Single
|
LabelSize
Declaration
public virtual float LabelSize { get; set; }
Property Value
System.Single
|
Implements
LabelStrokeColor
Declaration
public virtual int LabelStrokeColor { get; set; }
Property Value
System.Int32
|
LabelStrokeColorPropertyKey
Declaration
public static int LabelStrokeColorPropertyKey { get; set; }
Property Value
System.Int32
|
LabelStrokePaint
Declaration
protected Paint LabelStrokePaint { get; set; }
Property Value
Android.Graphics.Paint
|
LabelStrokeWidth
Declaration
protected float LabelStrokeWidth { get; set; }
Property Value
System.Single
|
LabelTextColor
Declaration
public virtual int LabelTextColor { get; set; }
Property Value
System.Int32
|
Implements
LabelTextPaint
Declaration
protected Paint LabelTextPaint { get; set; }
Property Value
Android.Graphics.Paint
|
LabelToStringConverter
LabelTypeface
Declaration
protected Typeface LabelTypeface { get; set; }
Property Value
Android.Graphics.Typeface
|
LabelValueToStringConverter
Declaration
public virtual IFunction LabelValueToStringConverter { get; set; }
Property Value
IFunction
|
Implements
Owner
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
Overrides
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Overrides
Methods
ApplyPalette(ChartPalette)
CalculateLabelPoint(DataPoint, Rect)
Declaration
protected virtual RadPoint CalculateLabelPoint(DataPoint point, Rect textSize)
Parameters
DataPoint
point
|
Android.Graphics.Rect
textSize
|
Returns
RadPoint
|
DrawLabelBackground(Canvas, Path, Int32)
Declaration
protected virtual void DrawLabelBackground(Canvas canvas, Path path, int dataPointIndex)
Parameters
Android.Graphics.Canvas
canvas
|
Android.Graphics.Path
path
|
System.Int32
dataPointIndex
|
DrawLabelText(Canvas, String, Single, Single)
Declaration
protected virtual void DrawLabelText(Canvas canvas, string labelText, float textPositionX, float textPositionY)
Parameters
Android.Graphics.Canvas
canvas
|
System.String
labelText
|
System.Single
textPositionX
|
System.Single
textPositionY
|
GetLabelBackgroundBounds(RadPoint, Rect)
Declaration
protected virtual Rect GetLabelBackgroundBounds(RadPoint calculatedPosition, Rect textBounds)
Parameters
RadPoint
calculatedPosition
|
Android.Graphics.Rect
textBounds
|
Returns
Android.Graphics.Rect
|
GetLabelFillPaint(Int32)
Declaration
protected virtual Paint GetLabelFillPaint(int dataPointIndex)
Parameters
System.Int32
dataPointIndex
|
Returns
Android.Graphics.Paint
|
GetLabelText(DataPoint)
Declaration
protected virtual string GetLabelText(DataPoint dataPoint)
Parameters
DataPoint
dataPoint
|
Returns
System.String
|
GetTextBounds(String, Paint)
Declaration
protected virtual Rect GetTextBounds(string text, Paint paint)
Parameters
System.String
text
|
Android.Graphics.Paint
paint
|
Returns
Android.Graphics.Rect
|
InvalidatePalette()
Declaration
public virtual void InvalidatePalette()
OffsetBottom()
Declaration
protected virtual float OffsetBottom()
Returns
System.Single
|
OffsetLeft()
Declaration
protected virtual float OffsetLeft()
Returns
System.Single
|
OffsetRight(Rect)
Declaration
protected virtual float OffsetRight(Rect textBounds)
Parameters
Android.Graphics.Rect
textBounds
|
Returns
System.Single
|
OffsetTop(Rect)
Declaration
protected virtual float OffsetTop(Rect textBounds)
Parameters
Android.Graphics.Rect
textBounds
|
Returns
System.Single
|
PrepareLabel(Path, Rect, RadRect)
Declaration
protected virtual void PrepareLabel(Path path, Rect labelBounds, RadRect dataPointSlot)
Parameters
Android.Graphics.Path
path
|
Android.Graphics.Rect
labelBounds
|
RadRect
dataPointSlot
|
PreventClippingBottom(Double, RadRect)
Declaration
protected virtual double PreventClippingBottom(double y, RadRect parentSlot)
Parameters
System.Double
y
|
RadRect
parentSlot
|
Returns
System.Double
|
PreventClippingLeft(Double, RadRect)
Declaration
protected virtual double PreventClippingLeft(double x, RadRect parentSlot)
Parameters
System.Double
x
|
RadRect
parentSlot
|
Returns
System.Double
|
PreventClippingRight(Double, RadRect, Rect)
Declaration
protected virtual double PreventClippingRight(double x, RadRect parentSlot, Rect textBounds)
Parameters
System.Double
x
|
RadRect
parentSlot
|
Android.Graphics.Rect
textBounds
|
Returns
System.Double
|
PreventClippingTop(Double, RadRect, Rect)
Declaration
protected virtual double PreventClippingTop(double y, RadRect parentSlot, Rect textBounds)
Parameters
System.Double
y
|
RadRect
parentSlot
|
Android.Graphics.Rect
textBounds
|
Returns
System.Double
|
RenderLabel(Canvas, ChartNode)
Declaration
public virtual void RenderLabel(Canvas canvas, ChartNode dataPoint)
Parameters
Android.Graphics.Canvas
canvas
|
ChartNode
dataPoint
|
Implements
SetLabelPadding(Single, Single, Single, Single)
Declaration
public virtual void SetLabelPadding(float left, float top, float right, float bottom)
Parameters
System.Single
left
|
System.Single
top
|
System.Single
right
|
System.Single
bottom
|