You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of the ChartJS charts won't modify if you add code in the Manual Configuration tab, however, the exact same code added to the Manual Configuration tab for Google Charts does work.
Step-by-step reproduction instructions
Make sure you have a WP instance with Visualizer installed and activated
Create a ChartJS chart and try to add code in the Manual Configuration
Screenshots, screen recording, code snippet or Help Scout ticket
The first chart is from Google Charts, which shows the modifications provided by the code in the Manual Configuration, and the second is from ChartJS.
Same here
You can try with this code: {
"legend": {
"textStyle": {
"fontSize": 14,
"fontName": "Spectral",
"bold": true,
"color": "red"
}
}
}
It works but for ChartJS library the format is a bit different. For example, in your case you're changing the legend so format would be like this for the Pie chart:
I just tested on a couple of instances and the changes appear only in the preview of the chart, but when viewing the page/post in which the chart is added, the changes of the legend are not visible. https://imgur.com/a/NVGdrmT https://imgur.com/a/hnItIsD
Description
None of the ChartJS charts won't modify if you add code in the Manual Configuration tab, however, the exact same code added to the Manual Configuration tab for Google Charts does work.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet or Help Scout ticket
The first chart is from Google Charts, which shows the modifications provided by the code in the Manual Configuration, and the second is from ChartJS.
Same here
You can try with this code: {
"legend": {
"textStyle": {
"fontSize": 14,
"fontName": "Spectral",
"bold": true,
"color": "red"
}
}
}
HelpScout ticket: https://secure.helpscout.net/conversation/2711096424/434294?viewId=212385
Test instance: https://filthyhearing.s2-tastewp.com/2024/09/20/5/
Username: test
Password: test
Environment info
No response
Is the issue you are reporting a regression
No
The text was updated successfully, but these errors were encountered: