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

Показать файл Открыть проект

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

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

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

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

Private Properties

Свойство Тип Описание
AttachHoverableEventTo void
Chart System
ChartUpdated void
DataMouseDown void
DataMouseEnter void
DataMouseLeave void
DisableSectionDragMouseUp void
DragSection void
GetDesignerModeCollection SeriesCollection
MouseWheelOnRoll void
OnDataClick void
OnDraggingEnd void
OnDraggingStart void
OnIsVisibleChanged void
OnLoaded void
OnSeriesChanged void
OnSizeChanged void
PrepareScrolBar void
ScrollBarOnMouseDown void
ScrollBarOnMouseMove void
ScrollBarOnMouseUp 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 ( ) : System.Color

Gets the default color of the next.

HideLegend ( ) : void

Hides the legend.

HideTooltip ( ) : void

Hides the tooltip.

LoadLegend ( ) : CoreSize

Loads the legend.

MapXAxes ( ChartCore chart ) : List

Maps the x axes.

MapYAxes ( ChartCore chart ) : List

Maps the y axes.

MockIt ( 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, System.Windows.Input.MouseEventArgs e ) : void
DataMouseEnter ( object sender, EventArgs e ) : void
DataMouseLeave ( object sender, EventArgs e ) : void
DisableSectionDragMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs mouseButtonEventArgs ) : void
DragSection ( object sender, System.Windows.Input.MouseEventArgs e ) : void
GetDesignerModeCollection ( ) : SeriesCollection
MouseWheelOnRoll ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
OnDataClick ( object sender, ChartPoint point ) : void
OnDraggingEnd ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnDraggingStart ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnIsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
OnLoaded ( object sender, RoutedEventArgs args ) : void
OnSeriesChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs args ) : void
PrepareScrolBar ( ) : void
ScrollBarOnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ScrollBarOnMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
ScrollBarOnMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ScrollLimitOnChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ScrollModeOnChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetClip ( ) : void
TooltipTimeoutCallback ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
TooltipTimeoutTimerOnTick ( object sender, EventArgs eventArgs ) : void
UpdateChartFrequency ( DependencyObject o, System.Windows.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 ( ) : System.Color
Результат System.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 ( ) : CoreSize
Результат CoreSize

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

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

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

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

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

Mocks it.
public MockIt ( CoreSize size ) : void
size 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 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,System.Windows AnimationsSpeedProperty
Результат System.Windows.DependencyProperty

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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