Search found 13 matches

Go to advanced search

by bricolagezero2
Mon Jul 18, 2022 1:20 pm
Forum: Highcharts Gantt
Topic: Filtering data before it reaches Highcharts
Replies: 1
Views: 663
 
Jump to post

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 won...
by bricolagezero2
Mon Jul 18, 2022 1:03 pm
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

bricolagezero2, Sadly, I found, that my custom code works only for simple data, not with advanced and collapsed like yours. Actually, this code was trying to change the standard behaviour of the Gantt chart. To make this work it needs a lot of changes in Highcharts Core. If you want you can create ...
by bricolagezero2
Mon Jul 18, 2022 2:46 am
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

bricolagezero2, Your attempt is totally fine and you can render your chart in ajaxSuccess function - you can see it in the first demo. But as a second way you can create a chart on start with some data (or empty data) and in ajaxSuccess function using a setData method to pass a new data to the char...
by bricolagezero2
Wed Jul 13, 2022 2:23 am
Forum: Highcharts Gantt
Topic: Convert Date Format
Replies: 1
Views: 728
 
Jump to post

Convert Date Format

Hello! All of my data contains dates in this format, and it's a lot to change manually: start: '2021-12-17', end: '2021-12-17', So my Gantt chart is rendering properly. Is there some way to parse the date and time to: start: Date.UTC(YYY MM, DD), end: Date.UTC(YYYY, MM, DD), Instead? Thank you so mu...
by bricolagezero2
Mon Jun 27, 2022 9:41 pm
Forum: Highcharts Usage
Topic: Minutes to HH:MM
Replies: 3
Views: 417
 
Jump to post

Re: Minutes to HH:MM

Hello, I don't quite understand what you mean. Could you reproduce this based on this JsFiddle demo: https://jsfiddle.net/BlackLabel/yz8eutqf/? Best regards! Thank you for your reply! Can you please look at the attached image. The "duration" is shown as a regular number string, but I'd li...
by bricolagezero2
Mon Jun 27, 2022 3:59 pm
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

bricolagezero2, I am privately bound by a non-competition agreement, so I can't help you with this problem as paid work. Paid work is beyond the scope of support on our forum. If you need help with your implementation, you can contact the Black Label company that specializes in Highcharts custom pr...
by bricolagezero2
Mon Jun 27, 2022 2:41 pm
Forum: Highcharts Usage
Topic: Minutes to HH:MM
Replies: 3
Views: 417
 
Jump to post

Minutes to HH:MM

Hello! I am using Highcharts bar chart within a Wordpress plugin (so I do not have a proper JS fiddle), but they do allow you to add standard Highcharts customization using hooks. My question is - currently my data source has a sum of hours and dates. For the hours, I'd like to display them as HH:MM...
by bricolagezero2
Thu Jun 16, 2022 9:56 pm
Forum: Highcharts Gantt
Topic: Issue with frozen header / scrollbar.
Replies: 1
Views: 468
 
Jump to post

Issue with frozen header / scrollbar.

I've added the function below to achieve a frozen header: yAxis:{ scrollbar: { enabled: true, showFull: false }, max: 60, min:1 }, And it is really glitchy as seen in the live link here: https://dashboard-dev.syneoshealthls.com/timeline/ A lot of data is missing as you keep scrolling; rows become em...
by bricolagezero2
Tue Jun 14, 2022 4:27 pm
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

bricolagezero2, It's hard to reproduce your issue because you are using PHP and your data are imported from somewhere. Also, you didn't attach any screenshots of your errors. Can you attach a proper image with your errors in the console? I am looking for your response. Regards! Hi Hubert! I've uplo...
by bricolagezero2
Mon Jun 13, 2022 5:37 pm
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

bricolagezero2, Thank you for attaching your demo, now I understand correctly what you want to achieve. The code, which you pasted didn't have any effect, because your data is correct. That if has blocked a data with improper date and all of your rows on the chart have a proper date. Unfortunately,...
by bricolagezero2
Mon Jun 06, 2022 11:28 am
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

Thanks again! I pasted the code, but it doesn't seem to have any affect. I suspect it is because I am using a date filter or the nature of how the data is converted from MySQL to JSON. Thanks again though, I really appreciate your time!

https://dashboard-dev.syneoshealthls.com/timeline/
by bricolagezero2
Wed Jun 01, 2022 12:11 am
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Re: Is it possible to hide rows with empty values when filtering?

Hello bricolagezero2! Welcome to our forum and thanks for contacting us with your question! There are a few ways to remove empty values from the data of the chart. For example you can use a JavaScript method filter and check if each element has its own start and end properties before initialization...
by bricolagezero2
Fri May 27, 2022 5:51 pm
Forum: Highcharts Gantt
Topic: Is it possible to hide rows with empty values when filtering?
Replies: 15
Views: 2379
 
Jump to post

Is it possible to hide rows with empty values when filtering?

Is there a way to do this? The Gantt chart is reading off a MySQL Database.

Basically, if you select 2022, for example, all rows without data should be hidden.

Image

Go to advanced search