C# Класс LiveCharts.Uwp.Charts.Base.Chart

Base chart class
Наследование: Windows.UI.Xaml.Controls.UserControl, IChartView
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AnimationsSpeedProperty Windows.UI.Xaml.DependencyProperty
AxisXProperty Windows.UI.Xaml.DependencyProperty
AxisYProperty Windows.UI.Xaml.DependencyProperty
ChartLegendProperty Windows.UI.Xaml.DependencyProperty
DataTooltipProperty Windows.UI.Xaml.DependencyProperty
DisableAnimationsProperty Windows.UI.Xaml.DependencyProperty
HoverableProperty Windows.UI.Xaml.DependencyProperty
LegendLocationProperty Windows.UI.Xaml.DependencyProperty
ScrollBarFillProperty Windows.UI.Xaml.DependencyProperty
ScrollHorizontalFromProperty Windows.UI.Xaml.DependencyProperty
ScrollHorizontalToProperty Windows.UI.Xaml.DependencyProperty
ScrollModeProperty Windows.UI.Xaml.DependencyProperty
ScrollVerticalFromProperty Windows.UI.Xaml.DependencyProperty
ScrollVerticalToProperty Windows.UI.Xaml.DependencyProperty
SeriesColorsProperty Windows.UI.Xaml.DependencyProperty
SeriesProperty Windows.UI.Xaml.DependencyProperty
TooltipTimeoutProperty Windows.UI.Xaml.DependencyProperty
UpdaterStateProperty Windows.UI.Xaml.DependencyProperty
ZoomProperty Windows.UI.Xaml.DependencyProperty
ZoomingSpeedProperty Windows.UI.Xaml.DependencyProperty

Защищенные свойства (Protected)

Свойство Тип Описание
ChartCoreModel LiveCharts.Charts.ChartCore

Private Properties

Свойство Тип Описание
AttachHoverableEventTo void
Chart System
ChartUpdated void
DataMouseDown void
DataMouseEnter void
DataMouseLeave void
GetDesignerModeCollection SeriesCollection
OnDataClick void
OnDraggingEnd void
OnDraggingStart void
OnIsVisibleChanged void
OnLoaded void
OnPointerWheelChanged void
OnSeriesChanged void
OnSizeChanged void
PrepareScrolBar void
ScrollLimitOnChanged void
ScrollModeOnChanged void
SetClip void
TooltipTimeoutCallback void
TooltipTimeoutTimerOnTick void
UpdateChartFrequency void

Открытые методы

Метод Описание
AddToDrawMargin ( object element ) : void

Adds to draw margin.

AddToView ( object element ) : void

Adds to view.

EnsureElementBelongsToCurrentDrawMargin ( object element ) : void

Ensures the element belongs to current draw margin.

EnsureElementBelongsToCurrentView ( object element ) : void

Ensures the element belongs to current view.

GetCanvas ( ) : object

Gets the canvas.

GetCanvasElements ( ) : int

Gets the canvas elements.

GetDrawMarginElements ( ) : int

Gets the draw margin elements.

GetNextDefaultColor ( ) : Color

Gets the default color of the next.

HideLegend ( ) : void

Hides the legend.

HideTooltip ( ) : void

Hides the tooltip.

LoadLegend ( ) : LiveCharts.Dtos.CoreSize

Loads the legend.

MapXAxes ( ChartCore chart ) : List

Maps the x axes.

MapYAxes ( ChartCore chart ) : List

Maps the y axes.

MockIt ( LiveCharts.Dtos.CoreSize size ) : void

Mocks it.

RemoveFromDrawMargin ( object element ) : void

Removes from draw margin.

RemoveFromView ( object element ) : void

Removes from view.

SetDrawMarginHeight ( double value ) : void

Sets the height of the draw margin.

SetDrawMarginLeft ( double value ) : void

Sets the draw margin left.

SetDrawMarginTop ( double value ) : void

Sets the draw margin top.

SetDrawMarginWidth ( double value ) : void

Sets the width of the draw margin.

ShowLegend ( CorePoint at ) : void

Shows the legend.

Update ( bool restartView = false, bool force = false ) : void

Forces the chart to update

Защищенные методы

Метод Описание
CallChartUpdater ( bool animate = false, bool updateNow = false ) : PropertyChangedCallback

Calls the chart updater

GetTooltipPosition ( ChartPoint senderPoint ) : Point

Gets the tooltip position.

Приватные методы

Метод Описание
AttachHoverableEventTo ( FrameworkElement element ) : void
Chart ( ) : System
ChartUpdated ( ) : void
DataMouseDown ( object sender, PointerRoutedEventArgs e ) : void
DataMouseEnter ( object sender, PointerRoutedEventArgs e ) : void
DataMouseLeave ( object sender, PointerRoutedEventArgs e ) : void
GetDesignerModeCollection ( ) : SeriesCollection
OnDataClick ( object sender, ChartPoint point ) : void
OnDraggingEnd ( object sender, PointerRoutedEventArgs e ) : void
OnDraggingStart ( object sender, PointerRoutedEventArgs e ) : void
OnIsVisibleChanged ( DependencyObject dependencyObject, DependencyProperty dependencyProperty ) : void
OnLoaded ( object sender, RoutedEventArgs args ) : void
OnPointerWheelChanged ( object sender, PointerRoutedEventArgs e ) : void
OnSeriesChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void
OnSizeChanged ( object sender, SizeChangedEventArgs args ) : void
PrepareScrolBar ( ) : void
ScrollLimitOnChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void
ScrollModeOnChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void
SetClip ( ) : void
TooltipTimeoutCallback ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
TooltipTimeoutTimerOnTick ( object sender, object args ) : void
UpdateChartFrequency ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Описание методов

AddToDrawMargin() публичный Метод

Adds to draw margin.
public AddToDrawMargin ( object element ) : void
element object The element.
Результат void

AddToView() публичный Метод

Adds to view.
public AddToView ( object element ) : void
element object The element.
Результат void

CallChartUpdater() защищенный статический Метод

Calls the chart updater
protected static CallChartUpdater ( bool animate = false, bool updateNow = false ) : PropertyChangedCallback
animate bool if true, the series view will be removed and added again, this restarts animations also.
updateNow bool forces the updater to run as this function is called.
Результат PropertyChangedCallback

EnsureElementBelongsToCurrentDrawMargin() публичный Метод

Ensures the element belongs to current draw margin.
public EnsureElementBelongsToCurrentDrawMargin ( object element ) : void
element object The element.
Результат void

EnsureElementBelongsToCurrentView() публичный Метод

Ensures the element belongs to current view.
public EnsureElementBelongsToCurrentView ( object element ) : void
element object The element.
Результат void

GetCanvas() публичный Метод

Gets the canvas.
public GetCanvas ( ) : object
Результат object

GetCanvasElements() публичный Метод

Gets the canvas elements.
public GetCanvasElements ( ) : int
Результат int

GetDrawMarginElements() публичный Метод

Gets the draw margin elements.
public GetDrawMarginElements ( ) : int
Результат int

GetNextDefaultColor() публичный Метод

Gets the default color of the next.
public GetNextDefaultColor ( ) : Color
Результат Color

GetTooltipPosition() защищенный Метод

Gets the tooltip position.
protected GetTooltipPosition ( ChartPoint senderPoint ) : Point
senderPoint ChartPoint The sender point.
Результат Point

HideLegend() публичный Метод

Hides the legend.
public HideLegend ( ) : void
Результат void

HideTooltip() публичный Метод

Hides the tooltip.
public HideTooltip ( ) : void
Результат void

LoadLegend() публичный Метод

Loads the legend.
The current legend is not valid, ensure it implements IChartLegend
public LoadLegend ( ) : LiveCharts.Dtos.CoreSize
Результат LiveCharts.Dtos.CoreSize

MapXAxes() публичный Метод

Maps the x axes.
public MapXAxes ( ChartCore chart ) : List
chart LiveCharts.Charts.ChartCore The chart.
Результат List

MapYAxes() публичный Метод

Maps the y axes.
public MapYAxes ( ChartCore chart ) : List
chart LiveCharts.Charts.ChartCore The chart.
Результат List

MockIt() публичный Метод

Mocks it.
public MockIt ( LiveCharts.Dtos.CoreSize size ) : void
size LiveCharts.Dtos.CoreSize The size.
Результат void

RemoveFromDrawMargin() публичный Метод

Removes from draw margin.
public RemoveFromDrawMargin ( object element ) : void
element object The element.
Результат void

RemoveFromView() публичный Метод

Removes from view.
public RemoveFromView ( object element ) : void
element object The element.
Результат void

SetDrawMarginHeight() публичный Метод

Sets the height of the draw margin.
public SetDrawMarginHeight ( double value ) : void
value double The value.
Результат void

SetDrawMarginLeft() публичный Метод

Sets the draw margin left.
public SetDrawMarginLeft ( double value ) : void
value double The value.
Результат void

SetDrawMarginTop() публичный Метод

Sets the draw margin top.
public SetDrawMarginTop ( double value ) : void
value double The value.
Результат void

SetDrawMarginWidth() публичный Метод

Sets the width of the draw margin.
public SetDrawMarginWidth ( double value ) : void
value double The value.
Результат void

ShowLegend() публичный Метод

Shows the legend.
public ShowLegend ( CorePoint at ) : void
at LiveCharts.Dtos.CorePoint At.
Результат void

Update() публичный Метод

Forces the chart to update
public Update ( bool restartView = false, bool force = false ) : void
restartView bool Indicates whether the update should restart the view, animations will run again if true.
force bool Force the updater to run when called, without waiting for the next updater step.
Результат void

Описание свойств

AnimationsSpeedProperty публичное статическое свойство

The animations speed property
public static DependencyProperty,Windows.UI.Xaml AnimationsSpeedProperty
Результат Windows.UI.Xaml.DependencyProperty

AxisXProperty публичное статическое свойство

The axis x property
public static DependencyProperty,Windows.UI.Xaml AxisXProperty
Результат Windows.UI.Xaml.DependencyProperty

AxisYProperty публичное статическое свойство

The axis y property
public static DependencyProperty,Windows.UI.Xaml AxisYProperty
Результат Windows.UI.Xaml.DependencyProperty

ChartCoreModel защищенное свойство

Chart core model, the model calculates the chart.
protected ChartCore,LiveCharts.Charts ChartCoreModel
Результат LiveCharts.Charts.ChartCore

ChartLegendProperty публичное статическое свойство

The chart legend property
public static DependencyProperty,Windows.UI.Xaml ChartLegendProperty
Результат Windows.UI.Xaml.DependencyProperty

DataTooltipProperty публичное статическое свойство

The data tooltip property
public static DependencyProperty,Windows.UI.Xaml DataTooltipProperty
Результат Windows.UI.Xaml.DependencyProperty

DisableAnimationsProperty публичное статическое свойство

The disable animations property
public static DependencyProperty,Windows.UI.Xaml DisableAnimationsProperty
Результат Windows.UI.Xaml.DependencyProperty

HoverableProperty публичное статическое свойство

The hoverable property
public static DependencyProperty,Windows.UI.Xaml HoverableProperty
Результат Windows.UI.Xaml.DependencyProperty

LegendLocationProperty публичное статическое свойство

The legend location property
public static DependencyProperty,Windows.UI.Xaml LegendLocationProperty
Результат Windows.UI.Xaml.DependencyProperty

ScrollBarFillProperty публичное статическое свойство

The scroll bar fill property
public static DependencyProperty,Windows.UI.Xaml ScrollBarFillProperty
Результат Windows.UI.Xaml.DependencyProperty

ScrollHorizontalFromProperty публичное статическое свойство

The scroll horizontal from property
public static DependencyProperty,Windows.UI.Xaml ScrollHorizontalFromProperty
Результат Windows.UI.Xaml.DependencyProperty

ScrollHorizontalToProperty публичное статическое свойство

The scroll horizontal to property
public static DependencyProperty,Windows.UI.Xaml ScrollHorizontalToProperty
Результат Windows.UI.Xaml.DependencyProperty

ScrollModeProperty публичное статическое свойство

The scroll mode property
public static DependencyProperty,Windows.UI.Xaml ScrollModeProperty
Результат Windows.UI.Xaml.DependencyProperty

ScrollVerticalFromProperty публичное статическое свойство

The scroll vertical from property
public static DependencyProperty,Windows.UI.Xaml ScrollVerticalFromProperty
Результат Windows.UI.Xaml.DependencyProperty

ScrollVerticalToProperty публичное статическое свойство

The scroll vertical to property
public static DependencyProperty,Windows.UI.Xaml ScrollVerticalToProperty
Результат Windows.UI.Xaml.DependencyProperty

SeriesColorsProperty публичное статическое свойство

The series colors property
public static DependencyProperty,Windows.UI.Xaml SeriesColorsProperty
Результат Windows.UI.Xaml.DependencyProperty

SeriesProperty публичное статическое свойство

The series property
public static DependencyProperty,Windows.UI.Xaml SeriesProperty
Результат Windows.UI.Xaml.DependencyProperty

TooltipTimeoutProperty публичное статическое свойство

The tooltip timeout property
public static DependencyProperty,Windows.UI.Xaml TooltipTimeoutProperty
Результат Windows.UI.Xaml.DependencyProperty

UpdaterStateProperty публичное статическое свойство

The updater state property
public static DependencyProperty,Windows.UI.Xaml UpdaterStateProperty
Результат Windows.UI.Xaml.DependencyProperty

ZoomProperty публичное статическое свойство

The zoom property
public static DependencyProperty,Windows.UI.Xaml ZoomProperty
Результат Windows.UI.Xaml.DependencyProperty

ZoomingSpeedProperty публичное статическое свойство

The zooming speed property
public static DependencyProperty,Windows.UI.Xaml ZoomingSpeedProperty
Результат Windows.UI.Xaml.DependencyProperty