UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

115 lines (106 loc) 4.43 kB
import { IgRect } from "igniteui-react-core"; import { IgPoint } from "igniteui-react-core"; import { IgrNumericXAxis } from "./igr-numeric-x-axis"; import { IgrCategoryYAxis } from "./igr-category-y-axis"; import { IgrAnchoredCategorySeries, IIgrAnchoredCategorySeriesProps } from "./igr-anchored-category-series"; import { VerticalAnchoredCategorySeries } from "./VerticalAnchoredCategorySeries"; import { IgrAxis } from "./igr-axis"; /** * Represents a vertically laid out category based series. */ export declare abstract class IgrVerticalAnchoredCategorySeries<P extends IIgrVerticalAnchoredCategorySeriesProps = IIgrVerticalAnchoredCategorySeriesProps> extends IgrAnchoredCategorySeries<P> { /** * @hidden */ get i(): VerticalAnchoredCategorySeries; constructor(props: P); /** * Gets or sets the effective x-axis for the current CategorySeries object. */ get xAxis(): IgrNumericXAxis; set xAxis(v: IgrNumericXAxis); private _xAxisName; /** * Gets or sets the name to use to resolve xAxis from markup. */ get xAxisName(): string; set xAxisName(v: string); /** * Gets or sets the effective y-axis for the current CategorySeries object. */ get yAxis(): IgrCategoryYAxis; set yAxis(v: IgrCategoryYAxis); private _yAxisName; /** * Gets or sets the name to use to resolve yAxis from markup. */ get yAxisName(): string; set yAxisName(v: string); /** * Gets whether or not the current series is vertical series */ get isVertical(): boolean; bindAxes(axes: IgrAxis[]): void; findByName(name: string): any; protected _styling(container: any, component: any, parent?: any): void; /** * Returns the offset value for this series if grouped on a category axis. */ getOffsetValue(): number; /** * Returns the width of the category grouping this series is in. */ getCategoryWidth(): number; getNextOrExactIndex(world: IgPoint, skipUnknowns: boolean): number; getPreviousOrExactIndex(world: IgPoint, skipUnknowns: boolean): number; /** * If possible, will return the best available value marker bounding box within the series that has the best value match for the world position provided. * @param world * The world coordinates for which to get a value marker bounding box for */ getSeriesValueMarkerBoundingBox(world: IgPoint): IgRect; getSeriesValue(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): number; getSeriesValuePosition(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): IgPoint; /** * Gets the precise item index, if possible, based on the closeness to the previous or next whole integer. If the series cannot provide this information, GetExactItemIndex will return the same integer value as GetItemIndex. * @param world * The world position for which to return the index. */ getExactItemIndex(world: IgPoint): number; /** * Gets the index of the item that resides at the provided world coordinates. * @param world * The world coordinates of the requested item. */ getItemIndex(world: IgPoint): number; /** * Gets the item that is the best match for the specified world coordinates. * @param world * The world coordinates to use. */ getItem(world: IgPoint): any; /** * Determine if object can be used as YAxis * @param axis * The object to check */ canUseAsYAxis(axis: any): boolean; /** * Determine if object can be used as XAxis * @param axis * The object to check */ canUseAsXAxis(axis: any): boolean; } export interface IIgrVerticalAnchoredCategorySeriesProps extends IIgrAnchoredCategorySeriesProps { /** * Gets or sets the effective x-axis for the current CategorySeries object. */ xAxis?: IgrNumericXAxis; /** * Gets or sets the name to use to resolve xAxis from markup. */ xAxisName?: string; /** * Gets or sets the effective y-axis for the current CategorySeries object. */ yAxis?: IgrCategoryYAxis; /** * Gets or sets the name to use to resolve yAxis from markup. */ yAxisName?: string; }