You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "lcmgh (via GitHub)" <gi...@apache.org> on 2023/07/28 12:26:24 UTC

[GitHub] [echarts] lcmgh opened a new issue, #18939: [Bug] Heatmap: Adding `itemGap: 200` to `visualMap` has no effect

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

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=heatmap-cartesian
   
   ### Steps to Reproduce
   
   1. Chart: https://echarts.apache.org/examples/en/editor.html?c=heatmap-cartesian
   2. Adding `itemGap: 200` to `visualMap` has no effect
   
   How to add a padding/gap between the item cells as described here https://stackoverflow.com/questions/74299969/how-to-add-a-gap-between-cells-in-the-heatmap-in-the-echart-library?
   
   ### Current Behavior
   
   - Setting itemGap has no effect on the heatmap
   - No other options available to configure a whitespace
   
   ### Expected Behavior
   
   Space between each item cell.
   
   ### Environment
   
   ```markdown
   OS: macOS Monterey
   Browser: Chrome 96.0.4664.55
   Framework Vue@3
   ```
   
   
   ### 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] lcmgh closed issue #18939: [Bug] Heatmap: Adding `itemGap: 200` to `visualMap` has no effect

Posted by "lcmgh (via GitHub)" <gi...@apache.org>.
lcmgh closed issue #18939: [Bug] Heatmap: Adding `itemGap: 200` to `visualMap` has no effect
URL: https://github.com/apache/echarts/issues/18939


-- 
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] MatthiasMert commented on issue #18939: [Bug] Heatmap: Adding `itemGap: 200` to `visualMap` has no effect

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

   [`itemGap`](https://echarts.apache.org/en/option.html#visualMap-piecewise.itemGap) can only be used for visual maps of type `piecewise`.
   
   You can add gap between heatmap items by changing the `borderColor` of the [`itemStyle`](https://echarts.apache.org/en/option.html#series-heatmap.itemStyle) property:
   
   ```javascript
   itemStyle: {
       borderWidth: 5,
       borderColor: '#fff',
   }
   ```
   
   [Here ](https://echarts.apache.org/examples/en/editor.html?c=heatmap-cartesian&code=PTAEAcCcFMBdYJbUgWgQcwHYHsYCgBjbTAZ1lAAtsBXSE0AXlAG09R3QByARgCYBDTgBou3QSM4DhXAMziuAFnmcArMoBs4th04B2ZQA5lATmXcADGbHDt7Hr3DSejiQ6cyXiz6pe2u6711vA29jbwtw7kc8AF0AbjwQCBh4JFQMHHwiUnIAE34AT3omVg4uAGV-WFp8gqcAMUgEWqcAFQpaEhahP04AdWhczGguwrbqEe6uAFliKc5y6kwW2ISkqDhEZDQsXGhCYjJQfNh-RhZmcxEr0BUYkUuRbif7lhvea9fH0BlPh5uFH83iIVEDvuowTddJCRAYYaBjPCLEjnqBeF8bnwRAoMU9fqBuLiCYCCUTuKCfmSIaAcf8ntDQOoyXCaWTEay6WibjIibxUTzObwPmjefi7g9UVCvqjJdKRMLzHKfmDUSTFRKQSqRNT1SxUQzdcxUSzDaj2aanjdxXqnqj0RqCcL7TaCfimQ7uCTjErybafdT3S7uAzdD6WQYfey-EreFaY6jrUb5cLQw7ePjncwFS8HsKZV8nWDhfjDcK1QXNaBS9qiyIDRXQCaG-aG8jKbnbfLW3nW_jvR3ibDWxSLK2A62GYm8yy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OwiFEezYYTDhXBIDoCHvwc6NwzHXEOioV6nBGEcFLvg_22gDrIziEAA) is the full example.


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