You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/02/21 08:24:57 UTC

[GitHub] [echarts] zhaoxuhui1122 opened a new issue #16552: [Bug]

zhaoxuhui1122 opened a new issue #16552:
URL: https://github.com/apache/echarts/issues/16552


   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/admiring-leftpad-h8jcdk?file=/src/App.tsx
   
   ### Steps to Reproduce
   
   1. 设置柱状图数据堆叠stack参数
   2. xAxis 为 type 为 time
   3. series部分时间点无数据
   
   ### Current Behavior
   
   1. 柱状图堆叠开始位置不为0
   2. 部分柱状图无法显示
   
   详情参考codesandbox链接,**切换为5.2.2及以下版本表现正常**
   
   ![image](https://user-images.githubusercontent.com/23182684/154913553-46c6ad9c-3656-444c-83fe-1440a9a7f922.png)
   
   ### Expected Behavior
   
   1. 柱状图起始位置贴着横轴
   2. 所有数据能正常显示
   
   ![image](https://user-images.githubusercontent.com/23182684/154913807-64a60bc5-85a3-4ced-acb9-720e0267ffb2.png)
   
   
   ### Environment
   
   ```markdown
   - OS:Mac OS
   - Browser: Chrome
   - Framework: React
   ```
   
   
   ### 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

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


[GitHub] [echarts] pissang commented on issue #16552: bar chart display abnormal when setting the stack property [Bug]

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #16552:
URL: https://github.com/apache/echarts/issues/16552#issuecomment-1046632408


   You can add `'-'` in the missing data to fix this issue.
   
   ```ts
   
           {
             name: "Union Ads",
             type: "bar",
             stack: "Ad",
             emphasis: {
               focus: "series"
             },
             data: [
               [1645426533000, 1],
               [1645426534000, '-'],
               [1645426535000, 1]
             ]
           },
   ```


-- 
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


[GitHub] [echarts] echarts-bot[bot] closed issue #16552: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #16552:
URL: https://github.com/apache/echarts/issues/16552


   


-- 
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


[GitHub] [echarts] echarts-bot[bot] commented on issue #16552: 柱状图设置stack属性时,部分场景下显示异常[Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16552:
URL: https://github.com/apache/echarts/issues/16552#issuecomment-1046594615


   @zhaoxuhui1122 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**
   
   When setting the stack property of the histogram, the display is abnormal in some scenarios [Bug]
   
   **BODY**
   
   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/admiring-leftpad-h8jcdk?file=/src/App.tsx
   
   ### Steps to Reproduce
   
   1. Set the histogram data stack parameter
   2. xAxis is type is time
   3. There is no data at some time points in the series
   
   ### Current Behavior
   
   1. The starting position of the histogram stack is not 0
   2. Some histograms cannot be displayed
   
   For details, please refer to the codesandbox link, **Switching to version 5.2.2 and below is normal**
   
   ![image](https://user-images.githubusercontent.com/23182684/154913553-46c6ad9c-3656-444c-83fe-1440a9a7f922.png)
   
   ### Expected Behavior
   
   1. The starting position of the histogram is close to the horizontal axis
   2. All data can be displayed normally
   
   ![image](https://user-images.githubusercontent.com/23182684/154913807-64a60bc5-85a3-4ced-acb9-720e0267ffb2.png)
   
   
   ### Environment
   
   ````markdown
   - OS: Mac OS
   - Browser: Chrome
   - Framework: React
   ````
   
   
   ### 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


[GitHub] [echarts] zhaoxuhui1122 commented on issue #16552: bar chart display abnormal when setting the stack property [Bug]

Posted by GitBox <gi...@apache.org>.
zhaoxuhui1122 commented on issue #16552:
URL: https://github.com/apache/echarts/issues/16552#issuecomment-1046647428


   > 
   
   This approach is not suitable for my current scenario, where the data to render is pulled from the log server,
   
   It is impossible to know exactly whether there is data at a certain point in time, so I don't want to conduct too much analysis and processing on the obtained data.
   
   I switched to version 5.2.2 first
   
   use youdao  translation 😄


-- 
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


[GitHub] [echarts] echarts-bot[bot] commented on issue #16552: [Bug]

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16552:
URL: https://github.com/apache/echarts/issues/16552#issuecomment-1046592257


   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
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