antvis/G2

框选对文本形式的时间数据不适用 #2591

SentretC posted onGitHub

官方示例https://g2.antv.vision/zh/examples/interaction/brush#element-brush中,若增加chart.scale('year', { type: 'time' });,则框选结果为空白 而如果原始数据为时间戳则可正常框选 似乎可以在range-filter.tsgetFilter函数中,像对待分类度量一样进行特殊处理解决


Fund this Issue

$0.00
Funded

Pull requests