Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Size of Legend box (Read 4034 times)
abhi dhotre
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Size of Legend box
Jul 13th, 2017 at 3:03pm
Print Post  
Hi All,
I would like to know if you can resize the box which displays legends. Also, can we have the legend box outside the chart area?
Thanks,
Abhi Smiley
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Size of Legend box
Reply #1 - Jul 13th, 2017 at 4:27pm
Print Post  
Hi,

You could create a Dashboard instance in a separate floating window and add only a LegendRenderer object to it to let users move it anywhere on the screen or inside the main form. By resizing do you mean letting users scale it interactively?

Regards,
Slavcho
  
Back to top
 
IP Logged
 
abhi dhotre
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Re: Size of Legend box
Reply #2 - Jul 13th, 2017 at 5:02pm
Print Post  
No I meant in code, like setting height and width properties of the legend box?
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Size of Legend box
Reply #3 - Jul 13th, 2017 at 5:15pm
Print Post  
You could set fixed Width and Height through Chart.LegendRenderer but it won't scale the legend text sizes if that's what you expect. Instead set larger font sizes through Theme.DataLabelsFontSize and Theme.LegendTitleFontSize and the legend should become large enough to fit its texts.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint