You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "wcc111 (via GitHub)" <gi...@apache.org> on 2024/07/23 07:14:10 UTC
[I] [错误] [echarts]
wcc111 opened a new issue, #20189:
URL: https://github.com/apache/echarts/issues/20189
### Version
5.5.1
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html
### Steps to Reproduce
## 第一步
粘贴下面配置到编辑器中
- 此配置中的数据全部相同
- 配置了渐变色
```js
option = {
title: {
text: '渐变色折线图示例'
},
tooltip: {
trigger: 'axis'
},
legend: {
data: ['数据系列1']
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul']
},
yAxis: {
type: 'value'
},
series: [
{
name: '数据系列1',
type: 'line',
stack: '总量',
data: [20, 20, 20, 20, 20, 20, 20], // 确保每个点的数据相同
lineStyle: {
width: 3,
color: {
type: 'linear',
x: 0,
y: 0,
x2: 1,
y2: 1,
colorStops: [
{ offset: 0, color: '#FF6F61' }, // 0% 处的颜色
{ offset: 1, color: '#D5AAFF' } // 100% 处的颜色
],
global: false // 缺省为 false
}
},
itemStyle: {
color: '#FF6F61' // 数据点颜色
}
}
]
};
```
## 第二步
选择SVG渲染器
### Current Behavior
在此配置下 折线不连起来 而是显示出一个个的点
### Expected Behavior
显示出一条直线
### Environment
```markdown
- OS: MacOS 14.5
- Browser: Safari 17.5
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [错误] [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #20189: [错误]
URL: https://github.com/apache/echarts/issues/20189
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [错误] [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #20189:
URL: https://github.com/apache/echarts/issues/20189#issuecomment-2244865041
已知问题,后续会讨论修复。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [错误] [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #20189:
URL: https://github.com/apache/echarts/issues/20189#issuecomment-2244863001
Duplicate of #15467
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [错误] [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20189:
URL: https://github.com/apache/echarts/issues/20189#issuecomment-2244429831
@wcc111 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[mistake]
**BODY**
### Version
5.5.1
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html
### Steps to Reproduce
## First step
Paste the following configuration into the editor
- The data in this configuration are all the same
- Configured gradient color
```js
option = {
title: {
text: 'Example of gradient line chart'
},
tooltip: {
trigger: 'axis'
},
legend: {
data: ['data series 1']
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul']
},
yAxis: {
type: 'value'
},
series: [
{
name: 'Data Series 1',
type: 'line',
stack: 'total amount',
data: [20, 20, 20, 20, 20, 20, 20], // Make sure the data of each point is the same
lineStyle: {
width: 3,
color: {
type: 'linear',
x: 0,
y: 0,
x2: 1,
y2: 1,
colorStops: [
{ offset: 0, color: '#FF6F61' }, // Color at 0%
{ offset: 1, color: '#D5AAFF' } // Color at 100%
],
global: false // Default is false
}
},
itemStyle: {
color: '#FF6F61' // Data point color
}
}
]
};
```
## Step 2
Select SVG renderer
### Current Behavior
In this configuration, the polylines are not connected, but are displayed as points one by one.
### Expected Behavior
show a straight line
### Environment
```markdown
- OS: MacOS 14.5
- Browser: Safari 17.5
- Framework:
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org