Okay
  Public Ticket #1443184
jsfiddle example?
Closed

Comments

  •  1
    Quint started the conversation

    Further customization of a Highchart chart is possible through the callback function described here: https://wpdatatables.com/documentation/information-for-developers/wpdatacharts-callbacks/

    On that page, it shows an example of wpDataCharts object that can be accessed from the console.

    Can you provide me with an example using jsfiddle?  I have my chart created from a wpDataTable and I have been unsuccessful at recreating the callback along with the object it needs to produce the chart in jsfiddle.  

    The most basic of examples in jsfiddle.net would be extremely helpful.  Thank you!

    Cheers,

    Quint


    P.S.  I thought I had this solved per my previous support ticket but I was wrong.

  •  1,708
    Miloš replied

    Hi Quint,
    Thank you for your purchase.

    Sorry but I did not quite understand what your issue is. Can you please describe me more.

    Also in our documentation link you can see example of using callbacks for the each chart  along with the API library.


    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [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

  •   Quint replied privately
  •  1,708
    Miloš replied

    Hi Quint,

    Sorry to disappoint you but due to our support policy this kind of requests are not covered in the included support for the plugin. Included support covers help with bugs and general inquiries for the plugin features, but not writing custom code or writing an examples on users requests, We can provide you a guide with the links and documentation but not writing the custom code.
    As you're developing some custom solution if you need our assistance we can offer you our paid customization service.

    Thank you for understanding.

    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [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

  •  1
    Quint replied

    Hello Bogdan,

    It is not a custom solution that I am trying to illustrate but a generic one.  It is a simple chart using your plugin's output to recreate the chart in jsfiddle while leveraging the format of your callback script.  

    By default, this is the kind of example that should be in your documentation with a link to a functioning illustration.  In this way, you won't have to rely on screenshots to describe what's possible.  Hopefully that makes sense.  Your customers could then ask you better questions which would serve to help improve your product and keep it relevant.

    Since your developers wrote the plugin and I've already provided the simplest of templates, it should take just a few minutes to write (I assume they're awesome developers).  

    P.S.  Do you know why I chose and LOVE Highcharts?  Two reasons: the actual product, but more importantly, the support they provide.  If you have a chance, take a look at how they answer customers questions.  It's phenomenal.  Their support is absolutely amazing.  So much so that I am raving about it on your forum!!!  :-)

    Could you please see what you can do about putting together the generic example which would benefit not only me, but also your present and future customers?

      

  • [deleted] replied

    Hi Quint,

    It is not possible to create wpDataCharts on JSFiddle because process of creating wpDataCharts does not take place only on the front-end with JavaScript than also on the back-end with PHP. When user creates chart using wpDataCharts wizard, all options necessary for the chart are stored in the database. After that when you place chart shortcode on the page we are loading this data from the database and we are creating chart in the same way as charts libraries does that. So the process of creating, for example Highchart, is same as on this JSFiddle from Highcharts official website - link.

    If you are interested to see how wpDataCharts callback is made you can see that in ../wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.highcharts.js on line #540. I think that is pretty clear in our documentation how chart options can be customized.

    If you have any more questions don't hesitate to ask.