import type { NumberRange } from "../../Core/NumberRange"; import type { IPointSeries } from "../Model/PointSeries/IPointSeries"; import type { CoordinateCalculatorBase } from "../Numerics/CoordinateCalculators/CoordinateCalculatorBase"; /** * @summary RenderPassData contains properties which are passed to {@link BaseRenderableSeries} at the time of drawing */ export declare class RenderPassData { readonly indexRange: NumberRange | undefined; readonly getxCoordinateCalculator: () => CoordinateCalculatorBase; readonly getyCoordinateCalculator: () => CoordinateCalculatorBase; readonly isVerticalChart: boolean; readonly pointSeries?: IPointSeries; readonly resamplingHash?: number; readonly visibleIndices?: Int32Array; /** * Creates an instance of RenderPassData * @param indexRange The min and max index to data-range currently visible on the {@link SciChartSurface} * @param getxCoordinateCalculator A function to get the XAxis {@link CoordinateCalculatorBase | Coordinate Calculator}, * used to transform between pixel and data-coordinates * @param getyCoordinateCalculator A function to get the YAxis {@link CoordinateCalculatorBase | Coordinate Calculator}, * used to transform between pixel and data-coordinates * @param isVerticalChart A flag indicating if the chart is currently vertically arranged (XAxis on the left, YAxis on the top/bottom) * @param pointSeries The point series * @param resamplingHash The resampling hash value, used for caching * @param visibleIndices When set, the authoritative list of data/storage row indices to * process this pass. Label generation iterates this list instead of the contiguous * {@link indexRange} window. Used by permuted views (e.g. a grid after a sort/filter) where the * visible rows are non-contiguous in storage, so a single {@link indexRange} cannot express * them. Undefined for the normal contiguous-window case (behaviour unchanged). */ constructor(indexRange: NumberRange | undefined, getxCoordinateCalculator: () => CoordinateCalculatorBase, getyCoordinateCalculator: () => CoordinateCalculatorBase, isVerticalChart: boolean, pointSeries?: IPointSeries, resamplingHash?: number, visibleIndices?: Int32Array); /** * Get the XAxis {@link CoordinateCalculatorBase | Coordinate Calculator}, * used to transform between pixel and data-coordinates */ get xCoordinateCalculator(): CoordinateCalculatorBase; /** * Get the YAxis {@link CoordinateCalculatorBase | Coordinate Calculator}, * used to transform between pixel and data-coordinates */ get yCoordinateCalculator(): CoordinateCalculatorBase; }