UNPKG

igniteui-react-charts

Version:

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

32 lines (31 loc) 746 B
import { IgrFragmentBase } from "./igr-fragment-base"; import { AreaFragment } from "./AreaFragment"; /** * Represents one part of a StackedAreaSeries. */ export class IgrAreaFragment extends IgrFragmentBase { createImplementation() { return new AreaFragment(); } /** * @hidden */ get i() { return this._implementation; } constructor(props) { super(props); } /** * Gets whether the current series shows an area or line shape. */ get isAreaOrLine() { return this.i.ex; } /** * Gets whether the current series shows an area shape. */ get isArea() { return this.i.ew; } }