// 当parallelAix存在多个type为category时,非第一个category的选取操作失效
配置项如下
// 当parallelAix存在多个type为category时,非第一个category的选取操作失效
option = {
parallelAxis: [
{dim: 0, name: 'Price'},
{
dim: 1,
name: 'test',
type: 'category',
data: ['true', 'false']
},
{dim: 2, name: 'Net Weight'},
{dim: 3, name: 'Amount'},
{
dim: 4,
name: 'Score',
type: 'category',
data: ['Excellent', 'Good', 'OK', 'Bad']
}
],
series: {
type: 'parallel',
lineStyle: {
width: 4
},
data: [
[12.99, 'true', 100, 82, 'Good'],
[9.99, 'true', 80, 77, 'OK'],
[20, 'false', 50, 60, 'Excellent']
]
}
};