1. 15 9月, 2020 1 次提交
  2. 07 9月, 2020 4 次提交
    • 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
    • S
      Merge pull request #13242 from apache/new-tooltip2 · 85a47ef6
      sushuang 提交于
      fix:
      85a47ef6
    • 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
  3. 31 8月, 2020 1 次提交
  4. 28 8月, 2020 4 次提交
  5. 26 8月, 2020 2 次提交
  6. 25 8月, 2020 4 次提交
  7. 24 8月, 2020 5 次提交
  8. 21 8月, 2020 3 次提交
  9. 18 8月, 2020 4 次提交
  10. 17 8月, 2020 6 次提交
  11. 16 8月, 2020 4 次提交
  12. 14 8月, 2020 2 次提交