Search found 12 matches

Go to advanced search

by luujam1
Fri Feb 10, 2023 5:17 pm
Forum: Highcharts Usage
Topic: Pie chart ordering update not working with ID prop
Replies: 3
Views: 173
 
Jump to post

Re: Pie chart ordering update not working with ID prop

Thanks for the info. So Highcharts will not update as it does an ID check with the old data vs the new data and sees the IDs are still there.

I see in the demo you provided that it doesn't offer any animated update when re-ordering as the data is cleared. Is there an alternative?
by luujam1
Fri Feb 10, 2023 12:10 pm
Forum: Highcharts Usage
Topic: Pie chart ordering update not working with ID prop
Replies: 3
Views: 173
 
Jump to post

Pie chart ordering update not working with ID prop

I'd like to apply a sort to the data in the pie chart. see https://jsfiddle.net/ek13u9zs/2/. This works as expected when using Highchart.chart.update. However when ID props are applied, the chart does not update: https://jsfiddle.net/ek13u9zs/1/ Is there a way to do the latter and get the ordering t...
by luujam1
Thu Dec 01, 2022 1:21 pm
Forum: Highcharts Usage
Topic: Maintaining high contrast datalabels with useHTML
Replies: 7
Views: 311
 
Jump to post

Re: Maintaining high contrast datalabels with useHTML

that's awesome, thanks!
by luujam1
Tue Nov 29, 2022 2:58 pm
Forum: Highcharts Usage
Topic: Maintaining high contrast datalabels with useHTML
Replies: 7
Views: 311
 
Jump to post

Re: Maintaining high contrast datalabels with useHTML

I guess you could conditionally set the datalabel text-stroke depending on a set of colours based off your example but I have a large set of colours for the columns which I'd like to set the text colours on. is there a way in which I can utilise what highcharts uses to determine text colour? example...
by luujam1
Mon Nov 28, 2022 1:35 pm
Forum: Highcharts Usage
Topic: Maintaining high contrast datalabels with useHTML
Replies: 7
Views: 311
 
Jump to post

Re: Maintaining high contrast datalabels with useHTML

Thanks for the response! So the stroke property applied in the demo is fine when the text colour is white. however when the text colour is black, the outline doesn't pick up on this and creates a black outline still. Is it possible to hook on to when the text colour changes? this is what it looks li...
by luujam1
Fri Nov 25, 2022 2:55 pm
Forum: Highcharts Usage
Topic: Maintaining high contrast datalabels with useHTML
Replies: 7
Views: 311
 
Jump to post

Maintaining high contrast datalabels with useHTML

please see fiddle: http://jsfiddle.net/gv8jfa0x/ I have a datalabel with useHTML switched on. Is it possible to get the default high contrast styling enabled for the HTML? i.e. the white text with the black outline / the black text with the white outline depending on what the colour of the column is...
by luujam1
Fri Nov 25, 2022 2:47 pm
Forum: Highcharts Usage
Topic: Sorting columns by group
Replies: 3
Views: 218
 
Jump to post

Re: Sorting columns by group

Awesome, thanks!
by luujam1
Fri Nov 25, 2022 1:14 am
Forum: Highcharts Usage
Topic: Sorting columns by group
Replies: 3
Views: 218
 
Jump to post

Sorting columns by group

see fiddle: https://jsfiddle.net/bm190ynd/ I'd like to be able to numerically sort the data within a group instead of within series. So for first group "A" I'd like it to be sorted to have the first value of series Z (0), first value of series X (20) and then first value of series Y (90). ...
by luujam1
Mon Nov 14, 2022 3:51 pm
Forum: Highcharts Usage
Topic: Sorting all series not updating when there's an Id prop
Replies: 3
Views: 202
 
Jump to post

Re: Sorting all series not updating when there's an Id prop

That worked a treat. Thanks!
by luujam1
Thu Nov 10, 2022 11:27 pm
Forum: Highcharts Usage
Topic: Sorting all series not updating when there's an Id prop
Replies: 3
Views: 202
 
Jump to post

Sorting all series not updating when there's an Id prop

I have a column chart which contains two series. When I click on the button I'd like it to switch the columns over. This example shows it working as expected: https://jsfiddle.net/18bcj4kw/1/ When I introduce an id property to each series, nothing happens when I call chart.update. https://jsfiddle.n...
by luujam1
Wed Aug 10, 2022 3:49 pm
Forum: Highcharts Usage
Topic: Multiple data labels not toggling correctly
Replies: 3
Views: 321
 
Jump to post

Re: Multiple data labels not toggling correctly

Thanks for the response. I'll follow the issue on github
by luujam1
Tue Aug 09, 2022 12:34 pm
Forum: Highcharts Usage
Topic: Multiple data labels not toggling correctly
Replies: 3
Views: 321
 
Jump to post

Multiple data labels not toggling correctly

jsfiddle: https://jsfiddle.net/ovzfc2sw/1/ Please see fiddle above. I'd like to be able to toggle on/off certain data labels. The first toggle works fine when switching the "enabled" property of the data label. The second toggle doesn't when switching the "enabled" property. If I...

Go to advanced search