Hey everyone!
With the holiday season upon us, we want to share our upcoming working hours:
- New Year: Our team will be off on January 1st and 2nd. We’ll be back on Friday, January 3rd, to respond to any messages received during this time.
- Weekend: As usual, we don’t work on weekends, so January 4th and 5th will also be non-working days.
- Orthodox Christmas: Our office will be closed on Monday and Tuesday, January 6th and 7th for the holiday.
After that, we’ll return to our regular schedule and assist you as quickly as possible.
In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.
Thanks a bunch for your understanding and support!
Warm regards and happy holidays!
TMS
Hello,
I am looking at the documentation but I can't find an example of creating a chart with filtering per year.
For example in Google Pie chart how I can filter the results per year when I cannot use a date column and a string column at once. If I want to use a pie chart in order to display the amount of students in workshops with a dropdown box to select the year how I can achieve that?
Hello Aggelos.
Thank you for your interest in our plugin.
When you're creating a chart, there's an option that needs to be enabled - "Follow table filtering". When this is applied, and both the chart and the table are located on the same page, you can add a filter to the table, and depending on the filtered values, the chart will follow. You do not have to include the Date column on the chart to do this.
For example, if your table has date column, string column, and values column, you can create a chart from the latter two.
Then when you place filters in a form above the table, you can filter the table only per date column, and chart will display values based on that filter. We can even help you hiding the table from front end, leaving only the filter and the chart.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Aleksandar,
Thank you for your reply. I thought about that but the problem is that I want to filter the date column only with the year part. Is that possible? Or I have to filter it with full date? For example if I want to render the pie chart for the year 2018 what value should I use in the filter of the date column?
Hello again Aggelos
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
The filter can only use the format you've selected in general settings of wpDataTables. If you set the whole column to display only year (Y), you can do that. If you are creating a table linked to an existing data source (SQL, Excel, CSV or Google Spreadsheet), you can duplicate the date column, so the new duplicated column would show only the year. Then, you could filter per year, but hide that column, so it would show the full date (if that is what you need).
Unfortunately, that is the only workaround for this.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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