MCPcopy Index your code
hub / github.com/apache/echarts / formatTooltip

Method formatTooltip

src/model/Series.ts:536–546  ·  view source on GitHub ↗

* Default tooltip formatter * * @param dataIndex * @param multipleSeries * @param dataType * @param renderMode valid values: 'html'(by default) and 'richText'. * 'html' is used for rendering tooltip in extra DOM form, and the result * string is used a

(
        dataIndex: number,
        multipleSeries?: boolean,
        dataType?: SeriesDataType
    )

Source from the content-addressed store, hash-verified

534 * Notice: The override method can also return string
535 */
536 formatTooltip(
537 dataIndex: number,
538 multipleSeries?: boolean,
539 dataType?: SeriesDataType
540 ): ReturnType<DataFormatMixin['formatTooltip']> {
541 return defaultSeriesFormatTooltip({
542 series: this,
543 dataIndex: dataIndex,
544 multipleSeries: multipleSeries
545 });
546 }
547
548 isAnimationEnabled(): boolean {
549 const ecModel = this.ecModel;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected