bricolagezero2
Posts: 13
Joined: Fri May 27, 2022 5:48 pm

Filtering data before it reaches Highcharts

Hello!

I have data that is coming in from MySQL and then being parsed to JSON to display on Highcharts Gantt. I was looking for a way to use the standard date filter and show only rows with data for that year (hiding empty rows), but it doesn't seem to be possible with nested parent objects.

I'm wondering now if there's a way to filter the incoming data from the JSON parse before Highcharts renders it, and then I can create a bunch of Gantt charts (one for each year) and toggle between them.

Thank you!
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Filtering data before it reaches Highcharts

Hi there,

Thank you for contacting us with this question.

I think that my colleague has already given you some hints when it comes to filtering the data in Highcharts. But, when it comes to filtering it right after it comes from MySQL, then it is beyond our scope of support on this forum. Since this is a more general question than a Highcharts one, I would suggest looking for an answer on a more general forum i.e Stack Overflow.

Topic: viewtopic.php?f=19&t=48788&p=178259#p176757

In case of any other questions related to Highcharts functionality feel free to contact us anytime,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Gantt”