IGLib  1.7.2
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Plot2d.GraphBase Class Reference

Graph data & control class. More...

+ Inheritance diagram for IG.Plot2d.GraphBase:
+ Collaboration diagram for IG.Plot2d.GraphBase:

Public Member Functions

 GraphBase (string title, string description)
 Creates a GraphBase object with the specified title and description. More...
 
void DetachGraphWindow ()
 Opens a new modal window containing the graph control that renders the current graph. More...
 

Static Public Member Functions

static void Example ()
 

Protected Attributes

string _title
 
string _description
 
Thread _windowThread
 

Properties

object Lock [get]
 Object used for thread locking of the current object. More...
 
virtual string Title [get, set]
 Graph title. More...
 
virtual string Description [get, set]
 Graph description. More...
 
List< GraphPlotItemPlotItems [get]
 Gets a list of axes maintained in the graph. More...
 
Form ContainingForm [get, set]
 
Control ContainingControl [get, set]
 
Thread WindowThread [get, protected set]
 Thread in which new window is opened. More...
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 

Private Member Functions

void Init (string title, string description)
 Takes care of initialization. More...
 

Private Attributes

object _lock = new object()
 
List< GraphPlotItem_plotItems = new List<GraphPlotItem>()
 
Form _containingForm = null
 
Control _containingControl
 

Detailed Description

Graph data & control class.

$A Igor Jun09;

Constructor & Destructor Documentation

IG.Plot2d.GraphBase.GraphBase ( string  title,
string  description 
)
inline

Creates a GraphBase object with the specified title and description.

Parameters
titleName (title) of the current plotter.
descriptionDescription of the graph object.

Member Function Documentation

void IG.Plot2d.GraphBase.Init ( string  title,
string  description 
)
inlineprivate

Takes care of initialization.

Parameters
titleTitle of the current graph class.
description
void IG.Plot2d.GraphBase.DetachGraphWindow ( )
inline

Opens a new modal window containing the graph control that renders the current graph.

Removes the top-level graph window.

static void IG.Plot2d.GraphBase.Example ( )
inlinestatic

Member Data Documentation

string IG.Plot2d.GraphBase._title
protected
string IG.Plot2d.GraphBase._description
protected
object IG.Plot2d.GraphBase._lock = new object()
private
List<GraphPlotItem> IG.Plot2d.GraphBase._plotItems = new List<GraphPlotItem>()
private
Form IG.Plot2d.GraphBase._containingForm = null
private
Control IG.Plot2d.GraphBase._containingControl
private
Thread IG.Plot2d.GraphBase._windowThread
protected

Property Documentation

object IG.Plot2d.GraphBase.Lock
get

Object used for thread locking of the current object.

Referenced by IG.Plot2d.GraphLineItem.GraphLineItem().

virtual string IG.Plot2d.GraphBase.Title
getset

Graph title.

virtual string IG.Plot2d.GraphBase.Description
getset

Graph description.

List<GraphPlotItem> IG.Plot2d.GraphBase.PlotItems
get

Gets a list of axes maintained in the graph.

Gets a list of plot items (such as lines or bar charts) contained in the graph.

Referenced by IG.Plot2d.GraphLineItem.GraphLineItem().

Form IG.Plot2d.GraphBase.ContainingForm
getset
Control IG.Plot2d.GraphBase.ContainingControl
getset
Thread IG.Plot2d.GraphBase.WindowThread
getprotected set

Thread in which new window is opened.


The documentation for this class was generated from the following file: