MT_MANC
Posts: 81
Joined: Fri Mar 25, 2016 1:35 pm

Highcharts-Highcharts React Geographic Map: Country Multi-Select Not Enabled ? ?

On this Highcharts demo web version: "Rich information on click"

Code: Select all

https://www.highcharts.com/demo/maps/rich-info
a user can multi-select several countries to compare data on the RH Country linechart using "Shift + Mouseclick" to multi-select countries - this feature is FANTASTICALLY useful for data comparison over time.

But the React version of this geographic chart/map (on a mobile device)- only seems to permit a single country to be selected at any time - even using an onscreen full (Android) keyboard with Shift button via "Shift + FingerTap" or "Shift + StylusTap"
My question: Is this a current limitation of Highcharts-React or should it work (maybe via some additional code?) OR can the multi-select functionality be emulated some other way on a mobile device ?
Any pointers gratefully received
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Highcharts-Highcharts React Geographic Map: Country Multi-Select Not Enabled ? ?

Hello,

You can use a wrap to modify select logic to work similarly to multiselect.

Demo: https://jsfiddle.net/BlackLabel/svgyfbr9/
Extending Highcharts: https://www.highcharts.com/docs/extendi ... highcharts

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Maps”