* NOTICE: * - prefix `__` can be used to avoid conflicts with possible outside subclasses. * - All of these methods are optional - null-check is needed.
| 80 | * - All of these methods are optional - null-check is needed. |
| 81 | */ |
| 82 | interface SeriesModel { |
| 83 | |
| 84 | preventIncremental(): boolean; |
| 85 | |
| 86 | __preparePipelineContext( |
| 87 | view: ChartView, |
| 88 | pipeline: Pick<Pipeline, 'progressiveEnabled' | 'threshold'> |
| 89 | ): PipelineContext; |
| 90 | |
| 91 | /** |
| 92 | * If `true`, a default `startValue` (`0`) is used if not specified in ec option, |
| 93 | * and axis extent will union it. |
| 94 | * Otherwise, `startValue` will be included in the union of axis extent only if |
| 95 | * it is explicitly specified in ec option. |
| 96 | * |
| 97 | * @see {AxisBaseOptionCommon['startValue']} for more info. |
| 98 | */ |
| 99 | __requireStartValue(axis: Axis): boolean; |
| 100 | |
| 101 | /** |
| 102 | * See tooltip. |
| 103 | * Implement it if needed. |
| 104 | * @return Point of tooltip. null/undefined can be returned. |
| 105 | */ |
| 106 | getTooltipPosition(dataIndex: number): number[]; |
| 107 | |
| 108 | /** |
| 109 | * Get data indices for show tooltip content. See tooltip. |
| 110 | * Implement it if needed. |
| 111 | */ |
| 112 | getAxisTooltipData( |
| 113 | dim: DimensionName[], |
| 114 | value: ScaleDataValue, |
| 115 | baseAxis: Axis |
| 116 | ): { |
| 117 | dataIndices: number[], |
| 118 | nestestValue: any |
| 119 | }; |
| 120 | |
| 121 | /** |
| 122 | * Get position for marker |
| 123 | */ |
| 124 | getMarkerPosition( |
| 125 | value: ScaleDataValue[], |
| 126 | dims?: typeof dimPermutations[number], |
| 127 | startingAtTick?: boolean |
| 128 | ): number[]; |
| 129 | |
| 130 | /** |
| 131 | * Get legend icon symbol according to each series type |
| 132 | */ |
| 133 | getLegendIcon(opt: LegendIconParams): ECSymbol | Group; |
| 134 | |
| 135 | /** |
| 136 | * See `component/brush/selector.js` |
| 137 | * Defined the brush selector for this series. |
| 138 | */ |
| 139 | brushSelector( |
no outgoing calls
no test coverage detected
searching dependent graphs…