[GitHub] [echarts] Ovilia commented on a diff in pull request #18820: feat(pie): add angleRange for control pie range

2023-06-28 Thread via GitHub


Ovilia commented on code in PR #18820:
URL: https://github.com/apache/echarts/pull/18820#discussion_r1246196504


##
src/chart/pie/PieSeries.ts:
##
@@ -112,6 +112,7 @@ export interface PieSeriesOption extends
 
 clockwise?: boolean
 startAngle?: number
+angleRange?: number

Review Comment:
   Could we make the default value of `endAngle` to be `'auto'` to avoid this?



-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch fix/workflow-env-var deleted (was 3f083f1ba)

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch fix/workflow-env-var
in repository https://gitbox.apache.org/repos/asf/echarts.git


 was 3f083f1ba chore(workflow): fix wrong env variable

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch master updated (48de47ed7 -> 78f56df4f)

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


from 48de47ed7 Merge pull request #18803 from apache/workflow/pr-preview
 add 3f083f1ba chore(workflow): fix wrong env variable
 new 78f56df4f Merge pull request #18828 from apache/fix/workflow-env-var

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] 01/01: Merge pull request #18828 from apache/fix/workflow-env-var

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 78f56df4f6541e94b6625a8e9042074d3b65a66a
Merge: 48de47ed7 3f083f1ba
Author: Wenli Zhang 
AuthorDate: Thu Jun 29 14:57:48 2023 +0800

Merge pull request #18828 from apache/fix/workflow-env-var

chore(workflow): fix wrong env variable

 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #18828: chore(workflow): fix wrong env variable

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on PR #18828:
URL: https://github.com/apache/echarts/pull/18828#issuecomment-1612520041

   Congratulations! Your PR has been merged. Thanks for your contribution! 👍


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] Ovilia merged pull request #18828: chore(workflow): fix wrong env variable

2023-06-28 Thread via GitHub


Ovilia merged PR #18828:
URL: https://github.com/apache/echarts/pull/18828


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on pull request #18828: chore(workflow): fix wrong env variable

2023-06-28 Thread via GitHub


github-actions[bot] commented on PR #18828:
URL: https://github.com/apache/echarts/pull/18828#issuecomment-1612512301

   
   The changes brought by this PR can be previewed at: 
https://echarts.apache.org/examples/editor?version=PR-18828@3f083f1
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #18828: chore(workflow): fix wrong env variable

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on PR #18828:
URL: https://github.com/apache/echarts/pull/18828#issuecomment-1612507641

   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the 
coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki 
about [How to make a pull 
request](https://github.com/apache/echarts/wiki/How-to-make-a-pull-request).
   
   The pull request is marked to be `PR: author is committer` because you are a 
committer of this project.
   
   To reviewers: If this PR is going to be described in the changelog in the 
future release, please make sure this PR has one of the following labels: `PR: 
doc ready`, `PR: awaiting doc`, `PR: doc unchanged`
   
   This message is shown because the PR description doesn't contain the 
document related template.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] plainheart opened a new pull request, #18828: chore(workflow): fix wrong env variable

2023-06-28 Thread via GitHub


plainheart opened a new pull request, #18828:
URL: https://github.com/apache/echarts/pull/18828

   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [ ] new feature
   - [x] others
   
   
   ### What does this PR do?
   
   Fix the wrong environment variable `github.pull_request.merged` -> 
`github.event.pull_request.merged` in #18803.
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch fix/workflow-env-var created (now 3f083f1ba)

2023-06-28 Thread wangzx
This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a change to branch fix/workflow-env-var
in repository https://gitbox.apache.org/repos/asf/echarts.git


  at 3f083f1ba chore(workflow): fix wrong env variable

This branch includes the following new commits:

 new 3f083f1ba chore(workflow): fix wrong env variable

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] 01/01: chore(workflow): fix wrong env variable

2023-06-28 Thread wangzx
This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch fix/workflow-env-var
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 3f083f1bab940eaeb98f167185424b9024984213
Author: Zhongxiang Wang 
AuthorDate: Thu Jun 29 14:42:20 2023 +0800

chore(workflow): fix wrong env variable
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 157752a64..9d64c3492 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -156,7 +156,7 @@ jobs:
 
   teardown-preview:
 runs-on: ubuntu-latest
-if: ${{ github.repository_owner == 'apache' && github.event.action == 
'closed' && github.pull_request.merged != true }}
+if: ${{ github.repository_owner == 'apache' && github.event.action == 
'closed' && github.event.pull_request.merged != true }}
 continue-on-error: true
 steps:
   - name: Install action dependencies


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #18827: [Feature] 如何实现PowerPI的动态气泡图动画效果?

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on issue #18827:
URL: https://github.com/apache/echarts/issues/18827#issuecomment-1612503406

   @alistuff 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. 🤗
   TRANSLATED
   
   **TITLE**
   
   [Feature] How to realize the dynamic bubble chart animation effect of 
PowerPI?
   
   **BODY**
   
   ### What problem does this feature solve?
   
   
![chart](https://github.com/apache/echarts/assets/7888295/119cd25b-425e-4565-901b-31003655b5c0)
   
   The official scatter plot configuration items are difficult to achieve the 
animation effect of the dynamic bubble chart in the above picture. Are there 
other implementation ideas?
   
   Thanks.
   
   ### What does the proposed API look like?
   
   None.
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] alistuff opened a new issue, #18827: [Feature] 如何实现PowerPI的动态气泡图动画效果?

2023-06-28 Thread via GitHub


alistuff opened a new issue, #18827:
URL: https://github.com/apache/echarts/issues/18827

   ### What problem does this feature solve?
   
   
![chart](https://github.com/apache/echarts/assets/7888295/119cd25b-425e-4565-901b-31003655b5c0)
   
   官方的散点图配置项难以实现上图的动态气泡图动画效果,还有其他实现思路么?
   
   谢谢。
   
   ### What does the proposed API look like?
   
   暂无。


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-www] branch master updated: chore: update element-ui lib version

