Skip to end of metadata
Go to start of metadata

Represents a chart view control.

Definition

public class UIChartView : UIViewBase, IChartView

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UIChartView Constructor() Initializes a new instance of the ChartView class.
UIChartView Constructor(IntPtr) Initializes a new instance of the UIChartView class.
UIChartView Constructor(NSObjectFlag) Initializes a new instance of the UIChartView class.
UIChartView Constructor(CGRect) Initializes a new instance of the UIChartView class.
UIChartView Constructor(NSCoder) Initializes a new instance of the UIChartView class.

Public Properties

Area Gets or sets the area.
AvailableHeight Gets or sets the height of the available.
AvailableWidth Gets or sets the width of the available.
DependentAxisAppearance Gets or sets the dependent axis appearance.
IndependentAxisAppearance Gets or sets the independent axis appearance.
Legend Gets or sets the legend.
Margin Gets or sets the margin.
ScaledDensity Gets or sets the scaled density.
Title Gets or sets the title.
UsePercentageValue Gets or sets a value indicating whether [use percentage value].

Public Methods

Draw(CGRect) Draws the specified rect.
GetLegendAreaHeight() Gets the height of the legend area.
GetMaxTextWidthInLegend() Gets the maximum text width in legend.
GetTextAscent(Font) Gets the text ascent.
GetTextHeight(Font) Gets the height of the text.
GetTextWidth(string, Font) Gets the width of the text.
TouchesBegan(NSSet, UIEvent) Called when the touch event began.
TouchesEnded(NSSet, UIEvent) Called when the touch event ended.
TouchesMoved(NSSet, UIEvent) Called when the touch event is moved.

Protected Methods

Dispose(bool) Called when this control is disposing.
Initialize() Called when this control is initializing.
InitializeView()

Public Constructors

public UIChartView()

Initializes a new instance of the ChartView class.

public UIChartView(IntPtr handle)

Initializes a new instance of the UIChartView class.

Parameters

handle Handle.

public UIChartView(NSObjectFlag t)

Initializes a new instance of the UIChartView class.

Parameters

t T.

public UIChartView(CGRect frame)

Initializes a new instance of the UIChartView class.

Parameters

frame Frame.

public UIChartView(NSCoder coder)

Initializes a new instance of the UIChartView class.

Parameters

coder Coder.

Public Properties

public Rectangle Area { get; set; }

Gets or sets the area.

Remarks

Used for internal mechanism.

public int AvailableHeight { get; set; }

Gets or sets the height of the available.

Remarks

Used for internal mechanism.

public int AvailableWidth { get; set; }

Gets or sets the width of the available.

Remarks

Used for internal mechanism.

public Axis DependentAxisAppearance { get; set; }

Gets or sets the dependent axis appearance.

Remarks

Used for internal mechanism.

public Axis IndependentAxisAppearance { get; set; }

Gets or sets the independent axis appearance.

Remarks

Used for internal mechanism.

public Legend Legend { get; set; }

Gets or sets the legend.

Remarks

Used for internal mechanism.

public Thickness Margin { get; set; }

Gets or sets the margin.

Remarks

Used for internal mechanism.

public float ScaledDensity { get; set; }

Gets or sets the scaled density.

Remarks

Used for internal mechanism.

public Title Title { get; set; }

Gets or sets the title.

Remarks

Used for internal mechanism.

public bool UsePercentageValue { get; set; }

Gets or sets a value indicating whether [use percentage value].

Remarks

Used for internal mechanism.

Public Methods

public void Draw(CGRect rect)

Draws the specified rect.

Parameters

rect The rect.

public int GetLegendAreaHeight()

Gets the height of the legend area.

Remarks

Used for internal mechanism.

Return Types

Height of the legend area.

public int GetMaxTextWidthInLegend()

Gets the maximum text width in legend.

Remarks

Used for internal mechanism.

Return Types

Maximum text width in legend.

public int GetTextAscent(Font font)

Gets the text ascent.

Remarks

Used for internal mechanism.

Parameters

font The font.

Return Types

Ascent of the text.

public int GetTextHeight(Font font)

Gets the height of the text.

Remarks

Used for internal mechanism.

Parameters

font The font.

Return Types

Height of the text.

public int GetTextWidth(string text, Font font)

Gets the width of the text.

Remarks

Used for internal mechanism.

Parameters

text The text.
font The font.

Return Types

Width of the text.

public void TouchesBegan(NSSet touches, UIEvent evt)

Called when the touch event began.

Parameters

touches The touches.
evt The evt.

public void TouchesEnded(NSSet touches, UIEvent evt)

Called when the touch event ended.

Parameters

touches The touches.
evt The evt.

public void TouchesMoved(NSSet touches, UIEvent evt)

Called when the touch event is moved.

Parameters

touches The touches.
evt The evt.

Protected Methods

protected void Dispose(bool disposing)

Called when this control is disposing.

Parameters

disposing If set to true disposing.

protected void Initialize()

Called when this control is initializing.

protected void InitializeView()

  • No labels