Okay
  Public Ticket #1954108
Chart Color
Closed

Comments

  • WeeverApps started the conversation

    Hi - in your documentation you show the ability to change the chart's colors in the "series" secondary menu. There is no option to this for Google Charts or Charts.js. Have you changed this functionality? How can I change the color of the data series in my charts.

  •  2,572
    Aleksandar replied

    Hello WeeverApps.

    The look of charts greatly depends on the chart engine and the type of chart you're using. In the attachments I have chosen Google charts - Area chart, and it still allows you to change the color. I don't know which chart you are trying to use, but if it's not in the "Series" menu, then you might need some custom solution to implement it. You can check in our documentation about wpDataCharts callbacks

    • Every chart exposes several options that customize its look and feel. Charts usually support custom options appropriate to that visualization. wpdatachart callbacks  allows adding options that are available in Google Charts APIHighcharts API and Chart.js API
    • All necessary resource are available in charts engines API (depends on which one you use). Every engine has different approach of charts settings. In wpdatachart callbacks you have to adopt those settings to wpdatachart object(you can take a look an example for each engine in our documentation and also in Support help center). Huge number of examples for any area of programming you can find on stackoverflow.com(typing your problem in google and of the end add site:stackoverflow.com and google will search only on that website) and also a lot of resource of examples of chart, chart settings and customization you can find on jsffidle. net(typing in google for example line chart highcharts jsffidle)
    • Please note that using hooks or wpdatatable and wpdatachart callbacks requires certain level of programming skills and included support refers only to advises.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables