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
Dear wpDataTables,
I have two questions about a chart with multiple lines:
1) Is it possible to set by default that only some series are visible (e.g. the first five) and not all possible ones? This way only five lines would be visible at the beginning and the user could eventually add more.
2) Is it possible to insert a filter above the graph? Currently the user can only click on the series present below the legend.
Thank you very much
attached a screenshot
Attached files: screen.png
Hi Rodolfo,
Sorry for replying so late to the tickets today.
We have been experiencing an unusually high number of tickets.
Your patience is highly appreciated.
-
1. This is not possible with our 'out of the box' options through the Chart Wizard,
but you should be abe to achieve this by applying a Custom Chart Callback.
What you are seeing as the current state of your charts is the default behaviour of the charts engine,
but you can try with a custom solution.
Please first check our documentation about wpDataCharts callbacks.
On this page, you will find one custom callback example for each Chart Engine type,
then you will need to modify our example to change the options you need.
We will do our best to add more custom examples such as your use case on the Chart Callback documentation soon, but i can't say an exact ETA.
-
2) Is it possible to insert a filter above the graph? Currently the user can only click on the series present below the legend.
- Yes, i will show how you can achieve this with a custom workaround.
By default, the charts will not follow any filtering from their source table if you just put the chart "on its own" on the page.
But If you place the source table together with its chart on the same page,
and activate " Follow Table filtering" on the chart Wizard settings, it is going to follow any filtering/sorting you do on the table.
-
Now, depending if you wish to hide the table and have a filtering for Charts, we can have two workarounds available.
1. If you wish to hide the entire table along with table filters;
you can add this CSS to the table's back-end settings/Customize/Custom CSS.
This will completely hide the table from the page, but you can still pass the table shortcode with the chart, and you will get the "follow table filtering" effect on this chart.
2. Or if you wish just to hide the table while leaving the filters with the chart,
we would first need to disable the following in the table settings:
"Show X entries" drop-down; "Info Block" from Display tab:
Then, "Enable main search block" and "show filters in a form above the table" from the Sorting and Filtering tab:
Then, you can add this CSS in the table settings/Customize/Custom CSS:
That will just leave the chart visible with the filters on the page,
if you pass both table and chart shortcodes.
Let me know if you encounter any issue with this workaround.
Thanks.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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