C# Class LiveCharts.Wpf.Charts.Base.Chart

Afficher le fichier Open project: beto-rodriguez/Live-Charts

Méthodes publiques

Свойство Type Description
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 Properties

Свойство Type Description
ChartCoreModel ChartCore

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
CallChartUpdater ( bool animate = false, bool updateNow = false ) : PropertyChangedCallback

Calls the chart updater

GetTooltipPosition ( ChartPoint senderPoint ) : Point

Gets the tooltip position.

Private Methods

Méthode Description
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

Method Details

AddToDrawMargin() public méthode

Adds to draw margin.
public AddToDrawMargin ( object element ) : void
element object The element.
Résultat void

AddToView() public méthode

Adds to view.
public AddToView ( object element ) : void
element object The element.
Résultat void

CallChartUpdater() protected static méthode

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.
Résultat PropertyChangedCallback

EnsureElementBelongsToCurrentDrawMargin() public méthode

Ensures the element belongs to current draw margin.
public EnsureElementBelongsToCurrentDrawMargin ( object element ) : void
element object The element.
Résultat void

EnsureElementBelongsToCurrentView() public méthode

Ensures the element belongs to current view.
public EnsureElementBelongsToCurrentView ( object element ) : void
element object The element.
Résultat void

GetCanvas() public méthode

Gets the canvas.
public GetCanvas ( ) : object
Résultat object

GetCanvasElements() public méthode

Gets the canvas elements.
public GetCanvasElements ( ) : int
Résultat int

GetDrawMarginElements() public méthode

Gets the draw margin elements.
public GetDrawMarginElements ( ) : int
Résultat int

GetNextDefaultColor() public méthode

Gets the default color of the next.
public GetNextDefaultColor ( ) : System.Color
Résultat System.Color

GetTooltipPosition() protected méthode

Gets the tooltip position.
protected GetTooltipPosition ( ChartPoint senderPoint ) : Point
senderPoint ChartPoint The sender point.
Résultat Point

HideLegend() public méthode

Hides the legend.
public HideLegend ( ) : void
Résultat void

HideTooltip() public méthode

Hides the tooltip.
public HideTooltip ( ) : void
Résultat void

LoadLegend() public méthode

Loads the legend.
The current legend is not valid, ensure it implements IChartLegend
public LoadLegend ( ) : CoreSize
Résultat CoreSize

MapXAxes() public méthode

Maps the x axes.
public MapXAxes ( ChartCore chart ) : List
chart ChartCore The chart.
Résultat List

MapYAxes() public méthode

Maps the y axes.
public MapYAxes ( ChartCore chart ) : List
chart ChartCore The chart.
Résultat List

MockIt() public méthode

Mocks it.
public MockIt ( CoreSize size ) : void
size CoreSize The size.
Résultat void

RemoveFromDrawMargin() public méthode

Removes from draw margin.
public RemoveFromDrawMargin ( object element ) : void
element object The element.
Résultat void

RemoveFromView() public méthode

Removes from view.
public RemoveFromView ( object element ) : void
element object The element.
Résultat void

SetDrawMarginHeight() public méthode

Sets the height of the draw margin.
public SetDrawMarginHeight ( double value ) : void
value double The value.
Résultat void

SetDrawMarginLeft() public méthode

Sets the draw margin left.
public SetDrawMarginLeft ( double value ) : void
value double The value.
Résultat void

SetDrawMarginTop() public méthode

Sets the draw margin top.
public SetDrawMarginTop ( double value ) : void
value double The value.
Résultat void

SetDrawMarginWidth() public méthode

Sets the width of the draw margin.
public SetDrawMarginWidth ( double value ) : void
value double The value.
Résultat void

ShowLegend() public méthode

Shows the legend.
public ShowLegend ( CorePoint at ) : void
at CorePoint At.
Résultat void

Update() public méthode

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.
Résultat void

Property Details

AnimationsSpeedProperty public_oe static_oe property

The animations speed property
public static DependencyProperty,System.Windows AnimationsSpeedProperty
Résultat System.Windows.DependencyProperty

AxisXProperty public_oe static_oe property

The axis x property
public static DependencyProperty,System.Windows AxisXProperty
Résultat System.Windows.DependencyProperty

AxisYProperty public_oe static_oe property

The axis y property
public static DependencyProperty,System.Windows AxisYProperty
Résultat System.Windows.DependencyProperty

ChartCoreModel protected_oe property

Chart core model, the model calculates the chart.
protected ChartCore ChartCoreModel
Résultat ChartCore

ChartLegendProperty public_oe static_oe property

The chart legend property
public static DependencyProperty,System.Windows ChartLegendProperty
Résultat System.Windows.DependencyProperty

DataTooltipProperty public_oe static_oe property

The data tooltip property
public static DependencyProperty,System.Windows DataTooltipProperty
Résultat System.Windows.DependencyProperty

DisableAnimationsProperty public_oe static_oe property

The disable animations property
public static DependencyProperty,System.Windows DisableAnimationsProperty
Résultat System.Windows.DependencyProperty

HoverableProperty public_oe static_oe property

The hoverable property
public static DependencyProperty,System.Windows HoverableProperty
Résultat System.Windows.DependencyProperty

LegendLocationProperty public_oe static_oe property

The legend location property
public static DependencyProperty,System.Windows LegendLocationProperty
Résultat System.Windows.DependencyProperty

ScrollBarFillProperty public_oe static_oe property

The scroll bar fill property
public static DependencyProperty,System.Windows ScrollBarFillProperty
Résultat System.Windows.DependencyProperty

ScrollHorizontalFromProperty public_oe static_oe property

The scroll horizontal from property
public static DependencyProperty,System.Windows ScrollHorizontalFromProperty
Résultat System.Windows.DependencyProperty

ScrollHorizontalToProperty public_oe static_oe property

The scroll horizontal to property
public static DependencyProperty,System.Windows ScrollHorizontalToProperty
Résultat System.Windows.DependencyProperty

ScrollModeProperty public_oe static_oe property

The scroll mode property
public static DependencyProperty,System.Windows ScrollModeProperty
Résultat System.Windows.DependencyProperty

ScrollVerticalFromProperty public_oe static_oe property

The scroll vertical from property
public static DependencyProperty,System.Windows ScrollVerticalFromProperty
Résultat System.Windows.DependencyProperty

ScrollVerticalToProperty public_oe static_oe property

The scroll vertical to property
public static DependencyProperty,System.Windows ScrollVerticalToProperty
Résultat System.Windows.DependencyProperty

SeriesColorsProperty public_oe static_oe property

The series colors property
public static DependencyProperty,System.Windows SeriesColorsProperty
Résultat System.Windows.DependencyProperty

SeriesProperty public_oe static_oe property

The series property
public static DependencyProperty,System.Windows SeriesProperty
Résultat System.Windows.DependencyProperty

TooltipTimeoutProperty public_oe static_oe property

The tooltip timeout property
public static DependencyProperty,System.Windows TooltipTimeoutProperty
Résultat System.Windows.DependencyProperty

UpdaterStateProperty public_oe static_oe property

The updater state property
public static DependencyProperty,System.Windows UpdaterStateProperty
Résultat System.Windows.DependencyProperty

ZoomProperty public_oe static_oe property

The zoom property
public static DependencyProperty,System.Windows ZoomProperty
Résultat System.Windows.DependencyProperty

ZoomingSpeedProperty public_oe static_oe property

The zooming speed property
public static DependencyProperty,System.Windows ZoomingSpeedProperty
Résultat System.Windows.DependencyProperty