2023-06-28 Thread wangzx
This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/master by this push:
 new 7a5cc17f chore: update element-ui lib version
7a5cc17f is described below

commit 7a5cc17f4ee6f1229caad5f87e4685faf9870ef0
Author: plainheart 
AuthorDate: Thu Jun 29 14:29:08 2023 +0800

chore: update element-ui lib version
---
 config/common.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/common.js b/config/common.js
index 127e227b..0e063149 100644
--- a/config/common.js
+++ b/config/common.js
@@ -19,8 +19,8 @@ module.exports = {
 
 // CDN for doc
 vueJS: 'https://fastly.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js',
-elementUIJS: 
'https://fastly.jsdelivr.net/npm/element-ui@2.13.2/lib/index.js',
-elementUICSS: 
'https://fastly.jsdelivr.net/npm/element-ui@2.13.2/lib/theme-chalk/index.css',
+elementUIJS: 
'https://fastly.jsdelivr.net/npm/element-ui@2.15.13/lib/index.js',
+elementUICSS: 
'https://fastly.jsdelivr.net/npm/element-ui@2.15.13/lib/theme-chalk/index.css',
 codeMirrorJS: 
'https://fastly.jsdelivr.net/npm/codemirror@5.56.0/lib/codemirror.min.js',
 codeMirrorJSModeJS: 
'https://fastly.jsdelivr.net/npm/codemirror@5.56.0/mode/javascript/javascript.js',
 beautifierJS: 
'https://fastly.jsdelivr.net/npm/js-beautify@1.11.0/js/lib/beautifier.min.js',


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] zz0v0 opened a new issue, #18826: [Feature] scale problem

2023-06-28 Thread via GitHub


zz0v0 opened a new issue, #18826:
URL: https://github.com/apache/echarts/issues/18826

   ### What problem does this feature solve?
   
   
![图片1](https://github.com/apache/echarts/assets/132249281/02404c72-2ad7-4003-a9cf-23eaa776e88f)
   When displaying a curve in a coordinate system, the coordinate scale is 
often determined from the bottom end of the vertical coordinate or the leftmost 
end of the horizontal coordinate. Now we want the scale to expand in both 
directions with the origin as the reference point. As shown in the following 
figure, how can we let the program automaticall set the vertical coordinate 
scale interval being 6, but the scale displayed is -12, -6, 0, 6, 12?
   
   
   ### What does the proposed API look like?
   
   Now we want the scale to expand in both directions with the origin as the 
reference point. As shown in the following figure, how can we let the program 
automaticall set the vertical coordinate scale interval being 6, but the scale 
displayed is -12, -6, 0, 6, 12?
   


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] closed issue #18825: [Feature]

2023-06-28 Thread via GitHub


echarts-bot[bot] closed issue #18825: [Feature] 
URL: https://github.com/apache/echarts/issues/18825


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] zz0v0 opened a new issue, #18825: [Feature]

2023-06-28 Thread via GitHub


zz0v0 opened a new issue, #18825:
URL: https://github.com/apache/echarts/issues/18825

   ### What problem does this feature solve?
   
   
![图片1](https://github.com/apache/echarts/assets/132249281/fd96c207-ce64-45fa-974d-34de947bf61b)
   When displaying a curve in a coordinate system, the coordinate scale is 
often determined from the bottom end of the vertical coordinate or the leftmost 
end of the horizontal coordinate. Now we want the scale to expand in both 
directions with the origin as the reference point. As shown in the following 
figure, how can we let the program automaticall set the vertical coordinate 
scale interval being 6, but the scale displayed is -12, -6, 0, 6, 12?
   
   
   ### What does the proposed API look like?
   
   Now we want the scale to expand in both directions with the origin as the 
reference point. As shown in the following figure, how can we let the program 
automaticall set the vertical coordinate scale interval being 6, but the scale 
displayed is -12, -6, 0, 6, 12?
   


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] linghaoSu commented on a diff in pull request #18820: feat(pie): add angleRange for control pie range

2023-06-28 Thread via GitHub


linghaoSu commented on code in PR #18820:
URL: https://github.com/apache/echarts/pull/18820#discussion_r1246084781


##
src/chart/pie/PieSeries.ts:
##
@@ -112,6 +112,7 @@ export interface PieSeriesOption extends
 
 clockwise?: boolean
 startAngle?: number
+angleRange?: number

Review Comment:
   Yes, at first I was going to use `endAngle`, but since `startAngle` has been 
around for a long time, using `endAngle` would probably cause breaking change. 
if `startAngle` is set to a non-default value and `endAngle` is still the 
default, it's no longer a complete pie chart. So I feel that endAngle may not 
be a particularly good way to go. Of course naming consistency is a great thing.



-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #18824: [Bug] The line chart linkage prompt part of the line chart is not displayed

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on issue #18824:
URL: https://github.com/apache/echarts/issues/18824#issuecomment-1612398414

   @mayunyi 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. 🤗
   TRANSLATED
   
   **BODY**
   
   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/mayunyi/pen/bGQqmye?editors=1010
   
   ### Steps to Reproduce
   
   ```
   
   import * as echarts from 'echarts'
   import {useEffect, useMemo, useRef} from 'react'
   import {FullscreenOutlined} from "@ant-design/icons";
   import {Col, Row} from "antd";
   
   const LineChart = ( { chartData=[], height}) => {
   //Get the DOM container
   const chartRef = useRef();
   
   const goSinglePage = () => {
   
   }
   
   // Re-render in realtime whenever props change
   useEffect(()=>{
   const chartInit = []
   const chartContainers = document. querySelectorAll('.chart');
   chartContainers.forEach((container, index) => {
   const chart = echarts.init(container);
   const option = {
   legend: {
   left: 'top',
   itemStyle: {
   opacity: 0
   },
   },
   tooltip: {
   trigger: 'axis'
   },
   xAxis: {
   type: 'category',
   data: chartData[index].XData
   },
   yAxis: {
   type: 'value'
   },
   series: [
   {
   name: chartData[index].title,
   data: chartData[index].yData,
   type: 'line',
   symbol: 'none',
   smooth: true,
   sampling: "lttb"
   },
   ],
   grid: {
   left: 20,
   right: 20,
   containLabel: true,
   top: 60, // Adjust the height of the chart to make room 
for dataZoom
   bottom: 20
   },
   dataZoom: [{
   type: 'slider',
   start: 0,
   end: 1,
   xAxisIndex: [0],
   top: '70%',
   height: 20,
   show: false
   }]
   }
   chart. setOption(option);
   chartInit. push(chart)
   });
   
   // create slider component
   const sliderContainer = document. getElementById('sliderContainer');
   const sliderChart = echarts.init(sliderContainer);
   
   const sliderOption = {
   xAxis: {
   type: 'category',
   data: chartData.length > 0 ? chartData[0].XData: []
   },
   yAxis: {
   type: 'value'
   },
   grid: {
   left: 10,
   right: 10,
   containLabel: false,
   top: 60, // Adjust the height of the chart to make room for 
dataZoom
   bottom: 20
   },
   dataZoom: [{
   type: 'slider',
   start: 0,
   end: 1,
   xAxisIndex: [0],
   // top: '70%',
   height: 20
   }]
   };
   sliderChart. setOption(sliderOption);
   chartInit. push(sliderChart)
   echarts. connect(chartInit)
   }, [chartData]);
   
   // style of dom object
   const domStyle = useMemo(() => {
   return {
   height: height ? `${height}px` : '100%',
   }
   }, [height])
   
   return (
   
   
   {
   chartData. map((_, index) => {
   return(
   
   
   
   
   
   
   
   
   )
   })
   }
   
   
   
   
   )
   };
   export default LineChart;
   
   ```
   
   ### Current Behavior
   
   
![image](https://github.com/apache/echarts/assets/26814094/b6bbdfa6-7046-4e47-8435-6c0cdd9eef8d)
   The tooltip in the multi-table linkage part is not displayed
   
   ### Expected Behavior
   
   Multi-table l

[GitHub] [echarts] mayunyi opened a new issue, #18824: [Bug] The line chart linkage prompt part of the line chart is not displayed

2023-06-28 Thread via GitHub


mayunyi opened a new issue, #18824:
URL: https://github.com/apache/echarts/issues/18824

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/mayunyi/pen/bGQqmye?editors=1010
   
   ### Steps to Reproduce
   
   ```
   
   import * as echarts from 'echarts'
   import {useEffect, useMemo, useRef} from 'react'
   import {FullscreenOutlined} from "@ant-design/icons";
   import {Col, Row} from "antd";
   
   const LineChart = ( { chartData=[], height}) => {
   //拿到DOM容器
   const chartRef = useRef();
   
   const goSinglePage = () => {
   
   }
   
   // 每当props改变的时候就会实时重新渲染
   useEffect(()=>{
   const chartInit = []
   const chartContainers = document.querySelectorAll('.chart');
   chartContainers.forEach((container, index) => {
   const chart = echarts.init(container);
   const option = {
   legend: {
   left: 'top',
   itemStyle: {
   opacity: 0
   },
   },
   tooltip: {
   trigger: 'axis'
   },
   xAxis: {
   type: 'category',
   data: chartData[index].XData
   },
   yAxis: {
   type: 'value'
   },
   series: [
   {
   name: chartData[index].title,
   data: chartData[index].yData,
   type: 'line',
   symbol: 'none',
   smooth: true,
   sampling:"lttb"
   },
   ],
   grid: {
   left: 20,
   right: 20,
   containLabel: true,
   top: 60, // 调整图表的高度,腾出空间放置 dataZoom
   bottom: 20
   },
   dataZoom: [{
   type: 'slider',
   start: 0,
   end: 1,
   xAxisIndex: [0],
   top: '70%',
   height: 20,
   show: false
   }]
   }
   chart.setOption(option);
   chartInit.push(chart)
   });
   
   // 创建滑块组件
   const sliderContainer = document.getElementById('sliderContainer');
   const sliderChart = echarts.init(sliderContainer);
   
   const sliderOption = {
   xAxis: {
   type: 'category',
   data: chartData.length > 0 ? chartData[0].XData: []
   },
   yAxis: {
   type: 'value'
   },
   grid: {
   left: 10,
   right: 10,
   containLabel: false,
   top: 60, // 调整图表的高度,腾出空间放置 dataZoom
   bottom: 20
   },
   dataZoom: [{
   type: 'slider',
   start: 0,
   end: 1,
   xAxisIndex: [0],
   // top: '70%',
   height: 20
   }]
   };
   sliderChart.setOption(sliderOption);
   chartInit.push(sliderChart)
   echarts.connect(chartInit)
   }, [chartData]);
   
   // dom对象的样式
   const domStyle = useMemo(() => {
   return {
   height: height ? `${height}px` : '100%',
   }
   }, [height])
   
   return (
   
   
   {
   chartData.map((_, index) => {
   return(
   
   
   
   
   
   
   
   
   )
   })
   }
   
   
   
   
   )
   };
   export default LineChart;
   
   ```
   
   ### Current Behavior
   
   
![image](https://github.com/apache/echarts/assets/26814094/b6bbdfa6-7046-4e47-8435-6c0cdd9eef8d)
   The tooltip in the multi-table linkage part is not displayed
   
   ### Expected Behavior
   
   Multi-table linkage tooltip display
   
   ### Environment
   
   ```markdown
   - OS:window11
   - Browser:chrome 114.0.5735.199
   - Framework:react 17
   ```
   
   
   ### Any additional comments?
   
   
![image](https://github.com/apache/echarts/assets/26814094/666e4251-db32-44af-9373-ebb550d29029)
   Dynamically add a line chart through the parameters on the left for linkage


-- 
This is an automated message from the 

[GitHub] [echarts] ppYoung commented on issue #15562: containLabel not working as expected

2023-06-28 Thread via GitHub


ppYoung commented on issue #15562:
URL: https://github.com/apache/echarts/issues/15562#issuecomment-1612397580

   +1 @Ovilia 


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] hongdeyuan opened a new issue, #18823: [Bug] Does closing the legend cause the axisLabel on the timeline (x-axis) to disappear?

2023-06-28 Thread via GitHub


hongdeyuan opened a new issue, #18823:
URL: https://github.com/apache/echarts/issues/18823

   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/hongdeyuan/pen/eYQvPNd
   
   ### Steps to Reproduce
   
   1. Close all legends
   2. See the axisLabel on the X-axis disappear
   
   ### Current Behavior
   
   Turn off all legends,  the axisLabel on the X-axis disappear
   
   ### Expected Behavior
   
   Turn off all legends, The axisLabel for the X and Y axes should display
   
   ### Environment
   
   ```markdown
   - OS: macos 13.3.1 (a) (22E772610a)
   - Browser: chrome
   - Framework: react@17.0.2
   ```
   
   
   ### Any additional comments?
   
   See recording screen:
   
![20230629103655_rec_](https://github.com/apache/echarts/assets/37143703/43a4de71-cefd-47d1-a599-d93f3a2a6dbe)
   
   
   If the Y-axis is not set with min and max, the same effect will apply:
   
   
![20230629103944_rec_](https://github.com/apache/echarts/assets/37143703/1b12e207-b8a6-4eeb-964d-f2777bc22b3f)
   
   
   So the X-axis also needs to be set with min and max? 🤔️


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] Ovilia commented on a diff in pull request #18820: feat(pie): add angleRange for control pie range

2023-06-28 Thread via GitHub


Ovilia commented on code in PR #18820:
URL: https://github.com/apache/echarts/pull/18820#discussion_r1246024785


##
src/chart/pie/PieSeries.ts:
##
@@ -112,6 +112,7 @@ export interface PieSeriesOption extends
 
 clockwise?: boolean
 startAngle?: number
+angleRange?: number

Review Comment:
   Although I do think `angleRange` may be easier to be understood than 
`endAngle`, we still need to comply with currect option of 
[gauge.endAngle](https://echarts.apache.org/zh/option.html#series-gauge.endAngle).



-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch workflow/pr-preview deleted (was ac41c5338)

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch workflow/pr-preview
in repository https://gitbox.apache.org/repos/asf/echarts.git


 was ac41c5338 chore: change the query param `pr` of the `pr-preview` 
action to `version`

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] branch master updated (0ddf9f77d -> 48de47ed7)

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


from 0ddf9f77d Merge pull request #18808 from 
linghaoSu/fix/sunburst-rotate-label
 add bcb695c38 chore: add PR preview workflow
 add ac41c5338 chore: change the query param `pr` of the `pr-preview` 
action to `version`
 new 48de47ed7 Merge pull request #18803 from apache/workflow/pr-preview

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/ci.yml | 90 ++--
 1 file changed, 87 insertions(+), 3 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts] 01/01: Merge pull request #18803 from apache/workflow/pr-preview

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 48de47ed7a71b6f8eb52d7f2efd9048f4a93f4d3
Merge: 0ddf9f77d ac41c5338
Author: Wenli Zhang 
AuthorDate: Thu Jun 29 10:18:01 2023 +0800

Merge pull request #18803 from apache/workflow/pr-preview

chore: add PR preview workflow

 .github/workflows/ci.yml | 90 ++--
 1 file changed, 87 insertions(+), 3 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #18803: chore: add PR preview workflow

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on PR #18803:
URL: https://github.com/apache/echarts/pull/18803#issuecomment-1612342513

   Congratulations! Your PR has been merged. Thanks for your contribution! 👍


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] Ovilia merged pull request #18803: chore: add PR preview workflow

2023-06-28 Thread via GitHub


Ovilia merged PR #18803:
URL: https://github.com/apache/echarts/pull/18803


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] branch pr-preview deleted (was ab36fa8e)

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch pr-preview
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


 was ab36fa8e feat(editor): add `noReview` tip

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] branch gh-pages updated (f2896129 -> 12b61104)

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


from f2896129 chore(deps): bump semver from 7.3.7 to 7.5.2 (#76)
 add c242fbb8 chore: update README.md
 add aca662d2 feat(editor): support PR preview (apache/echarts#18803)
 add ab36fa8e feat(editor): add `noReview` tip
 new 12b61104 Merge pull request #77 from apache/pr-preview

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md   |  40 ++---
 public/en/editor.html   |   4 +-
 public/zh/editor.html   |   4 +-
 src/common/config.js|   6 +-
 src/common/i18n.js  |  64 
 src/common/store.js |  12 ++
 src/editor/Editor.vue   | 357 +++-
 src/editor/Preview.vue  |  72 +++--
 src/editor/sandbox/index.js |  49 +++---
 9 files changed, 545 insertions(+), 63 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[echarts-examples] 01/01: Merge pull request #77 from apache/pr-preview

2023-06-28 Thread ovilia
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit 12b61104cce9be3b767affe2fac3ca21da73fae9
Merge: f2896129 ab36fa8e
Author: Wenli Zhang 
AuthorDate: Thu Jun 29 10:10:04 2023 +0800

Merge pull request #77 from apache/pr-preview

feat(editor): support PR preview

 README.md   |  40 ++---
 public/en/editor.html   |   4 +-
 public/zh/editor.html   |   4 +-
 src/common/config.js|   6 +-
 src/common/i18n.js  |  64 
 src/common/store.js |  12 ++
 src/editor/Editor.vue   | 357 +++-
 src/editor/Preview.vue  |  72 +++--
 src/editor/sandbox/index.js |  49 +++---
 9 files changed, 545 insertions(+), 63 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts-examples] Ovilia merged pull request #77: feat(editor): support PR preview

2023-06-28 Thread via GitHub


Ovilia merged PR #77:
URL: https://github.com/apache/echarts-examples/pull/77


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] robertabenassi commented on issue #17368: [Feature] Aspect Ratio support

2023-06-28 Thread via GitHub


robertabenassi commented on issue #17368:
URL: https://github.com/apache/echarts/issues/17368#issuecomment-1612110202

   This point is quite critical for my applications.
   I often need to get the axis scaled.
   Plotly.js has something that let me do that:
   
https://plotly.com/javascript/reference/layout/xaxis/#layout-xaxis-scaleanchor
   
   Playing with aspect ratio, as a CSS properties may be useful when you have 
just one vertical axis, for example,
   but I need to handle  two or more y-axis.
   
   Please, would you mind to consider to introduce the feature?


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15248: lineOverflow:'truncate' cannot be implemented properly

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15248:
URL: https://github.com/apache/echarts/issues/15248#issuecomment-1612103925

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15227: 当xAxis的type为time时,使用dataset且dataset中存在null值,存在多个series,会导致生成图形中null值的线条也出现

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15227:
URL: https://github.com/apache/echarts/issues/15227#issuecomment-1612103751

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15240: Time axis ticks are divided wrongly in miliseconds

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15240:
URL: https://github.com/apache/echarts/issues/15240#issuecomment-1612103889

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15239: When the dispatchAction type is highlight or downplay,Using geoIndex, geoId, geoName solely that is invalidity.

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15239:
URL: https://github.com/apache/echarts/issues/15239#issuecomment-1612103860

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15237: Sankey line add data display

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15237:
URL: https://github.com/apache/echarts/issues/15237#issuecomment-1612103829

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15234: Echarts issue with custom rectangle and textContent options

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15234:
URL: https://github.com/apache/echarts/issues/15234#issuecomment-1612103790

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15213: is there any option for specifiyng starting and ending value for bin in echarts

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15213:
URL: https://github.com/apache/echarts/issues/15213#issuecomment-1612103724

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15181: 页面中多个图秒级刷新CPU飙升

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15181:
URL: https://github.com/apache/echarts/issues/15181#issuecomment-1612103675

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15176: 【VisualMap】Support input custom value to set range values.

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15176:
URL: https://github.com/apache/echarts/issues/15176#issuecomment-1612103655

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15170: geo component set tooltip, but can‘t trigger.

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15170:
URL: https://github.com/apache/echarts/issues/15170#issuecomment-1612103621

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #15169: map series didn't support str value (在map series里面使用字符串值, 数据会丢失)

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #15169:
URL: https://github.com/apache/echarts/issues/15169#issuecomment-1612103590

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] github-actions[bot] commented on issue #14883: svg模式 切换手机模式 dataZoom无法拖拽

2023-06-28 Thread via GitHub


github-actions[bot] commented on issue #14883:
URL: https://github.com/apache/echarts/issues/14883#issuecomment-1612103560

   This issue has been automatically marked as stale because it did not have 
recent activity. It will be closed in 7 days if no further activity occurs. If 
you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] ptulou opened a new issue, #18822: When setOption has dataZoom startValue or endValue, the label of the dataZoom slider shows the value for the beginning and end of the axis

2023-06-28 Thread via GitHub


ptulou opened a new issue, #18822:
URL: https://github.com/apache/echarts/issues/18822

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/ptulou/r78ch2eo/5/
   
   ### Steps to Reproduce
   
   1. On opening the fiddle, hover over the data zoom slider on the x-axis. 
Note that it shows the correct value matching what's shown in the main chart.
   2. click and drag the zoom slider. The end you are dragging now shows the 
value of the start of the x-axis, NOT what the current value of the zoom is. 
This is the bug.
   3. releasing the zoom and then clicking and dragging it again shows that the 
label now tracks with the position of the zoom correctly.
   4. Hit the Set Chart Option button and the error from step 2 is reproducible 
for the first time after each call to setOption with dataZoom startValue or 
endValue.
   
   ### Current Behavior
   
   The data zoom does not correctly show the value you are zooming to when 
interacting after setOption has been called to programmatically set the range.
   
   ### Expected Behavior
   
   data zoom labels should consistently show the value of the zoom regardless 
of whether setOption has been previously called.
   
   ### Environment
   
   _No response_
   
   ### Any additional comments?
   
   This is an attempt to revive this bug that had been closed. (#10151) I 
believe this is the same issue. That bug, confusingly said that the label was 
not being shown. Even in the examples from versions much earlier on I see the 
label is being shown, but it's not showing the value of the zoom but rather the 
min or max value from the related axis.


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] SebasQuirogaUCP opened a new issue, #18821: Morphing between Map and Bar - MapOption.series.data object with customizable "value" and "name"

2023-06-28 Thread via GitHub


SebasQuirogaUCP opened a new issue, #18821:
URL: https://github.com/apache/echarts/issues/18821

   ### What problem does this feature solve?
   
   By default, the mapOption object in the example 
