1. 07 9月, 2020 2 次提交
    • 1
      fix: eslint. · e14fd922
      100pah 提交于
      e14fd922
    • 1
      fix: · bb4559fe
      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).
      bb4559fe
  2. 29 7月, 2020 2 次提交
  3. 28 7月, 2020 1 次提交
  4. 26 7月, 2020 1 次提交
  5. 25 7月, 2020 1 次提交
  6. 23 7月, 2020 1 次提交
  7. 22 7月, 2020 1 次提交
  8. 21 7月, 2020 1 次提交
  9. 16 7月, 2020 1 次提交
  10. 15 7月, 2020 1 次提交
  11. 14 7月, 2020 1 次提交
  12. 07 7月, 2020 1 次提交
  13. 01 4月, 2020 1 次提交
  14. 27 3月, 2020 1 次提交
  15. 21 3月, 2020 2 次提交
  16. 18 3月, 2020 1 次提交
  17. 13 3月, 2020 1 次提交
  18. 15 2月, 2020 1 次提交
  19. 03 2月, 2020 1 次提交
  20. 08 1月, 2020 1 次提交
  21. 06 1月, 2020 1 次提交
  22. 28 11月, 2019 1 次提交
  23. 23 4月, 2018 1 次提交
  24. 26 2月, 2018 2 次提交
  25. 11 1月, 2018 1 次提交
  26. 08 1月, 2018 2 次提交
  27. 04 1月, 2018 1 次提交
  28. 27 12月, 2017 1 次提交
  29. 21 10月, 2017 1 次提交
  30. 17 10月, 2017 1 次提交
  31. 14 10月, 2017 1 次提交
  32. 25 5月, 2017 1 次提交
  33. 08 2月, 2017 1 次提交
  34. 23 12月, 2016 1 次提交
  35. 30 11月, 2016 1 次提交