Skip to content

Commit 8272862

Browse files
committed
update with ECharts 5.1.1
1 parent b2cdc7c commit 8272862

File tree

18 files changed

+81
-58
lines changed

18 files changed

+81
-58
lines changed

ec-canvas/echarts.js

Lines changed: 24 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/bar/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ function initChart(canvas, width, height, dpr) {
1111
canvas.setChart(chart);
1212

1313
var option = {
14-
color: ['#37a2da', '#32c5e9', '#67e0e3'],
1514
tooltip: {
1615
trigger: 'axis',
1716
axisPointer: { // 坐标轴指示器,坐标轴触发有效

pages/funnel/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ function initChart(canvas, width, height, dpr) {
1212

1313
var option = {
1414
backgroundColor: "#ffffff",
15-
color: ["#37A2DA", "#32C5E9", "#67E0E3", "#91F2DE", "#FFDB5C", "#FF9F7F"],
1615
tooltip: {
1716
trigger: 'item',
1817
formatter: "{a}\n{b} : {c}%"

pages/gauge/index.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,14 @@ function initChart(canvas, width, height, dpr) {
1212

1313
var option = {
1414
backgroundColor: "#ffffff",
15-
color: ["#37A2DA", "#32C5E9", "#67E0E3"],
1615
series: [{
1716
name: '业务指标',
1817
type: 'gauge',
1918
detail: {
2019
formatter: '{value}%'
2120
},
2221
axisLine: {
23-
show: true,
24-
lineStyle: {
25-
width: 30,
26-
shadowBlur: 0,
27-
color: [
28-
[0.3, '#67e0e3'],
29-
[0.7, '#37a2da'],
30-
[1, '#fd666d']
31-
]
32-
}
22+
show: true
3323
},
3424
data: [{
3525
value: 40,

pages/graph/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ function initChart(canvas, width, height, dpr) {
1111
canvas.setChart(chart);
1212

1313
var option = {
14-
color: ["#37A2DA", "#32C5E9", "#67E0E3", "#91F2DE", "#FFDB5C", "#FF9F7F"],
1514
title: {
1615
text: 'Graph 简单示例'
1716
},

pages/lazyLoad/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const app = getApp();
44

55
function setOption(chart) {
66
const option = {
7-
color: ['#37a2da', '#32c5e9', '#67e0e3'],
87
tooltip: {
98
trigger: 'axis',
109
axisPointer: { // 坐标轴指示器,坐标轴触发有效

pages/line/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ function initChart(canvas, width, height, dpr) {
1515
text: '测试下面legend的红色区域不应被裁剪',
1616
left: 'center'
1717
},
18-
color: ["#37A2DA", "#67E0E3", "#9FE6B8"],
1918
legend: {
2019
data: ['A', 'B', 'C'],
2120
top: 50,

pages/move/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Page({
3535

3636
function getBarOption() {
3737
return {
38-
color: ['#37a2da', '#32c5e9', '#67e0e3'],
3938
tooltip: {
4039
trigger: 'axis',
4140
axisPointer: { // 坐标轴指示器,坐标轴触发有效

pages/multiCharts/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Page({
4646

4747
function getBarOption() {
4848
return {
49-
color: ['#37a2da', '#32c5e9', '#67e0e3'],
5049
tooltip: {
5150
trigger: 'axis',
5251
axisPointer: { // 坐标轴指示器,坐标轴触发有效
@@ -177,7 +176,6 @@ function getScatterOption() {
177176
};
178177

179178
return {
180-
color: ["#FF7070", "#60B6E3"],
181179
backgroundColor: '#eee',
182180
xAxis: axisCommon,
183181
yAxis: axisCommon,

pages/parallel/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ function initChart(canvas, width, height, dpr) {
1111
canvas.setChart(chart);
1212

1313
var option = {
14-
color: ['#37a2da'],
1514
parallelAxis: [
1615
{ dim: 0, name: 'Price' },
1716
{ dim: 1, name: 'Net Weight' },

0 commit comments

Comments
 (0)