UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

99 lines (98 loc) 2.37 kB
import { AxisMatcher as AxisMatcher_internal } from "./AxisMatcher"; export class IgxAxisMatcher { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new AxisMatcher_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } /** * If set, tries to match a Axis based on its name. */ get name() { return this.i.i; } set name(v) { this.i.i = v; } /** * If set, tries to match a Axis based on its title. */ get title() { return this.i.j; } set title(v) { this.i.j = v; } /** * If set, tries to match a Axis based on index */ get index() { return this.i.d; } set index(v) { this.i.d = +v; } /** * Combined with MemberPath allows you to select a Axis by member path. */ get memberPathType() { return this.i.h; } set memberPathType(v) { this.i.h = v; } /** * If set, tries to match a Axis based on a member path, combined with MemberPathType. */ get memberPath() { return this.i.g; } set memberPath(v) { this.i.g = v; } /** * If set, tries to match an Axis based on its type, to be used with the typed index, if desired. */ get axisType() { return this.i.f; } set axisType(v) { this.i.f = v; } /** * If set, indicates that the nth axis of a type should be used. */ get typedIndex() { return this.i.e; } set typedIndex(v) { this.i.e = +v; } findByName(name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; } }