IGPlot |
public interface IGPlotItem : IGPlotItem, ICopyFrom, ICloneable, IChangedEventSource, IDocumentLeafNode, INamedObject, ISuspendableByToken, ITunnelingEventSource, IDisposable, ITreeNodeWithParent<IDocumentLeafNode>, ITreeNode<IDocumentLeafNode>, INodeWithParentNode<IDocumentLeafNode>, ITreeListNodeWithParent<IGPlotItem>, ITreeListNode<IGPlotItem>, ITreeNode<IGPlotItem>, INodeWithParentNode<IGPlotItem>
The IGPlotItem type exposes the following members.
Name | Description | |
---|---|---|
ChildNodes |
Gets the child nodes.
(Inherited from ITreeNodeT) | |
DataObject |
Gets an object that holds the data used for plotting. If not applicable for this kind of plot item, null is returned.
(Inherited from IGPlotItem) | |
IsDisposed |
Gets a value indicating whether this instance is disposed.
(Inherited from IDocumentLeafNode) | |
IsDisposeInProgress |
Gets a value indicating whether this instance is dispose in progress, or the instance is already disposed.
(Inherited from IDocumentLeafNode) | |
IsSuspended |
Gets a value indicating whether this instance is suspended.
(Inherited from ISuspendableByToken) | |
Name |
Gets the name of this instance.
An InvalidOperationException will be thrown if the name is not yet set or can not be retrieved.
(Inherited from INamedObject) | |
ParentCollection | The collection where this plot item belongs to. Can be null for the root item. | |
ParentNode |
Gets the parent node of this node.
(Inherited from INodeWithParentNodeT) | |
ParentObject |
Retrieves the parent object.
(Inherited from IDocumentLeafNode) | |
StyleObject |
Gets an object that holds the style(s) used for plotting. If not applicable for this kind of plot item, null is returned.
(Inherited from IGPlotItem) |
Name | Description | |
---|---|---|
ApplyGroupStyles | Applies the group styles to this plot item. This function is called for all plot items in a group before the next function (for instance PreparePainting) is called. | |
Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable) | |
CollectStyles | Collects all possible group styles that can be applied to this plot item in styles. The styles collected here should be only external styles, i.e. such styles that are indended to be share between different plot items. | |
CopyFrom |
Try to copy from another object. Should try to copy even if the object to copy from is not of
the same type, but a base type. In this case only the base properties should be copied.
(Inherited from ICopyFrom) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
EhParentTunnelingEventHappened | (Inherited from IDocumentLeafNode) | |
GetName |
The name of the plot. It can be of different length. An argument of zero or less
returns the shortest possible name, higher values return more verbose names.
(Inherited from IGPlotItem) | |
HitTest | Test wether the mouse hits a plot item. The default implementation returns null. If you want to have a reaction on mouse click on a curve, return a IHitTestObject. | |
Paint | This paints the plot to the layer. | |
PaintPostprocessing | Called after painting has finished. Can be used to release resources. | |
PaintPreprocessing | Called before painting takes place. | |
PaintSymbol | Paints a symbol for this plot item for use in a legend. | |
PrepareGroupStyles | Prepare the group styles before applying them. This function is called for all plot items in a group before the ApplyStyle function is called. | |
PrepareScales | This routine ensures that the plot item updates all its cached data and send the appropriate events if something has changed. Called before the layer paint routine paints the axes because it must be ensured that the axes scales are scaled correctly before the plots are painted. This function is called before the call to PrepareStyles. | |
SetDisposeInProgress |
Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from IDocumentLeafNode) | |
SetPlotStyleFromTemplate | Sets the plot style (or sub plot styles) in this item according to a template provided by the plot item in the template argument. | |
SuspendGetToken |
Suspends the event handling of the object by getting a suspend token. The event handling of the object is resumed when the suspend token is disposed.
(Inherited from ISuspendableByToken) | |
TryGetName |
Test if this item already has a name.
(Inherited from INamedObject) | |
VisitDocumentReferences |
Replaces path of items (intended for data items like tables and columns) by other paths. Thus it is possible
to change a plot so that the plot items refer to another table.
(Inherited from IGPlotItem) |
Name | Description | |
---|---|---|
Changed | Fired when something in the object has changed. (Inherited from IChangedEventSource) | |
TunneledEvent |
The event that is fired when the object is disposed.
First argument is the sender,
second argument is the original source,
and third argument is the event arg.
(Inherited from ITunnelingEventSource) |
Name | Description | |
---|---|---|
GetPropertyContext |
Gets the property context of the document node. If the provided node is not implementing IPropertyBagOwner, the parent nodes of this node are searched,
until a node which implements IPropertyBagOwner is found.
(Defined by PropertyExtensions) |