robogame opened a new issue #16751:
URL: https://github.com/apache/echarts/issues/16751
### Version
5.3.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
series: [
{
type: 'candlestick',
data: data.values,
name: stock_id+'——'+stockname,
dimensions: [
{name:'test1',type:'number'},
{name:'test2',type:'number'},
{name:'test3',type:'number'},
{name:'test4',type:'number'},
{name:'test4',type:'number'}
],
itemStyle: {
color: upColor,
color0: downColor,
borderColor: undefined,
borderColor0: undefined
},
tooltip: {
formatter: function (param) {
param = param[0];
return [
'日期: ' + param.name + '<hr size=1 style="margin: 3px 0">',
'开盘价: ' + param.data.splice(0, 1)[0] + '<br/>',
'收盘价: ' + param.data.splice(0, 1)[1] + '<br/>',
'最高价: ' + param.data.splice(0, 1)[2] + '<br/>',
'最低价: ' + param.data.splice(0, 1)[3] + '<br/>'
].join('');
}
}
},
### Current Behavior
type: 'candlestick',
dimensions don't work
当设置为K线时,不设置dimensions时,在K线右键点击时,显示"open", "close", "lowest", "highest"
设置dimensions之后,这几个就消失了,不起作用
### Expected Behavior
希望通过dimensions来控制K线右键提示
### Environment
```markdown
- OS:windows10
- Browser:chrome 99.0.4844.51
- Framework:jquery
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]