Alex Sterling

Is it possible to set a Map Range Legend Slider's minValue/maxValue after render?

Recommended Posts

It's easy enough to read the minValue/maxValue of the Range Legend slider thanks to the events system.  However, I would like to sync an adjacent Fusionchart Map's legend based on the position a user sets the original legend position.  I haven't been able to find anything in the documentation about setting these values or controlling the Legend programmatically other than configuring it's initial state.

Any help or pointers toward the correct docs would be massively helpful!

Share this post


Link to post
Share on other sites

Hi Alex,

 

FusionCharts supports the API event "legendrangeupdated" using which you could fetch the minimum and maximum value of the current colorRange selected on dragging. Sample for reference : https://jsfiddle.net/njgcbv7p/4/

However, it is not possible to set a color range programmatically as of now to set the same selected range on another map when dragged on your first map.

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now