Home > Mobile >  WeChat applet using echarts draw map of China, requires a tooltip shows that implementation will zoo
WeChat applet using echarts draw map of China, requires a tooltip shows that implementation will zoo

Time:12-10

Map has been drawn, is now a tooltip is not shown, WeChat applet doesn't seem to support the tooltip, but I also baidu a lot, also have said that can be achieved, hope everybody a great god bosses, help to see if there are any way to
Then there is the function of zoom in, I wrote but have not had any effect on your mobile phone, don't know what the situation, if you can help to look at, very grateful!!!!!!

Post code, each great god see:

Option: {
Tooltip: {
Show: true,
The trigger: 'axis',
Label: {
Normal: {
Show: true
}
},
//triggerOn: "click",//mousemove, click
Padding: 0,
BorderWidth: 1,
BorderColor: "# 409 eff,"
BackgroundColor: "rgba,0.8 (255255255),"
TextStyle: {
Color: # 000000 ", "
FontSize: 12,
},
The formatter: '1111'
},
Geo: {
The map: "China,"
Levenshtein distance: 'scale',
Zoom: 1.1,
ScaleLimit: {
//wheel zoom limit control
Min: 1.1,
Max: 2,
},
Top: "middle",
Label: {
Normal: {
Show: true,
FontSize, "10",
Color: "rgba (0,0,0,0.7),"
},
},
ItemStyle: {
Normal: {
AreaColor: RGB (234, 244, 254) ",
BorderColor: RGB (142, 192, 242) ",
},
Emphasis: {
AreaColor: "# C9E2FC",
ShadowOffsetX: 0,
ShadowOffsetY: 0,
BorderWidth: 0,
},
},
},
Series: [
{
Name: "China map",
Type: "map",
GeoIndex: 0,
Data: [],
}
],
DataRange: {
Show: false,
SplitList: [],
Color map},//provinces; Start: domain began to value; End: end of range value; Label: legend name; Color: custom color values;
},