igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
67 lines (65 loc) • 2.84 kB
TypeScript
import { IgcTimeAxisBreakCollection } from "./igc-time-axis-break-collection";
import { TimeAxisLabellingMode } from "./TimeAxisLabellingMode";
import { IgcTimeAxisLabelFormatCollection } from "./igc-time-axis-label-format-collection";
import { IgcTimeAxisIntervalCollection } from "./igc-time-axis-interval-collection";
import { IgcTimeAxisBaseComponent } from "./igc-time-axis-base-component";
import { TimeXAxis } from "./TimeXAxis";
/**
* A horizontal axis that uses a DateTime scale.
*
* The `TimeXAxis` is a horizontal axis that uses a DateTime scale.
*/
export declare class IgcTimeXAxisComponent extends IgcTimeAxisBaseComponent {
protected createImplementation(): TimeXAxis;
/**
* @hidden
*/
get i(): TimeXAxis;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
private static _observedAttributesIgcTimeXAxisComponent;
static get observedAttributes(): string[];
static htmlTagName: string;
protected static _isElementRegistered: boolean;
static register(): void;
get isPiecewise(): boolean;
private _breaks;
/**
* TimeAxisBreaks to apply to this axis, representing spans of time to omit, such as weekends.
*
* The `Breaks` to apply to this axis, representing spans of time to omit, such as weekends.
*/
get breaks(): IgcTimeAxisBreakCollection;
set breaks(v: IgcTimeAxisBreakCollection);
/**
* Gets or sets the labelling mode to use when the automatic label formats are applied.
*/
get labellingMode(): TimeAxisLabellingMode;
set labellingMode(v: TimeAxisLabellingMode);
private _labelFormats;
/**
* A list of axis label formats to apply, which are selected according to the visible axis range.
* The label format selected will be the one with the largest range smaller than the visible range of the axis.
*/
get labelFormats(): IgcTimeAxisLabelFormatCollection;
set labelFormats(v: IgcTimeAxisLabelFormatCollection);
private _intervals;
/**
* A list of axis label intervals to apply, which are selected according to the visible axis range.
* The interval selected will be the one with the largest range smaller than the visible range of the axis.
*/
get intervals(): IgcTimeAxisIntervalCollection;
set intervals(v: IgcTimeAxisIntervalCollection);
/**
* Gets if the current axis is of category date time axis type
*/
get isCategoryDateTime(): boolean;
findByName(name: string): any;
getValueLabel(value: number): string;
/**
* Gets the index of the data item with the value nearest the given value.
* @param unscaledValue * The value to find a value close to.
*/
getIndexClosestToUnscaledValue(unscaledValue: number): number;
}