[https://echarts.apache.org/examples/en/editor.html?c=map-bar-morph](url) 
expects a data object of type Array<{name: string, value: number}>. That makes 
the user to utilize  browser-compute-resources  unnecessarily to model the 
incoming data ( coming from an API for example) renaming attributes to satisfy 
this constraint.
   
   Exploring the repo, it looks like EChart is looking particularly only for 
"name" and "value" attributes on the data to render in the Map chart.
   I consider these two parameters should be customizable, allowing the user to 
specify his prefered attributes names used by Map chart as names and values.
   
   ### What does the proposed API look like?
   
   `
   const data = [{ customName: "Columbia", customValue: 1000 }]
   
   const mapOption = {
   series: [
 {
   id: 'population',
   type: 'map',
   roam: true,
   map: 'USA',
   animationDurationUpdate: 1000,
   universalTransition: true,
  **defaultName: "customeName",
 defaultValue: "customValue",**
 data: data
 }
   ]
 };
   `


-- 
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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #18820: feat(pie): add angleRange for control pie range

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on PR #18820:
URL: https://github.com/apache/echarts/pull/18820#issuecomment-1611606913

   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the 
coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki 
about [How to make a pull 
request](https://github.com/apache/echarts/wiki/How-to-make-a-pull-request).
   
   Document changes are required in this PR. Please also make a PR to 
[apache/echarts-doc](https://github.com/apache/echarts-doc) for document 
changes and update the issue id in the PR description. When the doc PR is 
merged, the maintainers will remove the `PR: awaiting doc` label.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] linghaoSu opened a new pull request, #18820: feat(pie): add angleRange for control pie range

2023-06-28 Thread via GitHub


linghaoSu opened a new pull request, #18820:
URL: https://github.com/apache/echarts/pull/18820

   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   add angel range to implement half pie.
   
   
   
   ### Fixed issues
   
   - fix #18732
   - fix #9647
   
   
   
   
   ## Details
   
   ### Before: What was the problem?
   
   If I want a half pie seies, I have to calculate total, to create a 
transparent sector shape
   
   [https://github.com/apache/echarts/assets/56526981/dada2397-e118-4807-af4f-5e4ba6c58b94";>](https://echarts.apache.org/examples/en/editor.html?c=pie-half-donut)
   
   
   
   ### After: How does it behave after the fixing?
   
   
   
   Add a attribute to control pie angel range, so I can show a half pie series 
just write options like this
   
   https://github.com/apache/echarts/assets/56526981/320820f3-e9c5-402d-9a66-9824d357c736";>
   
   you will get pie series like this
   
   https://github.com/apache/echarts/assets/56526981/282f0cdc-09aa-459f-9581-a93551047e81";>
   
   
   
   
   
   ## Document Info
   
   One of the following should be checked.
   
   - [ ] This PR doesn't relate to document changes
   - [x] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   
   
   ## Misc
   
   ### ZRender Changes
   
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   N.A.
   
   
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merging.
   
   ### Other information
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] luoyangweb commented on issue #18690: [Feature] Echarts resize not work in Vue3

2023-06-28 Thread via GitHub


luoyangweb commented on issue #18690:
URL: https://github.com/apache/echarts/issues/18690#issuecomment-1611457306

   这是来自QQ邮箱的假期自动回复邮件。
    
   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] linghaoSu commented on issue #18690: [Feature] Echarts resize not work in Vue3

2023-06-28 Thread via GitHub


linghaoSu commented on issue #18690:
URL: https://github.com/apache/echarts/issues/18690#issuecomment-1611456829

   Providing a [stackblitz](https://stackblitz.com/) demo may be helpful to 
resolve this issue.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] starkbtc commented on issue #11382: echarts中实现多个tooltip存在

2023-06-28 Thread via GitHub


starkbtc commented on issue #11382:
URL: https://github.com/apache/echarts/issues/11382#issuecomment-1611395110

   请问这个功能现在带上了吗?
   这种深度图的多个tooltip如何实现
   https://github.com/apache/echarts/assets/43443357/c86a7161-18d4-4199-b58b-e348dc37522b";>
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] starkbtc commented on issue #6731: 请问Echarts能否实现交易的深度图?

2023-06-28 Thread via GitHub


starkbtc commented on issue #6731:
URL: https://github.com/apache/echarts/issues/6731#issuecomment-1611365189

   > 你把现在实现的部分在 http://gallery.echartsjs.com/editor.html 上复现一下吧
   
   链接点不开


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] vikas-6 commented on issue #10020: Annotation editing support in toolbox

2023-06-28 Thread via GitHub


vikas-6 commented on issue #10020:
URL: https://github.com/apache/echarts/issues/10020#issuecomment-162510

   > 
https://echarts.apache.org/examples/zh/editor.html?c=scatter-label-align-top Is 
this what you want? @msbasanth @nouman0320 @yutingli119
   
   https://codepen.io/VIKAS-KUMAR-the-vuer/pen/LYXWWXz?editors=0010


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] cllee1214 commented on issue #17576: [Feature] Time axis interval

2023-06-28 Thread via GitHub


cllee1214 commented on issue #17576:
URL: https://github.com/apache/echarts/issues/17576#issuecomment-1611094337

   it's looks like do not work in **wechat minprogram**.my version is  5.4.2.
   the code as follows:
   
