C# Class LogViewer.Controls.SimpleLineChart

Inheritance: System.Windows.Controls.UserControl
Show file Open project: Dronacharya-Org/Dronacharya Class Usage Examples

Public Properties

Property Type Description
StrokeProperty System.Windows.DependencyProperty
StrokeThicknessProperty System.Windows.DependencyProperty

Public Methods

Method Description
SetCurrentValue ( DataValue value ) : void

Call this method when you turn on LiveScrolling.

SetData ( DataSeries series ) : void
SimpleLineChart ( ) : System

Protected Methods

Method Description
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

Private Methods

Method Description
AddScaledValues ( System.Windows.Media.PathFigure figure, int start, int end ) : void
CloseBoxClick ( object sender, RoutedEventArgs e ) : void
ComputeScale ( ) : bool

Returns true if the scale just changed.

ComputeScaleSelf ( ) : bool
HandleMouseLeave ( ) : void
HandleMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
HidePointer ( ) : void
OnUpdateTimerTick ( object sender, object e ) : void
ResetZoom ( ) : void
SimpleLineChart_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
SmoothScroll ( DataValue newValue ) : void
StartUpdateTimer ( ) : void
StopUpdateTimer ( ) : void
UpdateChart ( ) : void
UpdatePointer ( Point pos ) : void
ZoomTo ( double x, double width ) : void

Method Details

OnMouseLeave() protected method

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

SetCurrentValue() public method

Call this method when you turn on LiveScrolling.
public SetCurrentValue ( DataValue value ) : void
value LogViewer.Model.DataValue
return void

SetData() public method

public SetData ( DataSeries series ) : void
series LogViewer.Model.DataSeries
return void

SimpleLineChart() public method

public SimpleLineChart ( ) : System
return System

Property Details

StrokeProperty public static property

public static DependencyProperty,System.Windows StrokeProperty
return System.Windows.DependencyProperty

StrokeThicknessProperty public static property

public static DependencyProperty,System.Windows StrokeThicknessProperty
return System.Windows.DependencyProperty