Hello, I have created a chart with Highcharts. When I change the column sorting that contains the "dates" on the table, the x-axis on chart is flipped (dates in reverse order). You can see the example in the attachment. Is it possible to lock the sorting of the x-axis (not linked to the sorting in the table)? Thank you
That's the default behavior of the charts. It's not in reverse, as far as I can see - the first value in the column is the first value on the chart, in both cases:
The chart is pulling data from the table, so the way you sort the table is the way the chart is going to plot the data from the table on it. You can edit the chart, and try disabling "Follow table filtering" - see if that helps.
Thank you for your reply. Unfortunately disabling "Follow table filtering" is not good because the first column has to be filtered to choose what to show on the chart. I was asking if it is possible to lock only the x-axis, with the dates sorted correctly.
With "Follow table filtering" enabled, I don't believe this will be possible. This setting is used to display the chart with what's currently displayed in the table. Since the table is filtered when you sort it (you have 29 pages in the table, so each page is considered a new filtered page), it's also affecting the chart.
Hello, I have created a chart with Highcharts. When I change the column sorting that contains the "dates" on the table, the x-axis on chart is flipped (dates in reverse order). You can see the example in the attachment. Is it possible to lock the sorting of the x-axis (not linked to the sorting in the table)? Thank you
Hello Giulio
That's the default behavior of the charts. It's not in reverse, as far as I can see - the first value in the column is the first value on the chart, in both cases:
The chart is pulling data from the table, so the way you sort the table is the way the chart is going to plot the data from the table on it. You can edit the chart, and try disabling "Follow table filtering" - see if that helps.
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
Thank you for your reply. Unfortunately disabling "Follow table filtering" is not good because the first column has to be filtered to choose what to show on the chart. I was asking if it is possible to lock only the x-axis, with the dates sorted correctly.
Hi again Giulio
With "Follow table filtering" enabled, I don't believe this will be possible. This setting is used to display the chart with what's currently displayed in the table. Since the table is filtered when you sort it (you have 29 pages in the table, so each page is considered a new filtered page), it's also affecting the chart.
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