![1687945093588](https://github.com/apache/echarts/assets/8358471/0d24e5f9-624b-483d-bf77-390e134fe42d)
   
   or
   
   
![image](https://github.com/apache/echarts/assets/8358471/223230a1-0af1-4d14-86b2-c586023e9f32)
   
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] DendoD96 opened a new pull request, #18819: Feat/straight multiple edge

2023-06-28 Thread via GitHub


DendoD96 opened a new pull request, #18819:
URL: https://github.com/apache/echarts/pull/18819

   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   Extend the possibility to support multiple edges betwen two node in graph 
using offset parameters.
   
   
   
   ### Fixed issues
   
   - #18424
   
   
   ## Details
   
   ### Before: What was the problem?
   
![image](https://github.com/apache/echarts/assets/50317336/425843bc-3344-4de7-aed6-b9ee609b5ceb)
   
   ### After: How does it behave after the fixing?
   
![image](https://github.com/apache/echarts/assets/50317336/d09ab584-3074-4fbd-a3e8-01c43869b00f)
   
   ## Document Info
   
   One of the following should be checked.
   
   - [ ] This PR doesn't relate to document changes
   - [x] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   
   
   ## Misc
   
   ### ZRender Changes
   
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   graph-offset.html
   graph-multiple-edges-offset.html
   
   ## Others
   
   ### Merging options
   
   - [x] Please squash the commits into a single one when merging.
   
   ### Other information
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on pull request #18819: Feat/straight multiple edge

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on PR #18819:
URL: https://github.com/apache/echarts/pull/18819#issuecomment-1611067408

   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the 
coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki 
about [How to make a pull 
request](https://github.com/apache/echarts/wiki/How-to-make-a-pull-request).
   
   Document changes are required in this PR. Please also make a PR to 
[apache/echarts-doc](https://github.com/apache/echarts-doc) for document 
changes and update the issue id in the PR description. When the doc PR is 
merged, the maintainers will remove the `PR: awaiting doc` label.


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on issue #18818:
URL: https://github.com/apache/echarts/issues/18818#issuecomment-1611011844

   @ShiyiWei1995 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. 🤗
   TRANSLATED
   
   **TITLE**
   
   [Bug] series.bar.emphasis.itemStyle.color does not work when the stack bars 
of the same series are highlighted
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] ShiyiWei1995 opened a new issue, #18818: [Bug] series.bar.emphasis.itemStyle.color 在同系列 stack bars 高亮状态下不起作用

2023-06-28 Thread via GitHub


ShiyiWei1995 opened a new issue, #18818:
URL: https://github.com/apache/echarts/issues/18818

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   默认
   
   ### Steps to Reproduce
   
   关键配置:
   ```
   series: [
   {
 type: 'bar',
 data: [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21],
 xAxisIndex: 0,
 barCategoryGap: '2px',
 stack: 'x',
 itemStyle: {
   color: Colors.black[50],
 },
 emphasis: {
   focus: 'series',
   itemStyle: {
 color: '#94FF52',
   },
 },
 tooltip: {
   formatter: function (params) {
 if (params.data) {
   return (
 params.seriesName + '' + params.name + ': ' + 
params.data
   )
 }
   },
 },
   },
   {
 type: 'bar',
 data: [30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41],
 xAxisIndex: 0,
 stack: 'x',
 itemStyle: {
   color: Colors.black[50],
 },
 emphasis: {
   focus: 'series',
   itemStyle: {
 color: '#E776E2',
   },
 },
 tooltip: {
   formatter: function (params) {
 if (params.data) {
   return (
 params.seriesName + '' + params.name + ': ' + 
params.data
   )
 }
   },
 },
   },
   {
 type: 'bar',
 data: [50, 20, 36, 10, 30, 90, 50, 20, 36, 10, 30, 90],
 xAxisIndex: 0,
 stack: 'x',
 itemStyle: {
   color: Colors.black[50],
 },
 emphasis: {
   focus: 'series',
   itemStyle: {
 color: '#FCFF52',
   },
 },
 tooltip: {
   formatter: function (params) {
 if (params.data) {
   return (
 params.seriesName + '' + params.name + ': ' + 
params.data
   )
 }
   },
 },
   },
 ]
   ```
   
   ### Current Behavior
   
   鼠标停留的 stack bar 使用了高亮颜色,但是同系列其他 stack bar 并没有使用高亮颜色
   
   https://github.com/apache/echarts/assets/102200759/5956aa57-3b7a-4200-ad12-01030360f76f";>
   
   
   ### Expected Behavior
   
   鼠标停留的 stack bar 使用高亮颜色,但是同系列其他 stack bar 也使用高亮颜色
   
   ### Environment
   
   ```markdown
   - OS:macOS Monterey
   - Browser:Chrome 版本 114.0.5735.133(正式版本) (x86_64)
   - Framework: react@18.1.0
   ```
   
   
   ### 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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] vikas-6 commented on issue #18773: [Bug] cannot show percentage in sunburst label

2023-06-28 Thread via GitHub


vikas-6 commented on issue #18773:
URL: https://github.com/apache/echarts/issues/18773#issuecomment-1611000996

   https://codepen.io/VIKAS-KUMAR-the-vuer/pen/NWEpdOY  ---  I fixed it 
now it show {d}% in charts correctly


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] simplg commented on issue #17358: Allow sunburst to render properly when sum of children's value are higher than parent's value

2023-06-28 Thread via GitHub


simplg commented on issue #17358:
URL: https://github.com/apache/echarts/issues/17358#issuecomment-1610991569

   I have also encountered the same problem with the library. In our area of 
field, we are using the sunburst to plot z scores for subdomains and domains. 
The domain's value is the mean of the z score of the subdomain which are its 
children. Therefore, the domain's value is always less then the sum of value of 
its subdomains.
   We can't really hack around it with the formatter label (by modifying the 
displayed label with a different value), since we are using visualmaps to plot 
colors.
   I would propose that an option should be available to disable the link 
between value and radius of a sunburst element. By doing this, we could put 
whatever value we want for parents and children and not have any problem with 
rendering while still having the possibility to have the correct color shown 
through visualmap.
   
   Basically it would be great to have this rendering: 
   
![sunburst-visualMap](https://github.com/apache/echarts/assets/81249731/d5fde96f-0285-4192-a756-0321fabc76e4)
   With this kind of code: 
   [Codepen](https://codepen.io/akuma06/pen/oNQZBqX)
   ```js
   var data = [
 {
   name: 'Grandpa',
   children: [
 {
   name: 'Uncle Leo',
   value: 15,
   children: [
 {
   name: 'Cousin Jack',
   value: 2
 },
 {
   name: 'Cousin Mary',
   value: 5,
   children: [
 {
   name: 'Jackson',
   value: 2
 }
   ]
 },
 {
   name: 'Cousin Ben',
   value: 4
 }
   ]
 },
 {
   name: 'Aunt Jane',
   children: [
 {
   name: 'Cousin Kate',
   value: 4
 }
   ]
 },
 {
   name: 'Father',
   value: 10,
   children: [
 {
   name: 'Me',
   value: 5,
   itemStyle: {
 color: 'red'
   }
 },
 {
   name: 'Brother Peter',
   value: 1
 }
   ]
 }
   ]
 },
 {
   name: 'Mike',
   children: [
 {
   name: 'Uncle Dan',
   children: [
 {
   name: 'Cousin Lucy',
   value: 3
 },
 {
   name: 'Cousin Luck',
   value: 4,
   children: [
 {
   name: 'Nephew',
   value: 2
 }
   ]
 }
   ]
 }
   ]
 },
 {
   name: 'Nancy',
   children: [
 {
   name: 'Uncle Nike',
   children: [
 {
   name: 'Cousin Betty',
   value: 1
 },
 {
   name: 'Cousin Jenny',
   value: 2
 }
   ]
 }
   ]
 }
   ];
   option = {
 visualMap: {
   type: 'continuous',
   min: 0,
   max: 10,
   inRange: {
 color: ['#2F93C8', '#AEC48F', '#FFDB5C', '#F98862']
   }
 },
 series: {
   type: 'sunburst',
   
   // New property suggested
   disableRadiusFromValue: true,
   
   data: data,
   radius: [0, '90%'],
   label: {
 rotate: 'radial'
   }
 }
   };
   ```


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] jaling530 commented on issue #18817: [Bug] 通过引用主题色修改折线颜色,当鼠标悬浮,折线不显示,只剩下折点

2023-06-28 Thread via GitHub


jaling530 commented on issue #18817:
URL: https://github.com/apache/echarts/issues/18817#issuecomment-1610930454

   > 不支持 CSS 变量。可以试试切换到 SVG 渲染器,由于是 DOM 渲染,应该在部分场景还是能用。
   
   我是用svg渲染的,看看怎么拿得到题色变量值,这就比较麻烦了


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] plainheart commented on issue #18817: [Bug] 通过引用主题色修改折线颜色,当鼠标悬浮,折线不显示,只剩下折点

2023-06-28 Thread via GitHub


plainheart commented on issue #18817:
URL: https://github.com/apache/echarts/issues/18817#issuecomment-1610924747

   不支持 CSS 变量。


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] echarts-bot[bot] commented on issue #18817: [Bug] 通过引用主题色修改折线颜色,当鼠标悬浮,折线不显示,只剩下折点

2023-06-28 Thread via GitHub


echarts-bot[bot] commented on issue #18817:
URL: https://github.com/apache/echarts/issues/18817#issuecomment-1610905960

   @jaling530 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. 🤗
   TRANSLATED
   
   **TITLE**
   
   [Bug] Modify the polyline color by referencing the accent color, when the 
mouse is hovered, the polyline is not displayed, only vertices remain
   


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] jaling530 opened a new issue, #18817: [Bug] 通过引用主题色修改折线颜色,当鼠标悬浮,折线不显示,只剩下折点

2023-06-28 Thread via GitHub


jaling530 opened a new issue, #18817:
URL: https://github.com/apache/echarts/issues/18817

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   默认
   
   ### Steps to Reproduce
   
   
![3](https://github.com/apache/echarts/assets/46514506/df275253-6e7e-4e30-9c81-baf2b2845219)
   
   
   ### Current Behavior
   
   
![2](https://github.com/apache/echarts/assets/46514506/d0c28187-d674-4e4f-8935-3fad045cbc86)
   
   
   ### Expected Behavior
   
   
![1](https://github.com/apache/echarts/assets/46514506/c27b149f-1954-4e54-bf22-f7f2cbf40ce0)
   
![2](https://github.com/apache/echarts/assets/46514506/10bd8689-ee43-4a56-bcc2-ab22a0e89526)
   
   
   ### Environment
   
   ```markdown
   - Browser
   ```
   
   
   ### 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-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] xitice commented on issue #15488: Display the nearest data of different series in one tooltip.

2023-06-28 Thread via GitHub


xitice commented on issue #15488:
URL: https://github.com/apache/echarts/issues/15488#issuecomment-1610886807

   +1 for this


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [echarts] Vanisper commented on issue #4445: I'm hitting an infinite loop error inside of Animator.js

2023-06-28 Thread via GitHub


Vanisper commented on issue #4445:
URL: https://github.com/apache/echarts/issues/4445#issuecomment-1610879901

   这个问题我发现大都是有关颜色的配置出现问题。
   例如:`rgb(255, 255, 255)`当成rgba写了(多一个参数),或者rgba当成rgb写,诸如此类。
   但是我这里仔细检查了这个问题,并没有以上的错误用法(错误用法是一定会触发这个报错的)
   
   所以我的最终解决办法是避开诸如`rgb`、`rgba`的写法,而是使用hex的颜色色值
   
   ---
   以下提供一个`rgb`、`rgba`的颜色传参转hex颜色传参的封装函数
   ```ts
   function opacityToHex(opacity: number) {
   const alpha = Math.round(opacity * 255);
   return alpha.toString(16).padStart(2, '0');
   }
   
   /**
* 将 RGBA 颜色转换为哈希色值
* @param rgbaColor 包含分割的rgb或者rgba的字符串:rgb(255,255,255)、甚至是"255,255,255,0.25"
* @returns 颜色hex值
*/
   export function rgbaColorToHash(rgbaColor: string): string {
   const rgba = rgbaColor.match(/\d+/g)!;
   const alpha = +(rgba.slice(3, 5).join(".") + rgba.slice(5).join(""));
   const hexColor = `#${parseInt(rgba[0]).toString(16).padStart(2, 
'0')}${parseInt(rgba[1]).toString(16).padStart(2, 
'0')}${parseInt(rgba[2]).toString(16).padStart(2, '0')}`;
   return alpha ? `${hexColor}${opacityToHex(alpha)}` : hexColor;
   }
   ```


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org