-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Open
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
Version
6.0.0
Link to Minimal Reproduction
Steps to Reproduce
`option ={
"xAxis": {
"type": "category",
"data": [0.5,1,2],
},
"yAxis": {
"type": "value",
"min": -0.006,
"max": 0.006,
"interval": 0.002,
},
"series": [
{
"name": "测量值",
"type": "bar",
"data": [0.001,0.002,0.001],
"markLine": {
"data": [
{
"name": "上限",
"yAxis": 0.005,
"lineStyle": {
"color": "#ff4444",
}
},
{
"name": "下限",
"yAxis": -0.005,
"lineStyle": {
"color": "#ff4444",
}
}
],
"symbol": "none"
}
}
]
}`
`option ={
"xAxis": {
"type": "category",
"data": [0.5,1,2],
},
"yAxis": {
"type": "value",
"min": -0.06,
"max": 0.06,
"interval": 0.002,
},
"series": [
{
"name": "测量值",
"type": "bar",
"data": [0.001,0.002,0.001],
"markLine": {
"data": [
{
"name": "上限",
"yAxis": 0.005,
"lineStyle": {
"color": "#ff4444",
}
},
{
"name": "下限",
"yAxis": -0.005,
"lineStyle": {
"color": "#ff4444",
}
}
],
"symbol": "none"
}
}
]
}`
`option ={
"xAxis": {
"type": "category",
"data": [0.5,1,2],
},
"yAxis": {
"type": "value",
"min": -0.06,
"max": 0.06,
"interval": 0.002,
},
"series": [
{
"name": "测量值",
"type": "bar",
"data": [0.001,0.002,0.001],
"markLine": {
"data": [
{
"name": "上限",
"yAxis": 0.05,
"lineStyle": {
"color": "#ff4444",
}
},
{
"name": "下限",
"yAxis": -0.05,
"lineStyle": {
"color": "#ff4444",
}
}
],
"symbol": "none"
}
}
]
}`
Current Behavior
Doesn't yAxis in markLine support 3 decimal places?
Expected Behavior
Doesn't yAxis in markLine support 3 decimal places?
Environment
- OS:
- Browser:
- Framework:Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.