New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

candlestick图表tooltip不显示“Open”“Close”“Lowest”“Highest”这几项数据 #8149

Closed
DemoHu opened this Issue Apr 13, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@DemoHu

DemoHu commented Apr 13, 2018

One-line summary [问题简述]

官方candlestick实例中的demo代码有关于“Open”“Close”“Lowest”“Highest”这几项数据的tooltip设置,但是图中并没有这几项数据
candlestick-brush实例
tooltip: { formatter: function (param) { param = param[0]; return [ 'Date: ' + param.name + '<hr size=1 style="margin: 3px 0">', 'Open: ' + param.data[0] + '<br/>', 'Close: ' + param.data[1] + '<br/>', 'Lowest: ' + param.data[2] + '<br/>', 'Highest: ' + param.data[3] + '<br/>' ].join(''); }

2
3

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:最新官方demo
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

@pissang

This comment has been minimized.

Contributor

pissang commented Apr 13, 2018

“图中并没有这几项数据” 指的是什么?

@DemoHu

This comment has been minimized.

DemoHu commented Apr 13, 2018

3
没有“Open”等这几项数据的展示

@pissang

This comment has been minimized.

Contributor

pissang commented Apr 13, 2018

好像是 series.tooltip.formatter 没起作用 @100pah 看下?

@100pah 100pah closed this in 3d5b8b1 Apr 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment