Search found 51 matches

Go to advanced search

by artakserkses
Tue Aug 03, 2021 5:37 pm
Forum: Highcharts Gantt
Topic: How to prevent point being selected?
Replies: 7
Views: 1861
 
Jump to post

Re: How to prevent point being selected?

Hi again! Unfortunately, there's no API option that could do that. But we can do something similar to what you were trying to do. We can check the name of the point in the select function and depend on the name we can activate the select functionality ( return true ) or not ( return false ). Demo: ...
by artakserkses
Mon Aug 02, 2021 9:37 am
Forum: Highcharts Gantt
Topic: How to prevent point being selected?
Replies: 7
Views: 1861
 
Jump to post

Re: How to prevent point being selected?

Hi again! Thanks a lot for the demos and for explaining your issue! :) No problem :) I suggest disabling selected status on a series and splitting your data into two series. One for points that can be selected, and the second one for points that can't be selected. In my case this isn't good option,...
by artakserkses
Fri Jul 30, 2021 2:20 pm
Forum: Highcharts Gantt
Topic: How to prevent point being selected?
Replies: 7
Views: 1861
 
Jump to post

Re: How to prevent point being selected?

Dear dominic.c here you have example: https://jsfiddle.net/ujyfb603/ I just would like for some points not to be able to be selected. At this moment I have something like this: https://jsfiddle.net/2j0vrmun/1/ and it works, kind of :) Cause you can select the point, but it unselects instantly :) But...
by artakserkses
Thu Jul 29, 2021 8:59 am
Forum: Highcharts Gantt
Topic: How to prevent point being selected?
Replies: 7
Views: 1861
 
Jump to post

How to prevent point being selected?

Hey once again :) I have an issue, cause on select event i would like to check some things, and in some cases prevent from selecting point. For now i have something like this: select: data => { if (!data.target.dragDrop.draggableY) { setTimeout(() => this.unselectAllPoints(), 10); return; } and this...
by artakserkses
Mon Jul 26, 2021 12:49 pm
Forum: Highcharts Gantt
Topic: white label with black border
Replies: 2
Views: 985
 
Jump to post

Re: white label with black border

Ok, solved, please delete this topic :mrgreen:
by artakserkses
Mon Jul 26, 2021 12:07 pm
Forum: Highcharts Gantt
Topic: white label with black border
Replies: 2
Views: 985
 
Jump to post

white label with black border

Hey again :) I would like to change labels on point, cause when it is white (or black, or every other color) sometimes my users don't see letters :) So I came to idea to make white font with black border (something like: https://www.geeksforgeeks.org/css-font-border/ ), but when i try to add on seri...
by artakserkses
Mon Jun 28, 2021 1:44 pm
Forum: Highcharts Gantt
Topic: tooltip on yAxis.grid.column
Replies: 5
Views: 4968
 
Jump to post

Re: tooltip on yAxis.grid.column

sebastian.h wrote: Fri Jun 25, 2021 9:58 am Hi,
Great to hear from you :)
I'm happy too :)
Thanks for answer it was very helpful. Thanks to it i just draw a rectangles on areas where i want to have label, and add mouse events on those rectangles :mrgreen:
by artakserkses
Thu Jun 24, 2021 4:20 pm
Forum: Highcharts Gantt
Topic: tooltip on yAxis.grid.column
Replies: 5
Views: 4968
 
Jump to post

tooltip on yAxis.grid.column

Hello again :) Is it possible somehow to make tooltip on columns, or columns labels? like f.ex. in here: https://codesandbox.io/s/gantt-chart-overlapping-jf4ke?file=/src/app/chart.component.ts I would like a tooltip on Test, Resource4, and Resource1 I tried tooltips on series, chart, etc. but this d...
by artakserkses
Sat May 29, 2021 12:34 pm
Forum: Highcharts Gantt
Topic: tooltip over many points
Replies: 11
Views: 4591
 
Jump to post

Re: tooltip over many points

I think that you need to update tooltips coordinations, cause when you zoom in/out you are changing coordinations of mouse pointer inside of the chart. Or you can simply close tooltip and open it again in the zooming event :)
by artakserkses
Tue May 18, 2021 11:03 am
Forum: Highcharts Gantt
Topic: mouse coordinates
Replies: 3
Views: 3084
 
Jump to post

Re: mouse coordinates

I had an error, cause I have something like: <div id="chart-container"> <highcharts-chart ...></highcharts-chart> </div> A I was trying to add OnDrop on #chart-container (cause there I have height and overflow-y set), but when i moved the OnDrop event to <highcharts-chart> i started to get...
by artakserkses
Mon May 17, 2021 3:07 pm
Forum: Highcharts Gantt
Topic: mouse coordinates
Replies: 3
Views: 3084
 
Jump to post

mouse coordinates

Hello again :) Next question. Can I somehow obtain mouse coordinates in chart from a function? (especially chartX/Y attributes). Or maybe there is a better way to do what I need :D I'm trying to do dragdrop from external div to chart. And I have some points in this external div that when I drop on c...
by artakserkses
Wed May 12, 2021 6:15 am
Forum: Highcharts Gantt
Topic: tooltip over many points
Replies: 11
Views: 4591
 
Jump to post

Re: tooltip over many points

I don't know if this is the best approach, but I managed:
https://stackblitz.com/edit/highcharts- ... mponent.ts
:mrgreen:
by artakserkses
Mon May 10, 2021 7:34 pm
Forum: Highcharts Gantt
Topic: tooltip over many points
Replies: 11
Views: 4591
 
Jump to post

Re: tooltip over many points

I will present to you the concept as if I were trying to do point detection. First check how many points you have and if there are any points with overlapping dates, if so, show them these two points in tooltip. I don't have a ready-made solution and it requires more work to make them from the fing...
by artakserkses
Fri May 07, 2021 2:59 pm
Forum: Highcharts Gantt
Topic: tooltip over many points
Replies: 11
Views: 4591
 
Jump to post

Re: tooltip over many points

Ok, i managed to resolve first issue (arrow functions are evil :mrgreen: ) but second issue is still on, and ... i don't know how the "shared" option of tooltip works, cause I thought that when I use tooltip.shared in this.points i will have all points below mouse pointer, but ... i don't ...
by artakserkses
Fri May 07, 2021 2:33 pm
Forum: Highcharts Gantt
Topic: tooltip over many points
Replies: 11
Views: 4591
 
Jump to post

Re: tooltip over many points

And second thing is that tooltip.formatter (just as pointFormatter) is updating only when top point is changing. If a task below is changing (if you move mouse pointer from left to right in fiddle example from first post tooltip will change every time when new point will appear below mouse pointer, ...

Go to advanced search