IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Graph data & control class. More...
Public Member Functions | |
GraphBase (string description, string title) | |
GraphAxisItem | AddXAxis () |
Adds a new X axis to the graph and returns it. More... | |
GraphAxisItem | AddYAxis () |
Adds a new Y axis to the graph and returns it. More... | |
void | RemoveAxis (GraphAxisItem axis) |
Removes the specified axis from the graph. More... | |
GraphAxisItem | getXAxis () |
Returns the first axis for which IsXAxis evaluates to true. More... | |
GraphAxisItem | getYAxis () |
Returns the first axis for which IsYAxis evaluates to true. More... | |
GraphAxisItem | getX2Axis () |
Returns the first axis for which IsX2Axis evaluates to true. More... | |
GraphAxisItem | getY2Axis () |
Returns the first axis for which IsY2Axis evaluates to true. More... | |
void | OpenModalWindow () |
Opens a new modal window containing the graph control that renders the current graph. More... | |
void | OpenWindow () |
Creates and shows in a new thread a window containing the graph control that renders the current graph. More... | |
void | DetachGraphWindow () |
Removes the top-level graph window. More... | |
Static Public Member Functions | |
static void | Example () |
Protected Member Functions | |
void | OpenWindowCurrentThread () |
Opens a new modal window containing the graph control that renders the current graph. More... | |
Protected Attributes | |
string | _title |
string | _description |
ZedGraphControl | _graphControl |
Thread | _windowThread |
Properties | |
object | Lock [get] |
PaneBase | Pane [get] |
The graph pane the chart is show in. More... | |
MasterPane | MasterPane [get] |
The graph pane the chart is show in. More... | |
GraphPane | GraphPane [get] |
The graph pane the chart is show in (same as .Pane). More... | |
virtual string | Title [get, set] |
Graph title. More... | |
virtual string | Description [get, set] |
Graph description. More... | |
ZedGraphControl | GraphControl [get, protected set] |
The control the graph pane is in. More... | |
List< GraphAxisItem > | Axes [get] |
Gets a list of axes maintained in the graph. More... | |
List< GraphPlotItem > | PlotItems [get] |
Gets a list of plot items (such as lines or bar charts) contained 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... | |
![]() | |
object | Lock [get] |
Private Member Functions | |
void | Init (string description, string title) |
Private Attributes | |
object | _lock = new object() |
List< GraphAxisItem > | _axes = new List<GraphAxisItem>() |
List< GraphPlotItem > | _plotItems = new List<GraphPlotItem>() |
Form | _containingForm = null |
Control | _containingControl |
Graph data & control class.
|
inline |
|
inlineprivate |
|
inline |
Adds a new X axis to the graph and returns it.
References IG.Forms.GraphAxisItem.IsX2Axis, and IG.Forms.GraphAxisItem.IsXAxis.
|
inline |
Adds a new Y axis to the graph and returns it.
References IG.Forms.GraphAxisItem.IsY2Axis, and IG.Forms.GraphAxisItem.IsYAxis.
|
inline |
Removes the specified axis from the graph.
axis |
References IG.Forms.GraphAxisItem.DetachFromGraph().
|
inline |
Returns the first axis for which IsXAxis evaluates to true.
References IG.Forms.GraphAxisItem.IsXAxis.
|
inline |
Returns the first axis for which IsYAxis evaluates to true.
References IG.Forms.GraphAxisItem.IsYAxis.
|
inline |
Returns the first axis for which IsX2Axis evaluates to true.
References IG.Forms.GraphAxisItem.IsX2Axis.
|
inline |
Returns the first axis for which IsY2Axis evaluates to true.
References IG.Forms.GraphAxisItem.IsY2Axis.
|
inline |
Opens a new modal window containing the graph control that renders the current graph.
|
inline |
Creates and shows in a new thread a window containing the graph control that renders the current graph.
|
inlineprotected |
Opens a new modal window containing the graph control that renders the current graph.
References IG.Forms.GraphWindow.GraphControl, IG.Lib.App.Rep, and IG.Lib.IReporterBase.ReportError().
|
inline |
Removes the top-level graph window.
|
inlinestatic |
Referenced by Itaia.ProgramItaia.MainThread().
|
protected |
|
protected |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
get |
Referenced by IG.Forms.GraphLineItem.GraphLineItem().
|
get |
The graph pane the chart is show in.
|
get |
The graph pane the chart is show in.
|
get |
The graph pane the chart is show in (same as .Pane).
|
getset |
Graph title.
|
getset |
Graph description.
|
getprotected set |
The control the graph pane is in.
|
get |
Gets a list of axes maintained in the graph.
|
get |
Gets a list of plot items (such as lines or bar charts) contained in the graph.
Referenced by IG.Forms.GraphLineItem.GraphLineItem().
|
getset |
|
getset |
|
getprotected set |
Thread in which new window is opened.