mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
fix(图表): 玫瑰图、饼图时间字段排序无效
This commit is contained in:
parent
23d00e7e02
commit
0b38ef52cc
@ -100,7 +100,12 @@ export class Pie extends G2PlotChartView<PieOptions, G2Pie> {
|
||||
end: [{ trigger: 'interval:mouseleave', action: 'active-region:hide' }]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
meta: {
|
||||
field: {
|
||||
type: 'cat'
|
||||
}
|
||||
}
|
||||
}
|
||||
const options = this.setupOptions(chart, initOptions)
|
||||
|
||||
|
@ -71,7 +71,12 @@ export class Rose extends G2PlotChartView<RoseOptions, G2Rose> {
|
||||
end: [{ trigger: 'interval:mouseleave', action: 'tooltip:hide' }]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
meta: {
|
||||
field: {
|
||||
type: 'cat'
|
||||
}
|
||||
}
|
||||
}
|
||||
const options = this.setupOptions(chart, baseOptions)
|
||||
// custom color
|
||||
|
Loading…
Reference in New Issue
Block a user