-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Labels
bugenThis issue is in EnglishThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
Version
5.2.0
Steps to reproduce
option = {
title: {
textBaseline: 'middle',
text: "Test",
top: "center"
},
singleAxis: {
left: 150,
type: 'category',
boundaryGap: false,
top: "center",
data: ["a", "b", "c", "d", "e"],
},
series: [{
// singleAxisIndex: 0,
coordinateSystem: 'singleAxis',
type: 'scatter',
data: [
{
value: [0, 5],
itemStyle: {opacity: 0.15, label: {show: true, color: "black"}},
label: {show: true, backgroundColor: "white"}
}, {
value: [1, 10],
label: {show: true, backgroundColor: "white"}
}, {
value: [2, 15],
itemStyle: {color: "orange", opacity: 0.15, label: {show: true, color: "black"}},
label: {show: true, backgroundColor: "white"}
}, {
value: [3, 8],
label: {show: true, backgroundColor: "white"}
}, {
value: [4, 15],
label: {show: true, backgroundColor: "white"}
}
],
symbolSize: function (dataItem) {
return dataItem[1] * 4;
},
}],
};What is expected?
The label options can be easily turned on.
What is actually happening?
The label options never work on the "Scatter on Single Axis"
I am quite confused, why the label options never work on the "Scatter on Single Axis"? Do I need to use some other techniques to turn it on?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.