You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/05/05 01:51:20 UTC
[echarts] branch enhance-visual-regression-test updated: test: fix
tests with error
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch enhance-visual-regression-test
in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/enhance-visual-regression-test by this push:
new 3a147bc test: fix tests with error
3a147bc is described below
commit 3a147bc82076094cc9633bc3fe20bec5df491b93
Author: pissang <bm...@gmail.com>
AuthorDate: Wed May 5 09:47:57 2021 +0800
test: fix tests with error
---
test/force2.html | 2 +-
test/parallel-aqi.html | 15 +--------------
test/parallel-nutrients.html | 12 +-----------
3 files changed, 3 insertions(+), 26 deletions(-)
diff --git a/test/force2.html b/test/force2.html
index 0bd5ebf..6111b71 100644
--- a/test/force2.html
+++ b/test/force2.html
@@ -45,7 +45,7 @@ under the License.
var gexf = dataTool.gexf;
- var chart = echarts.init(document.getElementById('main');
+ var chart = echarts.init(document.getElementById('main'));
$.get('./data/les-miserables.gexf', function (xml) {
var graph = gexf.parse(xml);
diff --git a/test/parallel-aqi.html b/test/parallel-aqi.html
index e581f0c..53d19c9 100644
--- a/test/parallel-aqi.html
+++ b/test/parallel-aqi.html
@@ -115,20 +115,7 @@ under the License.
padding: 10,
backgroundColor: '#222',
borderColor: '#777',
- borderWidth: 1,
- formatter: function (obj) {
- var value = obj[0].value;
- return '<div style="border-bottom: 1px solid rgba(255,255,255,.3); font-size: 18px;padding-bottom: 7px;margin-bottom: 7px">'
- + obj[0].seriesName + ' ' + value[0] + '日期:'
- + value[7]
- + '</div>'
- + schema[1].text + ':' + value[1] + '<br>'
- + schema[2].text + ':' + value[2] + '<br>'
- + schema[3].text + ':' + value[3] + '<br>'
- + schema[4].text + ':' + value[4] + '<br>'
- + schema[5].text + ':' + value[5] + '<br>'
- + schema[6].text + ':' + value[6] + '<br>';
- }
+ borderWidth: 1
},
visualMap: {
show: true,
diff --git a/test/parallel-nutrients.html b/test/parallel-nutrients.html
index 7b97660..8b7b130 100644
--- a/test/parallel-nutrients.html
+++ b/test/parallel-nutrients.html
@@ -157,17 +157,7 @@ under the License.
padding: 10,
backgroundColor: '#222',
borderColor: '#777',
- borderWidth: 1,
- formatter: function (obj) {
- var value = obj[0].value;
- return '<div style="border-bottom: 1px solid rgba(255,255,255,.3); font-size: 18px;padding-bottom: 7px;margin-bottom: 7px">'
- + schema[1].name + ':' + value[1] + '<br>'
- + schema[2].name + ':' + value[2] + '<br>'
- + schema[3].name + ':' + value[3] + '<br>'
- + schema[4].name + ':' + value[4] + '<br>'
- + schema[5].name + ':' + value[5] + '<br>'
- + schema[6].name + ':' + value[6] + '<br>';
- }
+ borderWidth: 1
},
title: [
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org