UNPKG

igniteui-webcomponents-charts

Version:

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

127 lines (121 loc) 4.35 kB
import { IgRect } from "igniteui-webcomponents-core"; import { IgPoint } from "igniteui-webcomponents-core"; import { IgcCategoryAxisBaseComponent } from "./igc-category-axis-base-component"; import { IgcNumericYAxisComponent } from "./igc-numeric-y-axis-component"; import { IgcAnchoredCategorySeriesComponent } from "./igc-anchored-category-series-component"; import { HorizontalAnchoredCategorySeries } from "./HorizontalAnchoredCategorySeries"; import { IgcAxisComponent } from "./igc-axis-component"; /** * Base class for anchored category series with a category x-axis and a numeric y-axis. * * Instantiate HorizontalAnchoredCategorySeries */ export declare abstract class IgcHorizontalAnchoredCategorySeriesComponent extends IgcAnchoredCategorySeriesComponent { /** * @hidden */ get i(): HorizontalAnchoredCategorySeries; constructor(); connectedCallback(): void; disconnectedCallback(): void; private static _observedAttributesIgcHorizontalAnchoredCategorySeriesComponent; static get observedAttributes(): string[]; /** * Gets or sets the effective x-axis for this series. * * Instantiate xAxis */ get xAxis(): IgcCategoryAxisBaseComponent; set xAxis(v: IgcCategoryAxisBaseComponent); 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 this series. * * Instantiate yAxis */ get yAxis(): IgcNumericYAxisComponent; set yAxis(v: IgcNumericYAxisComponent); private _yAxisName; /** * Gets or sets the name to use to resolve yAxis from markup. */ get yAxisName(): string; set yAxisName(v: string); bindAxes(axes: IgcAxisComponent[]): void; findByName(name: string): any; protected _styling(container: any, component: any, parent?: any): void; /** * 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 * * You can use the `GetCategoryWidth` to get the width of the category grouping a series is in. * * <!-- Angular JS --> * * var x = financialSeries.GetSeriesValueMarkerBoundingBox(new IgxPoint()); * * <!-- Ignite JS --> * * N/A */ getSeriesValueMarkerBoundingBox(world: IgPoint): IgRect; /** * Returns the offset value for this series if grouped on a category axis. * * You can use the `GetOffsetValue` to get the offset value for this series if grouped on a category axis. * * <!-- Angular JS --> * * var g = series.getOffsetValue(); * * <!-- Ignite JS --> * * N/A */ getOffsetValue(): number; /** * Returns the width of the category grouping this series is in. * * You can use the `GetCategoryWidth` to get the width of the category grouping a series is in. * * <!-- Angular JS --> * * var x = this.financialSeries.CanUseAsXAxis(this.xAxis); * * <!-- Ignite JS --> * * N/A */ getCategoryWidth(): number; getSeriesValue(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): number; getPreviousOrExactIndex(world: IgPoint, skipUnknowns: boolean): number; getNextOrExactIndex(world: IgPoint, skipUnknowns: boolean): number; getSeriesValuePosition(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): IgPoint; /** * Determine if object can be used as XAxis * @param axis * The object to check * * You can use the `CanUseAsXAxis` method to determine if object can be used as XAxis * * <!-- Angular JS --> * * var x = this.financialSeries.CanUseAsXAxis(this.xAxis); */ canUseAsXAxis(axis: any): boolean; /** * Determine if object can be used as YAxis * @param axis * The object to check * * You can use the `CanUseAsYAxis` method to determine if object can be used as YAxis * * <!-- Ignite JS --> * * N/A */ canUseAsYAxis(axis: any): boolean; }