Okay
  Public Ticket #3751649
WpDataCharts
Closed

Comments

  • David Roach started the conversation

    Description of Issue: We are experiencing a significant issue with wpDataCharts where the colors we set for the bar chart series (specifically, "Investment" and "Profit") are not retained after saving. Although we can change the colors in the editor, they consistently revert to the default red and blue after saving. This issue persists even after saving the configuration multiple times.

    Steps Taken to Troubleshoot:

    1. Attempted Color Configuration in Editor:
      • Within the wpDataCharts editor, we adjusted the colors for both the "Investment" and "Profit" bars to match our client’s brand palette.
      • Despite these changes, the colors default back to red and blue upon re-opening the editor or refreshing the chart, regardless of the save state.
    2. Direct Modification of JSON in Database:
      • After editing the JSON configuration in the MySQL database, we found that other JSON changes (such as text labels) are reflected correctly in the chart.
      • However, altering backgroundColor and borderColor for the "Investment" and "Profit" datasets directly in the JSON did not result in any change in the chart colors, which remained red and blue.
    3. Chart Setup:
      • Our chart is connected to a MySQL database table that is dynamically populated at runtime. This data population is functioning correctly, and data displays as expected.
      • The only persistent issue is with the colors of the bar chart, which we are unable to customize to meet the client’s requirements.

    Request: Given our deadline and the urgency from our client, we request assistance in resolving this color retention issue as soon as possible. We need a solution to reliably change and retain custom colors for our bar chart series in wpDataCharts. Please advise on any potential fixes, configurations, or updates that might resolve this behavior.

    Thank you for your prompt attention to this matter.

    Urgency: We have a tight deadline and a client awaiting resolution.