UNPKG

igniteui-react-charts

Version:

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

58 lines (56 loc) 1.64 kB
import { IgrHorizontalStackedSeriesBase } from "./igr-horizontal-stacked-series-base"; import { StackedColumnSeries } from "./StackedColumnSeries"; /** * Represents a IgxDataChartComponent stacked column series. */ export class IgrStackedColumnSeries extends IgrHorizontalStackedSeriesBase { createImplementation() { return new StackedColumnSeries(); } /** * @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.acg; } set radiusX(v) { this.i.acg = +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.ach; } set radiusY(v) { this.i.ach = +v; } /** * 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); } }