Search found 14 matches

Go to advanced search

by ow2code
Tue Aug 01, 2023 4:24 pm
Forum: Highcharts Usage
Topic: Reflow with React hooks
Replies: 5
Views: 2272

Re: Reflow with React hooks

Glad I found this thread but for some reason using HighCharts React the 'this' context does not include reflow as an option Im using functional components and not classes. Using options.chart.events = { load() { setTimeout(this.reflow.bind(this),0); } } chart is very basic right now so nothing else ...
by ow2code
Mon Jul 31, 2023 4:13 pm
Forum: Highcharts Usage
Topic: Stacked Column last series data label value
Replies: 2
Views: 58

Re: Stacked Column last series data label value

I figured it out based off what you provided in the jsfiddle

The issue was yAxis: {
stackLabels: {
enabled:true,
}

I was not aware of what this did, when I was looking at example code.

Thank you
by ow2code
Fri Jul 28, 2023 7:32 pm
Forum: Highcharts Usage
Topic: Stacked Column last series data label value
Replies: 2
Views: 58

Stacked Column last series data label value

Hi team, I have a multi series stacked column chart and when I use format or formatter on the dataLabel the last series always shows the total -> "100%" I would like all the series data labels to display the this.y value. Im using column type percent and using formatter in the plotOptions datalabel ...
by ow2code
Thu Jun 15, 2023 1:46 pm
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Re: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

Apologies for the confusion. I saw in another Highcharts forum a developer suggested getting into the core of tooltip.prototype.refresh. I dont want custom refresh features I just want to manually refresh the tooltip after the button is clicked. The tooltip remains open when the button is clicked wh...
by ow2code
Wed Jun 14, 2023 8:57 pm
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Re: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

Hey Jakub I have been trying to implement the refresh option but no luck. Generally Im using the tooltip to hold buttons that are clickable and send the data down to the angular class. I have that working. After the click I want to disable the button because its doing a call. So im receiving the val...
by ow2code
Fri Jun 09, 2023 5:23 am
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Re: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

So for our requirements we have some information in the tooltip that has buttons and some data. We need the tooltip to stay open for a certain amount of time to let users look at the info but when they mouseout a certain distance we need to change the hide delay time. I dont know if this is somethin...
by ow2code
Thu Jun 08, 2023 10:05 pm
Forum: Highcharts Stock
Topic: how to handle tooltip refresh event?
Replies: 6
Views: 5803

Re: how to handle tooltip refresh event?

just fyi there is a comment missing in the highcharts.chart method, right before series (wont work otherwise)
by ow2code
Thu Jun 08, 2023 9:45 pm
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Re: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

I made a lot of progress, so it looks like if the tooltip contains an element that is clickable that does nothing like a div then there is potential lagging on the element. I changed all the divs to spans and its working much better and my buttons are clickable (within the tooltip). Maybe it will be...
by ow2code
Thu Jun 08, 2023 3:43 pm
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Re: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

It looks like the issue is with the tooltip outside prop being set to true in our set up. When the tooltip is bound to the chart it looks like its working fine. I dont know if this helps you conceive of a possible change, I imagine the browser is lagging trying to find the tooltip because its in an ...
by ow2code
Thu Jun 08, 2023 3:08 pm
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Re: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

Hi it would be very difficult to recreate in jsfiddle because how we are applying the data to the tool tip. Using reduce() im not sure if that has something to do with it. But I also noticed that destroyWhenHiding() does not seem to be working when I call it from a document listener event (click) or...
by ow2code
Wed Jun 07, 2023 10:49 pm
Forum: Highcharts Usage
Topic: Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button
Replies: 10
Views: 297

Tooltip with clickable button freezing in the UI when clicking the tooptip but not the button

Im using useHtml loading custom buttons, I have allowableAttraibutes and AllowableTags, pointerEvents: auto. However when I click anthing except the button in the tooltip it freezes and takes a while to disappear and the app is not useable until the tooltip disappears. I've tried tooltip.destroy(), ...
by ow2code
Thu Mar 02, 2023 1:02 am
Forum: Highcharts Usage
Topic: Passing class members Tooltip formatter function (angular)
Replies: 3
Views: 562

Passing class members Tooltip formatter function (angular)

Tooltip formatter’s context is regarding the particular point but how can we work with member methods or variables outside of the scope of formatter? *no use of jquery In this example I want to click a button in the tooltip and return the index of that point Tooltip.formatter: function(){ return ‘<b...
by ow2code
Mon Jan 09, 2023 5:00 pm
Forum: Highcharts Usage
Topic: Tooltip actionable button without jquery
Replies: 3
Views: 225

Re: Tooltip actionable button without jquery

Thank you very much, this saved me. I wasnt sure where in the docs Id find this info but thankfully there are forums like this. To add on to the question can we return custom html elements in the formatter using this? i.e. return '<my-element-img></my-element>' ** I think bypassHTMLFiltering is the ...
by ow2code
Fri Jan 06, 2023 1:56 pm
Forum: Highcharts Usage
Topic: Tooltip actionable button without jquery
Replies: 3
Views: 225

Tooltip actionable button without jquery

Hi, Im looking for a tooltip button without using jquery. I have seen other examples of this question but it uses jquery and the other solution was setting tooltip.style.pointerEvents to true which I have done and its still not working. Im also using angular. Im returning html (using useHtml and for...

Go to advanced search