C# Class HistorianView.ChartWindow

Interaction logic for ChartWindow.xaml
Exibir arquivo Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Private Properties

Property Type Description
AddCurrentToBackwardHistory void
AddCurrentToForwardHistory void
BackButton_Click void
ClearBackwardHistory void
ClearForwardHistory void
ClearHistory void
ForwardButton_Click void
GetCurrentChartBoundary ChartBoundary
GoBackInHistory void
GoForwardInHistory void
InitializeColors void
InitializeSelectionArea void
OnChartUpdated void
PlotArea_MouseLeftButtonDown void
UpdateSelectionArea void
Window_KeyDown void
Window_KeyUp void
Window_MouseLeftButtonUp void
Window_MouseMove void
Zoom void
ZoomFitButton_Click void
ZoomInButton_Click void
ZoomOutButton_Click void

Public Methods

Method Description
ChartWindow ( ) : System
SetInterval ( string startTimeString, string endTimeString ) : void

Sets the boundaries for the x-axis.

UpdateChart ( ) : void

Updates the chart after changes have been made to the chart boundaries or the data displayed in the chart.

Private Methods

Method Description
AddCurrentToBackwardHistory ( ) : void
AddCurrentToForwardHistory ( ) : void
BackButton_Click ( object sender, RoutedEventArgs e ) : void
ClearBackwardHistory ( ) : void
ClearForwardHistory ( ) : void
ClearHistory ( ) : void
ForwardButton_Click ( object sender, RoutedEventArgs e ) : void
GetCurrentChartBoundary ( ) : ChartBoundary
GoBackInHistory ( ) : void
GoForwardInHistory ( ) : void
InitializeColors ( ) : void
InitializeSelectionArea ( ) : void
OnChartUpdated ( ) : void
PlotArea_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
UpdateSelectionArea ( ) : void
Window_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
Window_KeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
Window_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Zoom ( double leftPercent, double topPercent, double rightPercent, double bottomPercent ) : void
ZoomFitButton_Click ( object sender, RoutedEventArgs e ) : void
ZoomInButton_Click ( object sender, RoutedEventArgs e ) : void
ZoomOutButton_Click ( object sender, RoutedEventArgs e ) : void

Method Details

ChartWindow() public method

public ChartWindow ( ) : System
return System

SetInterval() public method

Sets the boundaries for the x-axis.
public SetInterval ( string startTimeString, string endTimeString ) : void
startTimeString string A string representation of the lower x-axis boundary.
endTimeString string A string representation of the upper x-axis boundary.
return void

UpdateChart() public method

Updates the chart after changes have been made to the chart boundaries or the data displayed in the chart.
public UpdateChart ( ) : void
return void