IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Contains data and methods for manipulating a single axis item of a graph. Axis items manipulate axis labels and axis ticks. More...
Public Member Functions | |
GraphAxisItem (GraphBase graph) | |
override void | UpdateInGraph () |
Updates the current item in the containing ZedGraph's control. A ZedGraph item corresponding to the current item is updated according to data contained in this item. More... | |
override void | DetachFromGraph () |
Detaches the current item from ZedGraph's graph control. If ZedGraph control contains any items that are managed by the current item, these items may be set invisible or be disposed. References to related representations in the Zedgraph control are deleted, such that connection of the item with the Zedgraph's graph object is broken. More... | |
![]() | |
GraphItem (GraphBase graph) | |
Protected Member Functions | |
void | ResetAxisAssociations () |
Resets all data that associate this axis with any pre-definied axis. More... | |
Protected Attributes | |
ZedGraph.Axis | _axisData = new ZedGraph.XAxis() |
ZedGraph.Axis | _axis |
bool | _isXaxis |
bool | _isX2axis |
bool | _isYaxis |
bool | _isY2axis |
int | _axisIndex =-1 |
Properties | |
ZedGraph.Axis | AxisData [get] |
Axis data containing the settings for the current axis. More... | |
int | Index [get] |
Gets index of the current axis on the Graph. More... | |
ZedGraph.Axis | Axis [get, protected set] |
ZedGraph axes controlled by the current axis. More... | |
bool | IsXAxis [get, set] |
Whether the current axis represents an X axis of the ZegGraph control. More... | |
bool | IsX2Axis [get, set] |
Whether the current axis represents an X2 axis of the ZegGraph control. More... | |
bool | IsYAxis [get, set] |
Whether the current axis represents an left-hand side Y axis of the ZegGraph control. More... | |
bool | IsY2Axis [get, set] |
Whether the current axis represents an right-hand side Y axis of the ZegGraph control. More... | |
double | Min [get, set] |
Gets or sets minimal value on the scale. More... | |
double | Max [get, set] |
Gets or sets maximal value on the scale. Get tries to return ZedGraph axis' maximum, and set tries to set the ZedGrapg axis max. Set also stores the value to internal variable from where Zedgraph's axis value is set on update. More... | |
bool | IsVisible [get, set] |
Whether axis is visible on the graph. More... | |
System.Drawing.Color | ScaleFontColor [get, set] |
Scale font color for the current axis. More... | |
System.Drawing.Color | TitleFontColor [get, set] |
Title font color for the current axis. More... | |
![]() | |
GraphBase | Graph [get, protected set] |
Graph that contains this axis. More... | |
Private Attributes | |
double | _min |
double | _max |
Contains data and methods for manipulating a single axis item of a graph. Axis items manipulate axis labels and axis ticks.
|
inline |
|
inlineprotected |
Resets all data that associate this axis with any pre-definied axis.
|
inlinevirtual |
Updates the current item in the containing ZedGraph's control. A ZedGraph item corresponding to the current item is updated according to data contained in this item.
Implements IG.Forms.GraphItem.
|
inlinevirtual |
Detaches the current item from ZedGraph's graph control. If ZedGraph control contains any items that are managed by the current item, these items may be set invisible or be disposed. References to related representations in the Zedgraph control are deleted, such that connection of the item with the Zedgraph's graph object is broken.
Implements IG.Forms.GraphItem.
Referenced by IG.Forms.GraphBase.RemoveAxis().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
getprotected |
Axis data containing the settings for the current axis.
|
get |
Gets index of the current axis on the Graph.
|
getprotected set |
ZedGraph axes controlled by the current axis.
|
getset |
Whether the current axis represents an X axis of the ZegGraph control.
Referenced by IG.Forms.GraphBase.AddXAxis(), and IG.Forms.GraphBase.getXAxis().
|
getset |
Whether the current axis represents an X2 axis of the ZegGraph control.
Referenced by IG.Forms.GraphBase.AddXAxis(), and IG.Forms.GraphBase.getX2Axis().
|
getset |
Whether the current axis represents an left-hand side Y axis of the ZegGraph control.
Referenced by IG.Forms.GraphBase.AddYAxis(), and IG.Forms.GraphBase.getYAxis().
|
getset |
Whether the current axis represents an right-hand side Y axis of the ZegGraph control.
Referenced by IG.Forms.GraphBase.AddYAxis(), and IG.Forms.GraphBase.getY2Axis().
|
getset |
Gets or sets minimal value on the scale.
|
getset |
Gets or sets maximal value on the scale. Get tries to return ZedGraph axis' maximum, and set tries to set the ZedGrapg axis max. Set also stores the value to internal variable from where Zedgraph's axis value is set on update.
|
getset |
Whether axis is visible on the graph.
|
getset |
Scale font color for the current axis.
|
getset |
Title font color for the current axis.