Skip to content

[Feature] echarts5的x轴type:time,能同时支持echarts 4.9.0的x轴type:time效果么? #20047

Closed
@huihui925

Description

@huihui925

What problem does this feature solve?

期望结果: 希望echarts5版本,能支持旧版的效果。

能解决的问题:
一:echarts 4.9.0版本,设置x轴type:time且设置min和max后。得到的结果:

  1. x坐标轴 时间会自动设置且不会拥挤,文字不会重叠。
  2. echarts内部会根据不同情况,自动设置是精确到年月日或者时分秒等。
    如图:
    image
    image

目前echarts5不知道该如何达到旧版的效果,新功能分级模板的展示格式(无法满足自动根据min-max范围设置格式 且x轴每个刻度保持一致),另外x轴刻度还会重叠 拥挤,设置interval分割来达到不重叠效果,需要计算,感觉也有点问题。

What does the proposed API look like?

希望echarts5版本,能支持旧版的效果

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions