Search found 1114 matches

Go to advanced search

by michal.f
Tue Mar 12, 2024 10:41 am
Forum: Highcharts Usage
Topic: Highchart Pie Chart Tooltip position issue
Replies: 7
Views: 212
 
Jump to post

Re: Highchart Pie Chart Tooltip position issue

Hello! Can i get the cursor current position inside positioner method Yes, you can get this information in this method, the API says exactly how to do it: The callback receives three parameters: labelWidth , labelHeight and point , where point contains values for plotX and plotY telling where the re...
by michal.f
Tue Mar 12, 2024 10:23 am
Forum: Highcharts Usage
Topic: Box plot x-axis lables
Replies: 2
Views: 85
 
Jump to post

Re: Box plot x-axis lables

Hello!

To achieve this, just use the xAxis.labels.format property.

Demo: https://jsfiddle.net/BlackLabel/74e58cvk/
API: https://api.highcharts.com/highcharts/x ... els.format
by michal.f
Tue Mar 12, 2024 10:12 am
Forum: Highcharts Usage
Topic: tooltip
Replies: 2
Views: 79
 
Jump to post

Re: tooltip

You can send a screenshot using external hosting such as Imgur . But as manju_m wrote, the tooltip.headerFormat property may be what you're looking for. Alternatively, you can also check tooltip.formatter which is used to modify the entire content of the tooltip. Demo : https://jsfiddle.net/BlackLab...
by michal.f
Fri Mar 01, 2024 5:26 pm
Forum: Highcharts Usage
Topic: Highchart Pie Chart Tooltip position issue
Replies: 7
Views: 212
 
Jump to post

Re: Highchart Pie Chart Tooltip position issue

Hi

In case you don't want the tooltip to overlap some elements, you can use the tooltip.positioner() callback function to change its position.

Demo: https://jsfiddle.net/BlackLabel/pjqaytxh/
API: https://api.highcharts.com/highcharts/t ... positioner
by michal.f
Fri Mar 01, 2024 5:20 pm
Forum: Highcharts Usage
Topic: Highcharts custom tooltip alignment
Replies: 6
Views: 170
 
Jump to post

Re: Highcharts custom tooltip alignment

I think this message relates to a different topic. More specifically: viewtopic.php?p=191669 So there you will get an answer to your Pie chart related topic.

The question is, is the above solution what you are looking for for the "overflow" tooltip?
by michal.f
Fri Mar 01, 2024 5:16 pm
Forum: Highcharts Usage
Topic: A Query on highcharts
Replies: 2
Views: 65
 
Jump to post

Re: A Query on highcharts

Hello and welcome to our forum! It looks like the Pie chart type reverses the positions of the axes. So using chart.inverted: true as workaround solves this problem. And to remove the title of a given axis, just set xAxis.title.text to an empty string. Demo : https://jsfiddle.net/BlackLabel/k6Ley2t0...
by michal.f
Thu Feb 29, 2024 1:21 pm
Forum: Highcharts Usage
Topic: Data plot not starting from left position on x-axis
Replies: 2
Views: 73
 
Jump to post

Re: Data plot not starting from left position on x-axis

Hello!

If you want to remove the space on the left and right sides then in your case you need to use plotOptions.column.groupPadding.

Demo: https://jsfiddle.net/BlackLabel/2k7L9j4a/
API: https://api.highcharts.com/highcharts/p ... oupPadding
by michal.f
Thu Feb 29, 2024 12:54 pm
Forum: Highcharts Usage
Topic: Pie chart subtitle formatter
Replies: 2
Views: 69
 
Jump to post

Re: Pie chart subtitle formatter

Hello and welcome to our fourm. As it is written in the documentation on the official wrapper repository on GitHub: By using Portals it is possible to add a component to every HTML chart element. So, since the subtitle has the subtitle.useHTML option, it is also possible to add a portal to it. Demo ...
by michal.f
Thu Feb 29, 2024 10:52 am
Forum: Highcharts Usage
Topic: Activating data label connectors
Replies: 1
Views: 71
 
Jump to post

Re: Activating data label connectors

The series-label module is used to display the name of the series on the plot area but only for certain types of series as it is given in the API, so unfortunately it will not work for column: The series labels currently work with series types having a graph or an area. From what I understand, you w...
by michal.f
Tue Feb 27, 2024 2:28 pm
Forum: Highcharts Usage
Topic: Highcharts custom tooltip alignment
Replies: 6
Views: 170
 
Jump to post

Re: Highcharts custom tooltip alignment

In this case, instead of using SVGRenderer to draw the label, I would suggest simply creating a new DOM element in the document body and positioning it appropriately with fixed X and Y. Demo : https://jsfiddle.net/BlackLabel/vhe0a7rp/ MDN Docs: https://developer.mozilla.org/en-US/docs/Web/API/Docume...
by michal.f
Mon Feb 26, 2024 10:12 am
Forum: Highcharts Usage
Topic: Responsive area chart
Replies: 8
Views: 229
 
Jump to post

Re: Responsive area chart

Hi I checked this demo and it looks correct on the desktop in devtools with a resolution of 400px. I also checked what it looks like on mobile devices and there the problem actually occurs. I checked the source code and the problem is that the basic HTML structure is missing, i.e. <html>, <head>, <b...
by michal.f
Fri Feb 23, 2024 4:23 pm
Forum: Highcharts Usage
Topic: Highcharts custom tooltip alignment
Replies: 6
Views: 170
 
Jump to post

Re: Highcharts custom tooltip alignment

Hello! I think that tooltip.outside will work best in your case. Alternatively, adding scrolling of the tooltip content. Demo : https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/tooltip/outside API : https://api.highcharts.com/highcharts/tooltip.outside
by michal.f
Fri Feb 23, 2024 4:09 pm
Forum: Highcharts Usage
Topic: Set different timezone
Replies: 11
Views: 218
 
Jump to post

Re: Set different timezone

Hi!

That explains a lot. As in the API it says:
Until v11.2.0, this option depended on moment.js.

So updating the library to a newer version should solve the problem.
by michal.f
Fri Feb 23, 2024 12:43 pm
Forum: Highcharts Usage
Topic: Spark Line Chart returning image of No data to display
Replies: 3
Views: 177
 
Jump to post

Re: Spark Line Chart returning image of No data to display

Hello! If the question is not related to the previous one, I would suggest asking it as a separate topic. Since it is related to maps, it is best in the Highcharts Maps section. Separating it will make it easier for other people to find the answer to the same problem. Additionally, it's best if you ...
by michal.f
Thu Feb 22, 2024 1:29 pm
Forum: Highcharts Usage
Topic: Set different timezone
Replies: 11
Views: 218
 
Jump to post

Re: Set different timezone

So if it doesn't work locally, maybe the problem is with the version. What version of Highcharts are you using locally?

Go to advanced search