UNPKG

igniteui-webcomponents-charts

Version:

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

142 lines (137 loc) 5.22 kB
import { IgPoint } from "igniteui-webcomponents-core"; import { IgcCategoryAxisBaseComponent } from "./igc-category-axis-base-component"; import { IgcNumericYAxisComponent } from "./igc-numeric-y-axis-component"; import { IgcRangeCategorySeriesComponent } from "./igc-range-category-series-component"; import { HorizontalRangeCategorySeries } from "./HorizontalRangeCategorySeries"; import { IgcAxisComponent } from "./igc-axis-component"; /** * Base class for ranged category series with a category X-axis and a numeric Y-axis. * * Instantiate HorizontalAnchoredCategorySeries */ export declare abstract class IgcHorizontalRangeCategorySeriesComponent extends IgcRangeCategorySeriesComponent { /** * @hidden */ get i(): HorizontalRangeCategorySeries; constructor(); connectedCallback(): void; disconnectedCallback(): void; private static _observedAttributesIgcHorizontalRangeCategorySeriesComponent; static get observedAttributes(): string[]; /** * Gets or sets the effective x-axis for the current CategorySeries object. * * 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 the current CategorySeries object. * * 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); /** * Checks if this series is a range series * * You can use the `IsRange` to get the current series is a range type series. * * <!-- Angular JS --> * * ```ts * var r = this.series.isRange; * ``` */ get isRange(): boolean; /** * Gets or sets the label displayed before series' Low value in the Data Legend. */ get lowMemberAsLegendLabel(): string; set lowMemberAsLegendLabel(v: string); /** * Gets or sets the label displayed before series' High value in the Data Legend. */ get highMemberAsLegendLabel(): string; set highMemberAsLegendLabel(v: string); /** * Gets or sets the unit displayed after series' Low value in the Data Legend. */ get lowMemberAsLegendUnit(): string; set lowMemberAsLegendUnit(v: string); /** * Gets or sets the unit displayed after series' High value in the Data Legend. */ get highMemberAsLegendUnit(): string; set highMemberAsLegendUnit(v: string); bindAxes(axes: IgcAxisComponent[]): 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. * * 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; getNextOrExactIndex(world: IgPoint, skipUnknowns: boolean): number; getPreviousOrExactIndex(world: IgPoint, skipUnknowns: boolean): number; getSeriesValue(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): number; getSeriesLowValue(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): number; getSeriesHighValue(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): number; getSeriesHighValuePosition(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): IgPoint; getSeriesLowValuePosition(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): IgPoint; getSeriesValuePosition(world: IgPoint, useInterpolation: boolean, skipUnknowns: boolean): IgPoint; /** * 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 */ canUseAsYAxis(axis: any): boolean; /** * 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; }