You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2019/11/14 16:54:06 UTC
[incubator-echarts] 01/02: fix: remove unnecessary test.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch fix/axisPointer-multi
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit e75851a3c5fac398980a61d0fa463992b145b490
Author: SHUANG SU <su...@gmail.com>
AuthorDate: Fri Nov 15 00:17:58 2019 +0800
fix: remove unnecessary test.
---
test/line-itemstyle-color-function.html | 91 ---------------------------------
1 file changed, 91 deletions(-)
diff --git a/test/line-itemstyle-color-function.html b/test/line-itemstyle-color-function.html
deleted file mode 100644
index db4978a..0000000
--- a/test/line-itemstyle-color-function.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<html>
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <script src="lib/esl.js"></script>
- <script src="lib/config.js"></script>
- <script src="lib/facePrint.js"></script>
- <script src="lib/testHelper.js"></script>
- <link rel="stylesheet" href="lib/reset.css" />
-</head>
-
-<body>
- <div id="main0"></div>
- <div></div>
- <script>
- var chart;
- var myChart;
-
- require([
- 'echarts'
- ], function (echarts) {
- var option = {
- legend: {
- data: ['回调颜色', '固定颜色'],
- left: 'center',
- bottom: 'bottom'
- },
- xAxis: {
- type: 'category',
- data: [100, 200, 20, 30, 60, 89],
- },
- yAxis: {
- type: 'value',
- },
- series: [
- {
- name: '固定颜色',
- type: 'line',
- data: [123, 568, 111, 222, 123, 56],
- itemStyle: {
- color: param => {
- return colorList[param.seriesIndex]
- },
- borderWidth: 10,
- },
- smooth: true
- },
- {
- name: '回调颜色',
- type: 'line',
- data: [800, 900, 220, 130, 660, 289],
- itemStyle: {
- color: param => {
- return colorList[param.seriesIndex]
- },
- borderWidth: 10,
- },
- smooth: true
- }
- ]
- };
-
- chart = myChart = testHelper.create(echarts, 'main0', {
- option: option
- });
- });
-
- </script>
-</body>
-
-</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org