Merge branch 'dev' of github.com:dataease/dataease into dev
This commit is contained in:
commit
d699d184e4
@ -28,6 +28,9 @@ export function baseRadarOption(chart_option, chart) {
|
|||||||
const maxValues = []
|
const maxValues = []
|
||||||
for (let i = 0; i < chart.data.series.length; i++) {
|
for (let i = 0; i < chart.data.series.length; i++) {
|
||||||
const y = chart.data.series[i]
|
const y = chart.data.series[i]
|
||||||
|
if (y.data.length === 0) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
// color
|
// color
|
||||||
y.itemStyle = {
|
y.itemStyle = {
|
||||||
color: hexColorToRGBA(customAttr.color.colors[i % 9], customAttr.color.alpha)
|
color: hexColorToRGBA(customAttr.color.colors[i % 9], customAttr.color.alpha)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user