C# Class Schementi.Controls.Sparkline

Interaction logic for Sparkline.xaml
Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: jschementi/sparkline

Méthodes publiques

Свойство Type Description
HighWaterMarkProperty System.Windows.DependencyProperty
LatestLevelProperty System.Windows.DependencyProperty
LineMarginProperty DependencyProperty
LowWaterMarkProperty DependencyProperty
MinYRangeProperty DependencyProperty
PointFillProperty DependencyProperty
PointRadiusProperty DependencyProperty
ShowLatestLevelProperty DependencyProperty
ShowWatermarksProperty DependencyProperty
StrokeThicknessProperty DependencyProperty
TimeSeriesProperty DependencyProperty

Méthodes publiques

Méthode Description
AddTimeValue ( double value, System.DateTime time = null ) : string
OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
OnTimeValueAdded ( Point po, Panel pa, TimeValue timeValue ) : void

Private Methods

Méthode Description
AddPoint ( Point point ) : void
DrawDot ( Point center ) : System.Windows.Shapes.Path
DrawTimeValue ( TimeValue newTimeValue ) : void
GetPoint ( TimeValue timeValue ) : Point
InitializePolyline ( ) : void
OnShowLatestLevelPropertyChanged ( ) : void
OnShowLatestLevelPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnShowWatermarksPropertyChanged ( ) : void
OnShowWatermarksPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTimeSeriesPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTimeSeriesPropertyChanged ( DependencyPropertyChangedEventArgs e ) : void
ResetTimeSeries ( ) : void
SetCanvasHeight ( double y ) : void
SetContainerHeight ( double y ) : void
SetLatestLevel ( double y ) : void
SetWatermarks ( double y ) : void
Sparkline ( ) : System
TimeSeriesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Method Details

AddTimeValue() public méthode

public AddTimeValue ( double value, System.DateTime time = null ) : string
value double
time System.DateTime
Résultat string

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnTimeValueAdded() protected méthode

protected OnTimeValueAdded ( Point po, Panel pa, TimeValue timeValue ) : void
po Point
pa Panel
timeValue TimeValue
Résultat void

Property Details

HighWaterMarkProperty public_oe static_oe property

public static DependencyProperty,System.Windows HighWaterMarkProperty
Résultat System.Windows.DependencyProperty

LatestLevelProperty public_oe static_oe property

public static DependencyProperty,System.Windows LatestLevelProperty
Résultat System.Windows.DependencyProperty

LineMarginProperty public_oe static_oe property

public static DependencyProperty LineMarginProperty
Résultat DependencyProperty

LowWaterMarkProperty public_oe static_oe property

public static DependencyProperty LowWaterMarkProperty
Résultat DependencyProperty

MinYRangeProperty public_oe static_oe property

public static DependencyProperty MinYRangeProperty
Résultat DependencyProperty

PointFillProperty public_oe static_oe property

public static DependencyProperty PointFillProperty
Résultat DependencyProperty

PointRadiusProperty public_oe static_oe property

public static DependencyProperty PointRadiusProperty
Résultat DependencyProperty

ShowLatestLevelProperty public_oe static_oe property

public static DependencyProperty ShowLatestLevelProperty
Résultat DependencyProperty

ShowWatermarksProperty public_oe static_oe property

public static DependencyProperty ShowWatermarksProperty
Résultat DependencyProperty

StrokeThicknessProperty public_oe static_oe property

public static DependencyProperty StrokeThicknessProperty
Résultat DependencyProperty

TimeSeriesProperty public_oe static_oe property

public static DependencyProperty TimeSeriesProperty
Résultat DependencyProperty