Okay
  Public Ticket #1715985
Date format
Closed

Comments

  •  1
    davidsonschemists started the conversation

    How do you mate the date format just mm/yy? I can see a selection of date formats but not a custom setting.

    I also would like the date axis to not be responsive with the table. our table shows data for multiple pharmacies I would like to pick the branch but the date to always show past to now on the graph, but the table to show newest date on the top is this possible?

  •  471
    Isidora replied

    Hi davidsonschemists,
    Thank you for your purchase.

    Yes you can add it but you have to change some core files in plugin. You can add that format in file wp-content/plugins/wpdatatables/templates/admin/table-settings/column_settings_panel.inc.php around line 453 like this

    <option value="m/Y">07/2005 (m/Y)</option>

    For layout of the charts we are using engines(highcharts,chartjs and google chart engine) which is default behavioral. If you need to customize chart for your needs you can check  in our documentation about wpDataCharts callbacks . 

    • Please note that using hooks or wpdatatable or wpdatachart callbacks requires certain level of programing skills and included support refers only to advices.
    • 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 rescuers are available in charts engines API(depends which one you use) .Every engine have different approach of charts settings. In wpdatachart callbacks you have to adopt those settings to wpdatachart object(you can take a look a examples 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 customisations you can find on jsffidle. net(typing in google for example line chart highcharts jsffidle)

    You can do that but you have to make two tables. In first one you will set sorting that shows newest dates and second table where you will set sorting that shows latest dates and set Display length to All and then make chart from that table in which you will use option Follow table filtering.Then on the page you have to insert both tables and that chart.Second table form which you made that chart you can hide with css and you will have results that you need. 

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

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

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables