Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Outer labels doesn't work with horizontal stacked bar chart (Read 9465 times)
abhi dhotre
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Outer labels doesn't work with horizontal stacked bar chart
Sep 21st, 2017 at 8:48pm
Print Post  
It works fine when the bar chart is not stacked. Please refer to attached screenshot below.
Thanks,
Abhi
  

Untitled_005.png ( 41 KB | 252 Downloads )
Untitled_005.png
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #1 - Sep 22nd, 2017 at 3:42pm
Print Post  
Labels of stacked bars are drawn above their bars in horizontal stacks, or rotated on right side of bars when vertical. I.e. if you had outer labels for the other series you'd see labels above the red and yellow bars too. We could add an option to pull all labels on the right of the whole stack if that's what you expect.

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


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #2 - Sep 27th, 2017 at 5:32pm
Print Post  
Thank you Slavcho. Yes, I'm expecting them to be on the right-hand side of the whole stack.

Abhi
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #3 - Sep 28th, 2017 at 5:58pm
Print Post  
Try the StackOuterLabels property from this build -
https://mindfusion.eu/_beta/chart_stacklabels.zip

If enabled, it will draw labels stacked on top of the vertical bar stack, or to the right if horizontal bars.

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


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #4 - Oct 2nd, 2017 at 9:30pm
Print Post  
Hey, Slavcho,
The labels got rotated 90 deg after setting the stack outer label property i.e. the orientation changed from horizontal to vertical. I have attached a screenshot for ref, also I have PM you code I'm using.
  

Capture_004.PNG ( 21 KB | 225 Downloads )
Capture_004.PNG
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #5 - Oct 3rd, 2017 at 7:00am
Print Post  
Hi Abhi ,

It's by design, so the chart can fit more labels when each series in the stack adds one. I guess we can implement a special case for when there's a single label for the whole stack, or add a property for rotation angle.

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


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #6 - Oct 3rd, 2017 at 2:08pm
Print Post  
I was expecting something like this for the stacked chart control also. Horizontal Outer data labels like shown in the screenshot below.
Thanks,
Abhi
  

Capture_005.PNG ( 20 KB | 223 Downloads )
Capture_005.PNG
Back to top
 
IP Logged
 
abhi dhotre
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #7 - Oct 13th, 2017 at 2:16pm
Print Post  
Hi Slavcho,
When can I expect new control libraries with rotation angle included for charts?
Thanks,
Abhi
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #8 - Oct 17th, 2017 at 10:35am
Print Post  
Hi Abhi,

This build adds OuterLabelRotation property -
https://mindfusion.eu/_beta/chart_stacklabels.zip
Code
Select All
barChart1.OuterLabelRotation = 0; 


Works only for horizontal bar stacks at this time. We'll try to implement remaining cases in next few days.

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


I Love MindFusion!

Posts: 28
Joined: Jul 12th, 2017
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #9 - Oct 17th, 2017 at 3:41pm
Print Post  
Thanks a lot, Slavcho. It's working perfectly now.  Smiley
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #10 - Nov 9th, 2017 at 2:58pm
Print Post  
This build adds BarChart.InnerLabelRotation property you requested earlier too -
https://mindfusion.eu/_beta/inner_rotation.zip

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