Okay
  Public Ticket #2233830
Bar chart horizontal axis min/max value
Closed

Comments

  • Jester started the conversation

    Hey there,

    is there any way to define min/value for the horizontal axis on Google BarCharts and stacked bar charts?

    I see this option for the vertical axis, but its very useless for a horizontal bar. It works on Highcharts by the way...

    Regards

  •  2,572
    Aleksandar replied

    Hello Jester.

    Thank you for your interest in our plugin.

    The options that are offered in the chart creation wizard are the only available options provided by the chart engine's free library we're using, so that is the default behavior of the engine.

    What you need is a custom solution for Google Charts, and it can be implemented with 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.

    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