C# Class FaultData.DataWriters.ChartGenerator

Show file Open project: GridProtectionAlliance/openXDA Class Usage Examples

Public Methods

Method Description
ChartGenerator ( DbAdapterContainer dbAdapterContainer, int eventID ) : System
ConvertToChartImageStream ( DbAdapterContainer dbAdapterContainer, System.Xml.Linq.XElement chartElement ) : Stream
ConvertToImageStream ( System.Windows.Forms.DataVisualization.Charting.Chart chart, ChartImageFormat format ) : Stream
GenerateChart ( string title, List keys, List names, System.DateTime startTime, System.DateTime endTime ) : System.Windows.Forms.DataVisualization.Charting.Chart
GetKeys ( System.Xml.Linq.XElement chartElement ) : List
GetNames ( System.Xml.Linq.XElement chartElement ) : List
SetChartSize ( System.Windows.Forms.DataVisualization.Charting.Chart chart, int width, int height ) : void
ToDateTime ( int index ) : System.DateTime

Private Methods

Method Description
GetDataSeries ( string key ) : DataSeries
GetFaultCurveLookup ( ) : DataSeries>.Dictionary
GetVICycleDataGroup ( ) : VICycleDataGroup
GetVIDataGroup ( ) : VIDataGroup
InitializeSeriesLookup ( ) : void

Method Details

ChartGenerator() public method

public ChartGenerator ( DbAdapterContainer dbAdapterContainer, int eventID ) : System
dbAdapterContainer DbAdapterContainer
eventID int
return System

ConvertToChartImageStream() public static method

public static ConvertToChartImageStream ( DbAdapterContainer dbAdapterContainer, System.Xml.Linq.XElement chartElement ) : Stream
dbAdapterContainer DbAdapterContainer
chartElement System.Xml.Linq.XElement
return Stream

ConvertToImageStream() public static method

public static ConvertToImageStream ( System.Windows.Forms.DataVisualization.Charting.Chart chart, ChartImageFormat format ) : Stream
chart System.Windows.Forms.DataVisualization.Charting.Chart
format ChartImageFormat
return Stream

GenerateChart() public method

public GenerateChart ( string title, List keys, List names, System.DateTime startTime, System.DateTime endTime ) : System.Windows.Forms.DataVisualization.Charting.Chart
title string
keys List
names List
startTime System.DateTime
endTime System.DateTime
return System.Windows.Forms.DataVisualization.Charting.Chart

GetKeys() public static method

public static GetKeys ( System.Xml.Linq.XElement chartElement ) : List
chartElement System.Xml.Linq.XElement
return List

GetNames() public static method

public static GetNames ( System.Xml.Linq.XElement chartElement ) : List
chartElement System.Xml.Linq.XElement
return List

SetChartSize() public static method

public static SetChartSize ( System.Windows.Forms.DataVisualization.Charting.Chart chart, int width, int height ) : void
chart System.Windows.Forms.DataVisualization.Charting.Chart
width int
height int
return void

ToDateTime() public method

public ToDateTime ( int index ) : System.DateTime
index int
return System.DateTime