Skip to content

手机端渲染的GL柱状图点击数据无法显示tooltip #8394

@xuzijie1995

Description

@xuzijie1995

One-line summary [问题简述]

移动端渲染的GL Bar图表 点击 内部柱状条无法显示相应Tooltip 浮动内容,对应pc端浏览器可以

Version & Environment [版本及环境]

  • Loaded claygl, version 1.2.1
  • Loaded echarts, version 4.1.0
  • Google Chrome 版本 66.0.3359.181(正式版本) (64 位) [浏览器类型和版本]:
  • win 8.1 x64 [操作系统类型和版本]:

Expected behaviour [期望结果]

移动端GL图 点击 数据也能显示Tooltip浮动内容框

ECharts option [ECharts配置项]

option = {
                       tooltip: {
				show:true,
				triggerOn:'click',
				position: [10, 10],
				textStyle:{
				}
			},
			color: ['#4575b4', '#74add1', '#abd9e9', '#e0f3f8', '#ffffbf', '#fee090', '#fdae61', '#f46d43', '#d73027', '#a50026'],
			xAxis3D: {
				name:'',
				type: 'category',
				data: ['12a', '1a', '2a'],
				axisPointer:{
					show:false
				},
				axisLabel:{
				}
			},
			yAxis3D: {
				name:'',
				type: 'category',
				data: ['Sunday'],
				axisPointer:{
					show:false
				},
				axisLabel:{
				}
			},
			zAxis3D: {
				name:'',
				type: 'value',
				axisPointer:{
					show:false
				},
				axisLabel:{
				}
			},
			grid3D: {
				boxWidth: setFontSize(100),
				boxDepth: setFontSize(40),
				viewControl: {
					// projection: 'orthographic'
					alpha:15,
					beta:40,
				},
				light: {
					main: {
						intensity: 1.2,
						shadow: true
					},
					ambient: {
						intensity: 0.3
					}
				}
			},
			series: [{
				type: 'bar3D',
				data: [[0,0,5],[0,1,1],[0,2,0]].map(function (item) {
					return {
						value: [item[1], item[0], item[2]],
					}
				}),
				shading: 'lambert',
				label: {
					textStyle: {
						borderWidth: 1
					}
				},

				emphasis: {
					label: {
						textStyle: {
							color: '#900'
						}
					},
					itemStyle: {
						color: '#900'
					}
				}
			}]
}

Other comments [其他信息]

移动手机 与 Google ChromeF12 移动模拟 点击 没有Tooltip框
-1

pc端 点击 显示Tooltip框
-2

Metadata

Metadata

Assignees

Labels

staleInactive for a long time. Will be closed in 7 days.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions