Okay
  Public Ticket #2836490
graph tooltip
Closed

Comments

  • Rik Viergever started the conversation

    hi, 

    we are using your great Highcharts graphs. They provide the option to add value prefixes or suffixes for the graph. Is there a way to also add a suffix for the x-axis value in the tooltip?

  • [deleted] replied

    Hi Rik

    Thank you for reaching out to us.

    That is the default setting of the charts engine, but if you need some custom solution you can check 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 the Support help center). A 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 a certain level of programming skills and included support refers only to advice.

  • Rik Viergever replied

    Hi,

    i'm a bit disappointed in your general reply. I did some looking up myself, and found this tip that seems to provide the answer: https://stackoverflow.com/questions/33596061/how-to-modify-highcharts-x-axis-tooltip-text 

    However, i am unsure how to implement this tip in WPDataTables. Can you give me advice on how to do that? 

    Also: Can you please add this as a feature suggestion for WPDataTables for future development, to add the possibility for adding x-axis prefixes and suffixes to the tooltip to the standard options in the Highcharts graph options, so this will be easier? 

    thanks,

    Rik

  • [deleted] replied

    Hi Rik

    I am sorry I couldn't be more helpful, but unfortunately using hooks or wpDataTable and wpDataChart callbacks requires a certain level of programming skills which we are not able to provide.

    I'll kindly ask you to add it as a feature suggestion on this page. 

    Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.