This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
from f24d990 fix: restrict expose of number and format: always declare expose explicitly. add bb4559f fix: (1) Fix some buggy display result in tooltip, like 2 value axis scatter, add add test cases for them. (2) Buggy results in tooltip.renderModel: 'richText' for each cases. And add test cases for them. (3) Add styles to renderMode: 'richText', make them the same as renderMode: 'html'. (4) Make `tooltip.confine` default `true` if `tooltip.renderMode` is `richText`. And fix the positioning of it to avoid to overflow the container, which will be cut. (5) Fix the `tooltip [...] add e14fd92 fix: eslint. new 85a47ef Merge pull request #13242 from apache/new-tooltip2 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: src/chart/graph/GraphSeries.ts | 38 +- src/chart/lines/LinesSeries.ts | 18 +- src/chart/map/MapSeries.ts | 30 +- src/chart/radar/RadarSeries.ts | 69 +- src/chart/sankey/SankeySeries.ts | 43 +- src/chart/themeRiver/ThemeRiverSeries.ts | 28 +- src/chart/tree/TreeSeries.ts | 25 +- src/chart/treemap/TreemapSeries.ts | 19 +- src/component/axisPointer/axisTrigger.ts | 4 +- src/component/marker/MarkerModel.ts | 37 +- src/component/timeline/SliderTimelineModel.ts | 2 +- src/component/timeline/SliderTimelineView.ts | 5 +- src/component/tooltip/TooltipHTMLContent.ts | 49 +- src/component/tooltip/TooltipModel.ts | 10 +- src/component/tooltip/TooltipRichContent.ts | 76 +- src/component/tooltip/TooltipView.ts | 301 ++++---- .../tooltip/helper.ts} | 17 +- src/component/tooltip/seriesFormatTooltip.ts | 154 ++++ src/component/tooltip/tooltipMarkup.ts | 529 +++++++++++++ src/coord/radar/IndicatorAxis.ts | 2 - src/model/Series.ts | 191 +---- src/model/mixin/dataFormat.ts | 83 ++- src/util/format.ts | 121 ++- src/util/log.ts | 2 +- src/util/model.ts | 5 +- src/util/number.ts | 9 + src/util/time.ts | 2 +- src/util/types.ts | 8 +- test/new-tooltip.html | 825 ++++++++++++++------- 29 files changed, 1766 insertions(+), 936 deletions(-) copy src/{chart/graph/circularLayout.ts => component/tooltip/helper.ts} (66%) create mode 100644 src/component/tooltip/seriesFormatTooltip.ts create mode 100644 src/component/tooltip/tooltipMarkup.ts --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org