RahulY

resize legend position with respect to chart resizing

Recommended Posts

Hi,

when i am using

"legendPosition": "absolute",
"legendXposition" : "250",
"legendYposition" : "50"

to fix the legend position but when i am resizing(by changing height or width) the charts then legends fixed at whatever we define in 'legendXposition'  & 'legendYposition' position.

is the any way resize legend position with respect to chart resizing ?

Share this post


Link to post
Share on other sites

Hi Rahul,

Since you are setting the values of the X and Y coordinates of the legend in fixed pixels using the legendXPosition and legendYPosition attributes, it is the intended behaviour to have the legend render at the provided coordinates, even if you resize.

Reference: https://www.fusioncharts.com/dev/chart-guide/chart-configurations/legend#set-legend-coordinates

 

As of now, it is not possible to resize legend position with respect to chart resizing.

Thanks,

Srishti

Share this post


Link to post
Share on other sites

Hi,

i want to place the legends at particular position(exactly above the 3rd last column) as attached in screenshot, but this position is in between the top-right position and top position,

but when i resize by changing width of chart then the legends position should be at exactly above the 3rd last column

Is there any way to do legends position should be at exactly above the 3rd last column even if i resize by changing width of chart ?

Thanks

Screenshot 2021-05-03 at 5.40.59 PM.png

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