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/07/15 03:40:22 UTC

[GitHub] [echarts] SevenOutman opened a new issue, #17385: [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval`

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

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/SevenOutman/pen/bGvBKNP
   
   ### Steps to Reproduce
   
   You can find 3 chart examples in the reproduction link above, each containing 3 data entries for a bars series.
   
   The first example a transparent/black splitArea is displaying correctly with `splitArea.interval: 1`
   <img width="601" alt="image" src="https://user-images.githubusercontent.com/8225666/179144793-f2da17fd-a102-4d79-8978-1b6297310810.png">
   
   In the second example, `splitArea.interval` was set to `2` and the whole background goes black, which should have been transparent.
   <img width="601" alt="image" src="https://user-images.githubusercontent.com/8225666/179145061-bed5de84-0f63-4527-8a4b-4183fbd58d2b.png">
   
   The third example demonstrates my real use case where `splitArea.interval` was not deliberately set to a number larger than data entries, but fell into that condition due to dataZoom.
   The `splitArea.interval` was `1` and the splitArea was displaying correctly at first.
   <img width="600" alt="image" src="https://user-images.githubusercontent.com/8225666/179145259-feab0674-053b-4018-bfb2-e71818c38d8c.png">
   
   Drag the dataZoom to display the first 2 bars, and the background goes black.
   <img width="599" alt="image" src="https://user-images.githubusercontent.com/8225666/179145284-6a8151f5-4270-4474-9300-fe73372f78a8.png">
   
   
   ### Current Behavior
   
   The splitArea seems to skip the first color when data entires (in view) is fewer than `splitArea.interval`. 
   
   ### Expected Behavior
   
   The splitArea should not skip the first color when data entires (in view) is fewer than `splitArea.interval`. 
   
   ### Environment
   
   ```markdown
   - OS: macOS Big Sur
   - Browser: Chrome 102.0.5005.115
   - Framework: React@17
   ```
   
   
   ### 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


[GitHub] [echarts] mxismean commented on issue #17385: [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval`

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

   Hey,you can set it to 0, `interval: 0`. @SevenOutman 


-- 
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] [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval` [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #17385:
URL: https://github.com/apache/echarts/issues/17385#issuecomment-1926398687

   seems to work fine in v.5.4.3


-- 
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] [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval` [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17385: [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval`
URL: https://github.com/apache/echarts/issues/17385


-- 
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] [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval` [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17385:
URL: https://github.com/apache/echarts/issues/17385#issuecomment-3849768351

   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-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] [Bug] splitArea displays incorrectly when data entries are fewer than `splitArea.interval` [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17385:
URL: https://github.com/apache/echarts/issues/17385#issuecomment-3887263824

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


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