UNPKG

igniteui-react-charts

Version:

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

67 lines (64 loc) 1.87 kB
import { IgrAnchoredRadialSeries } from "./igr-anchored-radial-series"; import { RadialColumnSeries } from "./RadialColumnSeries"; /** * Represents a IgxDataChartComponent radial column series. * Compare values across categories by using radial rectangles. */ export class IgrRadialColumnSeries extends IgrAnchoredRadialSeries { createImplementation() { return new RadialColumnSeries(); } /** * @hidden */ get i() { return this._implementation; } constructor(props) { super(props); } /** * Gets whether the current series shows a column shape. */ get isColumn() { return this.i.e1; } /** * Overridden by derived series classes to indicate when marker-less display is preferred or not. */ get isMarkerlessDisplayPreferred() { return this.i.fm; } /** * Gets or sets the x-radius of the ellipse that is used to round the corners of the column. */ get radiusX() { return this.i.adz; } set radiusX(v) { this.i.adz = +v; } /** * Gets or sets the y-radius of the ellipse that is used to round the corners of the column. */ get radiusY() { return this.i.ad0; } set radiusY(v) { this.i.ad0 = +v; } /** * When overridden in a derived class, is invoked whenever application code or internal processes * call ApplyTemplate. */ onApplyTemplate() { this.i.ac(); } /** * For a category plotted series, returns the current width of the items within the categories. This only returns a value if the items have some form of width (e.g. columns, bars, etc.) otherwise 0 is returned. */ getItemSpan() { let iv = this.i.iy(); return (iv); } }