I created a manual table just for testing and entered data in random order, like this:
So, since I wanted to make the chart follow table filtering, I enabled that option when I created the chart:
Then, in order for the chart to actually do that, I had to place both the chart and the table on the same page. It displayed the way I expected it to - by entry (see attachment "Selection_388").
Then, I changed the date column's settings to sort by default, and in Ascending manner:
So, after doing that, the chart responded accordingly (see attachment "Selection_390).
I believe that's what you're trying to achieve, correct?
The thing with "Follow table filtering" is that the chart and the table have to be on the same page.
When you plot a value versus a Date Column then
GoogleCharts is the only one that plots the X-Axis correctly with the date in ascending order from left to right.
HighCharts and Chart.JS plot the Time Axis in Descending order. Ie. NON-conventional.
See screenshot 22/3/2019 starting on left instead of being last entry on right.
And this doesnt change if i make the table automatically sort by Date column descending or ascending, that makes no difference.
BUG?
Hello A3igner.
I created a manual table just for testing and entered data in random order, like this:
So, since I wanted to make the chart follow table filtering, I enabled that option when I created the chart:
Then, in order for the chart to actually do that, I had to place both the chart and the table on the same page. It displayed the way I expected it to - by entry (see attachment "Selection_388").
Then, I changed the date column's settings to sort by default, and in Ascending manner:
So, after doing that, the chart responded accordingly (see attachment "Selection_390).
I believe that's what you're trying to achieve, correct?
The thing with "Follow table filtering" is that the chart and the table have to be on the same page.
Please let me know if this helps.
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