@syncfusion/ej2-charts
Version:
Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.
72 lines (71 loc) • 2.41 kB
TypeScript
import { PathOption } from '@syncfusion/ej2-svg-base';
import { Series } from './chart-series';
import { LineBase } from './line-base';
import { Axis } from '../../chart/axis/axis';
/**
* The `StackingStepAreaSeries` module is used to render the stacking step area series.
*/
export declare class StackingStepAreaSeries extends LineBase {
private prevStep;
/**
* Render the Stacking Step Area series.
*
* @param {Series} stackSeries - The series to be rendered.
* @param {Axis} xAxis - The x-axis of the chart.
* @param {Axis} yAxis - The y-axis of the chart.
* @param {boolean} isInverted - Specifies whether the chart is inverted.
* @param {boolean} pointAnimate - Specifies whether the point has to be animated or not.
* @param {boolean} pointUpdate - Specifies whether the point has to be updated or not.
* @returns {void}
* @private
*/
render(stackSeries: Series, xAxis: Axis, yAxis: Axis, isInverted: boolean, pointAnimate: boolean, pointUpdate?: boolean): void;
/**
* To animate point for stacking step area series.
*
* @param {Series} series - Specifies the series.
* @param {number} point - Specifies the point.
* @returns {void}
* @private
*/
updateDirection(series: Series, point: number[]): void;
/**
* Adds a area path to equate the start and end paths.
*
* @param {PathOption} options - The options for the path.
* @param {Series} series - The series to which the path belongs.
* @param {string} clipRect - The clip rectangle for the path.
* @returns {void}
* @private
*/
addPath(options: PathOption, series: Series, clipRect: string): void;
/**
* Animates the series.
*
* @param {Series} series - Defines the series to animate.
* @returns {void}
* @private
*/
doAnimation(series: Series): void;
/**
* To destroy the stacking step area.
*
* @returns {void}
* @private
*/
destroy(): void;
/**
* Get module name.
*
* @returns {string} - Returns the module name.
*/
protected getModuleName(): string;
/**
* To get the nearest visible point.
*
* @param {Points[]} points points
* @param {number} j index
* @returns {number} - Returns the nearest visible point.
*/
private getNextVisiblePointIndex;
}