rowan.bradley
Posts: 33
Joined: Tue Oct 16, 2018 5:01 pm

Filtering Points to Display in Graph

I have two types of event in my graph, "public" and "choir practice". They are distinguished by a Type property in my JSON data file. I have on my page a set of radio buttons where the user can select All Events, Public Events Only or Choir Practices Only. Depending on the setting of these radio buttons I would like to display only the corresponding points. Can I filter the points within HighCharts somehow? If so please explain. Or do I have to go back to the web server and re-extract all the points with this filter in place? Which will no doubt be slow.

Thanks - Rowan
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Filtering Points to Display in Graph

Hi, Rowan

Most of your questions have been asked and answered already on this forum or StackOverflow. If you need more help with your project, you should contact us via e-mail or Skype (assuming that you have purchased a premium license). Furthermore
you can contact Black Label company - they are licensed Highcharts subcontractors and will glad to help you with any custom project.

https://www.blacklabel.pl

Referring to your question - it can be done in many ways. The simplest is just updating/removing serie's points: https://jsfiddle.net/BlackLabel/5Lqz78x9/

Kind regards!
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Stock”