Click or drag to resize

IPlotRange Interface

Interface to a plot range. A plot range designates a range of indices in the array of already converted plot points (converted to layer coordinates), together with information about the original data rows that correspond to the data.

Namespace: Altaxo.Graph.Plot.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IPlotRange

The IPlotRange type exposes the following members.

Properties
 NameDescription
Public propertyLength Number of points in this plot range.
Public propertyLowerBound First index of a contiguous plot range in the plot point array (i.e. in the array of processed plot point data, not in the original data column). To calculate from which row index in the original data column this comes from, use GetOriginalRowIndexFromPlotPointIndex(Int32).
Public propertyOriginalFirstPoint Row index of the first point of this plot range in the original data column.
Public propertyOriginalLastPoint Row index of the last point of this plot range in the original data column.
Public propertyUpperBound Last index + 1 of a contiguous plot range in the plot point array (i.e. in the array of processed plot point data, not in the original data column). To calculate from which row index in the original data column this comes from, use GetOriginalRowIndexFromPlotPointIndex(Int32).
Top
Methods
 NameDescription
Public methodGetOriginalRowIndexFromPlotPointIndex Returns the row index in the original data column in dependence on the plot point index. Thus, if the argument is set to LowerBound, the return value is OriginalFirstPoint.
Public methodWithUpperBoundExtendedBy Extends the upper boundary by the number of points provided in the parameter.
Public methodWithUpperBoundShortenedBy Shortens the upper boundary by the number of points provided in the parameter.
Top
See Also