Okay
  Public Ticket #2324745
custom symbols on Line Chart and custom colors on pie charts
Closed

Comments

  • felix started the conversation

    Hello

    1. i want to use a circle symbol on a Line Chart for all data in highcharts chart.

    i don't see an option to select symbol (attached circle.jpg manual highcharts sample i created) how can i use a custom symbol instead of the defaults?

    2. when i"m using pie chart - i can't customize the colors.

    how can i change the colors? (attached basic pie.png)

    ps

    if theirs no option in admin area is their a JS external solution?

    Thank you


  •  2,572
    Aleksandar replied

    Hello felix

    Thank you for your purchase.

    Chart engines are quite limited with the free APIs they share, so if you need to customize the charts 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 allow adding options that are available in Google Charts APIHighcharts API and Chart.js API
    • All necessary resources are available in charts engines API (depends on which one you use). Every engine has a different approach to chart settings. In wpDataChart callbacks you have to adopt those settings to the wpDataChart object (you can take a look at examples for each engine in our documentation, and also in Support help center). Huge number of examples for any area of programming can be found on stackoverflow.com (typing your problem in google and at the end add "site: stackoverflow.com" and google will search only that website). Also, a lot of examples of charts, chart settings and customization can be found 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 advice.

    Specifically, changing the colors using callbacks can be found on this link, but we don't have an example for the circles.

    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