- 07 9月, 2020 2 次提交
-
-
由 100pah 提交于
-
由 100pah 提交于
(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.formatter` callback in `renderMode: 'richText'`, previously the concatenating rich text by `params.marker.content` does not work. (6) Refactor the implementation of `Series['formatTooltip']`: Add a abstract layer named `TooltipMarkup` to describe the tooltip layout requirement for each series, instead of lots of messy code to concatenate `html` and `richText` in each series. `TooltipMarkup` is responsible for generating `html` or `richText` finally. Add `TooltipMarkup` is also in charge of sort the tooltip by `valueAsc`, `valueDesc`, `seriesAsc`, `seriesDesc`. [TEST_CASES]: test/new-tooltip.html [PENDING]: Do we need to expose API (like `tooltipMarkup.ts#TooltipMarkupStyleCreator`) to `tooltip.formatter` callback, by which users can add richText style themselves. At present users is not able to do that. But if we expose that kind of API, there is an issue: should we use ZRender style (use `fill` to describe text color) or ECharts label style (use `color` to describe text color).
-
- 29 7月, 2020 2 次提交
- 28 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 26 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 25 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 23 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 22 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 21 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 16 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 15 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 14 7月, 2020 1 次提交
-
-
由 susiwen8 提交于
-
- 07 7月, 2020 1 次提交
-
-
由 pissang 提交于
-
- 01 4月, 2020 1 次提交
-
-
由 pissang 提交于
-
- 27 3月, 2020 1 次提交
-
-
由 100pah 提交于
-
- 21 3月, 2020 2 次提交
-
-
由 100pah 提交于
And add rule "no-var" to eslintrc
-
由 100pah 提交于
Use eslint rule to check the diff between var and let: "no-use-before-define": "off" "@typescript-eslint/no-use-before-define": 2 no-redeclare: 2 block-scoped-var: 2 no-loop-func: 2 (2) By the way add some eslint rule and unify some code style.
-
- 18 3月, 2020 1 次提交
-
-
由 100pah 提交于
-
- 13 3月, 2020 1 次提交
-
-
由 pissang 提交于
-
- 15 2月, 2020 1 次提交
-
-
由 100pah 提交于
-
- 03 2月, 2020 1 次提交
-
-
由 100pah 提交于
-
- 08 1月, 2020 1 次提交
-
-
由 yufeng04 提交于
-
- 06 1月, 2020 1 次提交
-
-
由 yufeng04 提交于
-
- 28 11月, 2019 1 次提交
-
-
由 pissang 提交于
-
- 23 4月, 2018 1 次提交
-
-
由 pissang 提交于
-
- 26 2月, 2018 2 次提交
- 11 1月, 2018 1 次提交
-
-
由 sushuang 提交于
-
- 08 1月, 2018 2 次提交
- 04 1月, 2018 1 次提交
-
-
由 sushuang 提交于
-
- 27 12月, 2017 1 次提交
-
-
由 pissang 提交于
-
- 21 10月, 2017 1 次提交
-
-
由 sushuang 提交于
-
- 17 10月, 2017 1 次提交
-
-
由 sushuang 提交于
-
- 14 10月, 2017 1 次提交
-
-
由 sushuang 提交于
-
- 25 5月, 2017 1 次提交
-
-
由 pah100 提交于
-
- 08 2月, 2017 1 次提交
-
-
由 100pah 提交于
-
- 23 12月, 2016 1 次提交
-
-
由 100pah 提交于
-
- 30 11月, 2016 1 次提交
-
-
由 100pah 提交于
-