Skip to content

Manual Configuration doesn't work for ChartJS charts  #1184

Open
@Mara42

Description

@Mara42

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

  1. Make sure you have a WP instance with Visualizer installed and activated
  2. 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.
Screenshot 2024-09-20 at 12 39 12

Same here
Screenshot 2024-09-20 at 11 20 26

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions