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 2021/09/16 06:22:28 UTC

[GitHub] [echarts] josve opened a new issue #15734: Value is shown as [object Object] in generated aria-label

josve opened a new issue #15734:
URL: https://github.com/apache/echarts/issues/15734


   ### Version
   5.2.0
   
   ### Reproduction link
   [https://jsfiddle.net/2c8g1pqn/](https://jsfiddle.net/2c8g1pqn/)
   
   ### Steps to reproduce
   1. Create a chart with the following options (for go to the jsfiddle) 
   "{
       "dataset":{"dimensions":["c_0","c_1"],
       "source":[{"c_0":"Amount used","c_1":1699.0},{"c_0":"Amount left","c_1":2301.0}]},
       "series":[{"type":"pie","silent":true,
       "encode":{"itemName":"c_0","value":"c_1"},
       "radius":["60%","80%"]}],
       "aria":{"show":true}};"
   2. Look at the aria label
   
   ### What is expected?
   Aria label says: "This is a chart with type Pie chart.The data is as follows: the data for Amount used is 1699, the data for Amount left is 2301. "
   
   ### What is actually happening?
   Aria label says: "This is a chart with type Pie chart.The data is as follows: the data for Amount used is [object Object], the data for Amount left is [object Object]. "
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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] Ovilia commented on issue #15734: Value is shown as [object Object] in generated aria-label

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


   @josve Fixed in #15777 that the label will be "This is a chart with type Pie chart.The data is as follows: the data for Amount used is Amount used, 1699, the data for Amount left is Amount left, 2301. "
   
   We cannot know which dimension to be used in the aria right now. Do you have such a requirement? If so, an option like `aria.label.data.dimension` may be required.


-- 
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] susiwen8 closed issue #15734: Value is shown as [object Object] in generated aria-label

Posted by GitBox <gi...@apache.org>.
susiwen8 closed issue #15734:
URL: https://github.com/apache/echarts/issues/15734


   


-- 
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] josve commented on issue #15734: Value is shown as [object Object] in generated aria-label

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


   Thanks for the fix, well it would be nicer if you could specify the dimension but it works for now.


-- 
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 #15734: Value is shown as [object Object] in generated aria-label

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


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe to our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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