1. 23 9月, 2020 2 次提交
  2. 21 9月, 2020 1 次提交
  3. 16 9月, 2020 1 次提交
  4. 15 9月, 2020 1 次提交
  5. 07 9月, 2020 2 次提交
    • 1
      ts: (1) add more strict type check for id, name from option. (2) add more... · 99ab1d7a
      100pah 提交于
      ts: (1) add more strict type check for id, name from option. (2) add more strict conversion for id, name from option.
      99ab1d7a
    • 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
  6. 28 8月, 2020 1 次提交
  7. 25 8月, 2020 2 次提交
  8. 18 8月, 2020 2 次提交
  9. 17 8月, 2020 2 次提交
  10. 14 8月, 2020 2 次提交
  11. 13 8月, 2020 1 次提交
  12. 12 8月, 2020 1 次提交
  13. 07 8月, 2020 2 次提交
  14. 03 8月, 2020 1 次提交
  15. 31 7月, 2020 4 次提交
  16. 30 7月, 2020 9 次提交
  17. 29 7月, 2020 6 次提交