Click or drag to resize

IGPlotItem Methods

The IGPlotItem type exposes the following members.

Methods
 NameDescription
Public methodApplyGroupStyles 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.
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodCollectStyles 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.
Public methodCopyFrom 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)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodEhParentTunnelingEventHappened
(Inherited from IDocumentLeafNode)
Public methodGetName 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)
Public methodHitTest 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.
Public methodPaint This paints the plot to the layer.
Public methodPaintPostprocessing Called after painting has finished. Can be used to release resources.
Public methodPaintPreprocessing Called before painting takes place.
Public methodPaintSymbol Paints a symbol for this plot item for use in a legend.
Public methodPrepareGroupStyles Prepare the group styles before applying them. This function is called for all plot items in a group before the ApplyStyle function is called.
Public methodPrepareScales 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.
Public methodSetDisposeInProgress Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from IDocumentLeafNode)
Public methodSetPlotStyleFromTemplate Sets the plot style (or sub plot styles) in this item according to a template provided by the plot item in the template argument.
Public methodSuspendGetToken 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)
Public methodTryGetName Test if this item already has a name.
(Inherited from INamedObject)
Public methodVisitDocumentReferences 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)
Top
Extension Methods
 NameDescription
Public Extension MethodGetPropertyContext 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)
Top
See Also