UNPKG

@syncfusion/ej2-react-charts

Version:

Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for React

45 lines (44 loc) 2.02 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { ComplexBase } from '@syncfusion/ej2-react-base'; /** * `SelectedDataIndex` directive represent the selected data in react Chart. * It must be contained in a Chart component(`ChartComponent`). * ```tsx * <ChartComponent> * <SelectedDataIndexesDirective> * <SelectedDataIndexDirective></SelectedDataIndexDirective> * </SelectedDataIndexesDirective> * </ChartComponent> * ``` */ var StockChartSelectedDataIndexDirective = /** @class */ (function (_super) { __extends(StockChartSelectedDataIndexDirective, _super); function StockChartSelectedDataIndexDirective() { return _super !== null && _super.apply(this, arguments) || this; } StockChartSelectedDataIndexDirective.moduleName = 'stockChartSelectedDataIndex'; return StockChartSelectedDataIndexDirective; }(ComplexBase)); export { StockChartSelectedDataIndexDirective }; var StockChartSelectedDataIndexesDirective = /** @class */ (function (_super) { __extends(StockChartSelectedDataIndexesDirective, _super); function StockChartSelectedDataIndexesDirective() { return _super !== null && _super.apply(this, arguments) || this; } StockChartSelectedDataIndexesDirective.propertyName = 'selectedDataIndexes'; StockChartSelectedDataIndexesDirective.moduleName = 'stockChartSelectedDataIndexes'; return StockChartSelectedDataIndexesDirective; }(ComplexBase)); export { StockChartSelectedDataIndexesDirective };