C# Класс WpfCharts.SpiderChartPanel

Наследование: System.Windows.Controls.Panel
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
BackgroundColorProperty System.Windows.DependencyProperty
HoleRadiusProperty System.Windows.DependencyProperty
IsInteractiveProperty System.Windows.DependencyProperty
LinesProperty System.Windows.DependencyProperty
MaximumProperty System.Windows.DependencyProperty
MinimumProperty System.Windows.DependencyProperty
TicksProperty System.Windows.DependencyProperty
ValuesChangedEvent System.Windows.RoutedEvent

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

Метод Описание
SpiderChartPanel ( ) : System

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

Метод Описание
ArrangeOverride ( Size finalSize ) : Size

Arrange all children based on the geometric equations for the circle.

MeasureOverride ( Size availableSize ) : Size
OnBackgroundColorChanged ( Color oldBackgroundColor, Color newBackgroundColor ) : void

Provides derived classes an opportunity to handle changes to the BackgroundColor property.

OnHoleRadiusChanged ( double oldHoleRadius, double newHoleRadius ) : void

Provides derived classes an opportunity to handle changes to the HoleRadius property.

OnIsInteractiveChanged ( bool oldIsInteractive, bool newIsInteractive ) : void

Provides derived classes an opportunity to handle changes to the IsInteractive property.

OnLinesChanged ( IEnumerable oldLines, IEnumerable newLines ) : void

Provides derived classes an opportunity to handle changes to the Lines property.

OnMaximumChanged ( double oldMaximum, double newMaximum ) : void

Provides derived classes an opportunity to handle changes to the Maximum property.

OnMinimumChanged ( double oldMinimum, double newMinimum ) : void

Provides derived classes an opportunity to handle changes to the Minimum property.

OnRender ( System.Windows.Media.DrawingContext dc ) : void
OnTicksChanged ( double oldTicks, double newTicks ) : void

Provides derived classes an opportunity to handle changes to the Ticks property.

RaiseValuesChangedEvent ( string arg, List arg2 ) : ValuesChangedEventArgs

A helper method to raise the ValuesChanged event.

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

Метод Описание
ComputeNewValue ( Point position, int nearestIndexOnLine ) : void
DeviceOnUpdated ( object sender, EventArgs e ) : void
Distance ( Point pt1, Point pt2 ) : double

Computes the Euclidean distance between pt1 and pt2

DrawBackground ( System.Windows.Media.DrawingContext dc ) : void

Draw background (with hole)

GetPoint ( Point center, double radius, double angle ) : Point
LinesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnBackgroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BackgroundColor property.

OnHoleRadiusChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the HoleRadius property.

OnIsInteractiveChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsInteractive property.

OnLinesChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Lines property.

OnMaximumChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Maximum property.

OnMinimumChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Minimum property.

OnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnTicksChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Ticks property.

RaiseValuesChangedEvent ( DependencyObject target, string name, List values ) : ValuesChangedEventArgs

A static helper method to raise the ValuesChanged event on a target element.

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

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

Arrange all children based on the geometric equations for the circle.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
Результат System.Windows.Size

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

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
Результат System.Windows.Size

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

Provides derived classes an opportunity to handle changes to the BackgroundColor property.
protected OnBackgroundColorChanged ( Color oldBackgroundColor, Color newBackgroundColor ) : void
oldBackgroundColor Color
newBackgroundColor Color
Результат void

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

Provides derived classes an opportunity to handle changes to the HoleRadius property.
protected OnHoleRadiusChanged ( double oldHoleRadius, double newHoleRadius ) : void
oldHoleRadius double
newHoleRadius double
Результат void

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

Provides derived classes an opportunity to handle changes to the IsInteractive property.
protected OnIsInteractiveChanged ( bool oldIsInteractive, bool newIsInteractive ) : void
oldIsInteractive bool
newIsInteractive bool
Результат void

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

Provides derived classes an opportunity to handle changes to the Lines property.
protected OnLinesChanged ( IEnumerable oldLines, IEnumerable newLines ) : void
oldLines IEnumerable
newLines IEnumerable
Результат void

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

Provides derived classes an opportunity to handle changes to the Maximum property.
protected OnMaximumChanged ( double oldMaximum, double newMaximum ) : void
oldMaximum double
newMaximum double
Результат void

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

Provides derived classes an opportunity to handle changes to the Minimum property.
protected OnMinimumChanged ( double oldMinimum, double newMinimum ) : void
oldMinimum double
newMinimum double
Результат void

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

protected OnRender ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
Результат void

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

Provides derived classes an opportunity to handle changes to the Ticks property.
protected OnTicksChanged ( double oldTicks, double newTicks ) : void
oldTicks double
newTicks double
Результат void

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

A helper method to raise the ValuesChanged event.
protected RaiseValuesChangedEvent ( string arg, List arg2 ) : ValuesChangedEventArgs
arg string
arg2 List
Результат ValuesChangedEventArgs

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

public SpiderChartPanel ( ) : System
Результат System

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

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

BackgroundColor Dependency Property
public static DependencyProperty,System.Windows BackgroundColorProperty
Результат System.Windows.DependencyProperty

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

HoleRadius Dependency Property
public static DependencyProperty,System.Windows HoleRadiusProperty
Результат System.Windows.DependencyProperty

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

IsInteractive Dependency Property
public static DependencyProperty,System.Windows IsInteractiveProperty
Результат System.Windows.DependencyProperty

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

Lines Dependency Property (acts as a kind of ItemsSource, triggering a redraw when the collection is changed)
public static DependencyProperty,System.Windows LinesProperty
Результат System.Windows.DependencyProperty

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

Maximum Dependency Property
public static DependencyProperty,System.Windows MaximumProperty
Результат System.Windows.DependencyProperty

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

Minimum Dependency Property
public static DependencyProperty,System.Windows MinimumProperty
Результат System.Windows.DependencyProperty

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

Ticks Dependency Property
public static DependencyProperty,System.Windows TicksProperty
Результат System.Windows.DependencyProperty

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

ValuesChanged Routed Event
public static RoutedEvent,System.Windows ValuesChangedEvent
Результат System.Windows.RoutedEvent