Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic 2D Chart InnerLabel position (Read 5523 times)
abrechts
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: May 30th, 2016
2D Chart InnerLabel position
Jun 21st, 2016 at 6:17am
Print Post  
When 2D chart bar inner titles are larger than a bar, then they are rendered in a rather strange way (see attached screen shot). The desired behavior in this situation could be:
1) The label sticks out at the top of the bar.
2) Or: The label starts from the bottom of the bar (with a small bottom margin), then crossing the top of the bar into the background.
  

Bar_Title.jpg ( 39 KB | 216 Downloads )
Bar_Title.jpg
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3204
Joined: Oct 19th, 2005
Re: 2D Chart InnerLabel position
Reply #1 - Jun 21st, 2016 at 6:35am
Print Post  
By bottom and top do you mean left and right sides for the horizontal bars?
  
Back to top
 
IP Logged
 
abrechts
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: May 30th, 2016
Re: 2D Chart InnerLabel position
Reply #2 - Jun 21st, 2016 at 7:04am
Print Post  
That's correct, I was referring to the orientation-independent column bottom (base line) and top.
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3204
Joined: Oct 19th, 2005
Re: 2D Chart InnerLabel position
Reply #3 - Jun 21st, 2016 at 9:27am
Print Post  
At this time labels are drawn centered, our developer will add a property to let you choose alignment.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
abrechts
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: May 30th, 2016
Re: 2D Chart InnerLabel position
Reply #4 - Jun 21st, 2016 at 9:50am
Print Post  
The implementation of this feature would already improve the situation. However, one still still could not use the centered label option without risking to end up with ugly results, depending on the height of the columns. - Therefore it would be great to have centered labels automatically switch to a more useful label positioning mode whenever they don't fit the column anymore.
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3204
Joined: Oct 19th, 2005
Re: 2D Chart InnerLabel position
Reply #5 - Jun 21st, 2016 at 1:34pm
Print Post  
This build adds InnerLabelAlignment and InnerLabelClip properties to BarSeries class -
https://mindfusion.eu/_temp/bar_labels.zip

If you set InnerLabelAlignment to Center, it should work as you've described.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
abrechts
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: May 30th, 2016
Re: 2D Chart InnerLabel position
Reply #6 - Jun 21st, 2016 at 2:10pm
Print Post  
Yes!! Great work, this immensely increases the label rendering quality. Thanks for acting so quickly.

PS: You additionally need to set InnerLabelClip = False to make it work.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint