[GitHub] [incubator-echarts] plainheart commented on issue #13073: wrong timestamp parser when xAxis type is 'time'

2020-08-04 Thread GitBox
plainheart commented on issue #13073: URL: https://github.com/apache/incubator-echarts/issues/13073#issuecomment-668510684 @wlbksy I'm afraid we can't. For a numerical timestamp, ECharts will parse it to a Date object by `new Date(timestamp)`.

[GitHub] [incubator-echarts] plainheart commented on issue #13073: wrong timestamp parser when xAxis type is 'time'

2020-08-03 Thread GitBox
plainheart commented on issue #13073: URL: https://github.com/apache/incubator-echarts/issues/13073#issuecomment-668384775 It may be not a bug but an incorrect usage. `xAxis.data` is just for the type of `category`. If the type is `time`, it can't be specified. > [Category data,