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/28 13:41:55 UTC

[GitHub] [echarts] 98christianp opened a new issue #16594: [Bug]

98christianp opened a new issue #16594:
URL: https://github.com/apache/echarts/issues/16594


   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/98christianp/pen/GROYQbr
   
   ### Steps to Reproduce
   
   ![Screenshot 2022-02-28 at 14 23 57](https://user-images.githubusercontent.com/27136738/155990668-be303b29-12f5-4877-81dd-5aaa6a6966b5.png)
   
   
   Use a string type in visualMap.dimension: check [code pen](https://codepen.io/98christianp/pen/GROYQbr) for a workinge example.
   
   ### Current Behavior
   
   The visualMap.continous.dimension property does not allow string type, so I have to pass the number of the dimension of the dataset instead of passing the column name. The docs says string is the correct type.
   
   
   
   ### Expected Behavior
   
   I expect to be able to pass dimension name of the dataset instead of passing the dimension number.
   
   ### Environment
   
   _No response_
   
   ### 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] echarts-bot[bot] commented on issue #16594: [Bug]

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


   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


[GitHub] [echarts] jttry commented on issue #16594: [Bug] visualMap.dimension should work with dimension name and not just the dimension number

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


   set `dimension: 'Sales' `
   not `dimension: 'Sale' `


-- 
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] 98christianp commented on issue #16594: [Bug] visualMap.dimension should work with dimension name and not just the dimension number

Posted by GitBox <gi...@apache.org>.
98christianp commented on issue #16594:
URL: https://github.com/apache/echarts/issues/16594#issuecomment-1057850095


   > set `dimension: 'Sales' ` not `dimension: 'Sale' `
   
   Yes that will work in the example, but I am using typescript and the issue is that the type is defined as `number | undefined` so I won't be able to pass dimension names to this entry ..


-- 
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 #16594: [Bug]

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


   


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