C# Class Phresco.FusionCharts.Plots

Represents an array of plots to graph
Afficher le fichier Open project: photon-infotech/sharepoint-resource-management Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string x, double y ) : void

Adds a new plot

Contains ( string x ) : bool

Returns true of the x value exists. Returns false if not.

Count ( ) : int

Returns the number of elements in the array

GetX ( int pos ) : string

Gets an x value based on its position in the array

GetY ( int pos ) : double

Gets an y value based on its position in the array

Plots ( ) : System

Constructor

SetY ( int pos, double value ) : void

Sets the y value for an existing plot

XIndexOf ( string x ) : int

Gets the index (position) of a element x

Method Details

Add() public méthode

Adds a new plot
public Add ( string x, double y ) : void
x string a string for xValue
y double a double for yValue
Résultat void

Contains() public méthode

Returns true of the x value exists. Returns false if not.
public Contains ( string x ) : bool
x string
Résultat bool

Count() public méthode

Returns the number of elements in the array
public Count ( ) : int
Résultat int

GetX() public méthode

Gets an x value based on its position in the array
public GetX ( int pos ) : string
pos int
Résultat string

GetY() public méthode

Gets an y value based on its position in the array
public GetY ( int pos ) : double
pos int
Résultat double

Plots() public méthode

Constructor
public Plots ( ) : System
Résultat System

SetY() public méthode

Sets the y value for an existing plot
public SetY ( int pos, double value ) : void
pos int The position of the plot to replace
value double The new y value
Résultat void

XIndexOf() public méthode

Gets the index (position) of a element x
public XIndexOf ( string x ) : int
x string
Résultat int