I'd like to show a scatter plot with years across the bottom (horizontal) and price on the vertical axes. For each row I also have a category and I'd like each category to appear as a different color. Is this possible?
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
If there's a string in the chart, it will always be used for the axis because it can't be plotted on the chart.
As for the category, you can't include it in the chart since you already have a string-type column (date), and chart engines cannot accept more than one string column in the chart.
Please note that using hooks or wpdatatable and wpDataChart callbacks requires certain level of programming skills and included support refers only to advice.
I'd like to show a scatter plot with years across the bottom (horizontal) and price on the vertical axes. For each row I also have a category and I'd like each category to appear as a different color. Is this possible?
Hello Andrew
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
If there's a string in the chart, it will always be used for the axis because it can't be plotted on the chart.
As for the category, you can't include it in the chart since you already have a string-type column (date), and chart engines cannot accept more than one string column in the chart.
You can try using wpDataCharts callbacks but I don't know if that would work either.
Please note that using hooks or wpdatatable and wpDataChart callbacks requires certain level of programming skills and included support refers only to advice.
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