C# Class Phresco.FusionCharts.Plots

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

Public Methods

Method 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 method

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

Contains() public method

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

Count() public method

Returns the number of elements in the array
public Count ( ) : int
return int

GetX() public method

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

GetY() public method

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

Plots() public method

Constructor
public Plots ( ) : System
return System

SetY() public method

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
return void

XIndexOf() public method

Gets the index (position) of a element x
public XIndexOf ( string x ) : int
x string
return int