C# Class LitDev.Engines.GraphEngine

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
autoScale bool
borderColour string
borderScale double
doEvents bool
faintlinesColour string
interiorColour string
linesColour string
nTickX double
nTickY double
resolution double
textColour string

Méthodes publiques

Méthode Description
addSeries ( string graphName, string seriesLabel, Primitive data, string colour, eLineType type ) : void
createGraph ( int width, int height ) : string
createSeries ( string seriesLabel, Primitive data, string colour, eLineType type ) : seriesData
deleteSeries ( string graphName, string name ) : void
exportCSV ( plotData _plotData, string fileName ) : void
scaleAxis ( string graphName, double min, double interval, double max, int axis ) : void
setAxes ( string graphName, string title, string labelX, string labelY ) : void
setEvents ( bool bAdd ) : void

Private Methods

Méthode Description
_MouseDownEvent ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseDownEventLegend ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseDownEventScrollX ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseDownEventScrollY ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseMoveEvent ( Object sender, System.Windows.Input.MouseEventArgs e ) : void
_MouseMoveEventLegend ( Object sender, System.Windows.Input.MouseEventArgs e ) : void
_MouseMoveEventScrollX ( Object sender, System.Windows.Input.MouseEventArgs e ) : void
_MouseMoveEventScrollY ( Object sender, System.Windows.Input.MouseEventArgs e ) : void
_MouseUpEvent ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseUpEventLegend ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseUpEventScrollX ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseUpEventScrollY ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_MouseWheelEvent ( Object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
getBrush ( string colour ) : System.Windows.Media.Brush
getInterval ( double range ) : double
getPlotData ( string graphName ) : plotData
mnuCSV_Click ( Object sender, EventArgs e ) : void
mnuExcel_Click ( Object sender, EventArgs e ) : void
mnuHoverVal_Click ( Object sender, EventArgs e ) : void
mnuLegend_Click ( Object sender, EventArgs e ) : void
mnuResetLegend_Click ( Object sender, EventArgs e ) : void
mnuResetZoom_Click ( Object sender, EventArgs e ) : void
mnuSave_Click ( Object sender, EventArgs e ) : void
plotSeries ( System.Windows.Controls.Canvas _graph, plotData _plotData, eZoom eZoom, eRescale eRescale ) : void
plotSeries_Delegate ( ) : void
round ( double &min, double &max ) : void
sigfig ( double val, int sig ) : double

Method Details

addSeries() public méthode

public addSeries ( string graphName, string seriesLabel, Primitive data, string colour, eLineType type ) : void
graphName string
seriesLabel string
data Primitive
colour string
type eLineType
Résultat void

createGraph() public méthode

public createGraph ( int width, int height ) : string
width int
height int
Résultat string

createSeries() public méthode

public createSeries ( string seriesLabel, Primitive data, string colour, eLineType type ) : seriesData
seriesLabel string
data Primitive
colour string
type eLineType
Résultat seriesData

deleteSeries() public méthode

public deleteSeries ( string graphName, string name ) : void
graphName string
name string
Résultat void

exportCSV() public méthode

public exportCSV ( plotData _plotData, string fileName ) : void
_plotData plotData
fileName string
Résultat void

scaleAxis() public méthode

public scaleAxis ( string graphName, double min, double interval, double max, int axis ) : void
graphName string
min double
interval double
max double
axis int
Résultat void

setAxes() public méthode

public setAxes ( string graphName, string title, string labelX, string labelY ) : void
graphName string
title string
labelX string
labelY string
Résultat void

setEvents() public méthode

public setEvents ( bool bAdd ) : void
bAdd bool
Résultat void

Property Details

autoScale public_oe property

public bool autoScale
Résultat bool

borderColour public_oe property

public string borderColour
Résultat string

borderScale public_oe property

public double borderScale
Résultat double

doEvents public_oe property

public bool doEvents
Résultat bool

faintlinesColour public_oe property

public string faintlinesColour
Résultat string

interiorColour public_oe property

public string interiorColour
Résultat string

linesColour public_oe property

public string linesColour
Résultat string

nTickX public_oe property

public double nTickX
Résultat double

nTickY public_oe property

public double nTickY
Résultat double

resolution public_oe property

public double resolution
Résultat double

textColour public_oe property

public string textColour
Résultat string