-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chart: canvasProps has no effect #13943
Comments
This issue has been automatically marked as stale due to a lack of activity. If this issue is still relevant to you, please leave a comment so we can keep it open. We apologize for not being able to prioritize it sooner. If you have any new information or questions, please share them in your comment! |
"If this issue is still relevant to you, please leave a comment" |
Thanks a lot for your update! Which PrimeNG version are you using? Could you please update issue template? |
Sorry but, this is a doc issue. in PrimeNG v20, we plan to add |
Describe the bug
According to https://primeng.org/chart#accessibility, we should be able to supply
canvasProps
. However, doing so does not have any effect on the generated canvas element.Environment
PrimeNG ^16
Reproducer
No response
Angular version
^16
PrimeNG version
^16
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18
Browser(s)
No response
Steps to reproduce the behavior
<p-chart type="pie" [data]="data" [canvasProps]="{'role': 'img', 'aria-label': 'Data'}">
Expected behavior
Generated canvas element should have canvasProps assigned
The text was updated successfully, but these errors were encountered: