- Welcome, Guest. Please Login or Register
MindFusion  
  Version 2 of our Xamarin Calendar component adds Resource view and support for Universal Windows Platform. Now beta testing UWP version of Xamarin Diagram.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Outer labels doesn't work with horizontal stacked bar chart
Read 133 times

abhi dhotre   Offline
YaBB Newbies
*
Posts: 28
I Love MindFusion!


   
     
 
Outer labels doesn't work with horizontal stacked bar chart
Sep 21st, 2017 at 9:48pm
 
It works fine when the bar chart is not stacked. Please refer to attached screenshot below.
Thanks,
Abhi
 
 

Untitled_005.png (41 KB | 14 )
Untitled_005.png
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1195
Gender: male
tech.support


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #1 - Sep 22nd, 2017 at 4:42pm
 
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
 
 
 
IP Logged    
 
     

abhi dhotre   Offline
YaBB Newbies
*
Posts: 28
I Love MindFusion!


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

Abhi
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1195
Gender: male
tech.support


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #3 - Sep 28th, 2017 at 6:58pm
 
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
 
 
 
IP Logged    
 
     

abhi dhotre   Offline
YaBB Newbies
*
Posts: 28
I Love MindFusion!


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #4 - Oct 2nd, 2017 at 10:30pm
 
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 | 6 )
Capture_004.PNG
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1195
Gender: male
tech.support


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #5 - Oct 3rd, 2017 at 8:00am
 
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
 
 
 
IP Logged    
 
     

abhi dhotre   Offline
YaBB Newbies
*
Posts: 28
I Love MindFusion!


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #6 - Oct 3rd, 2017 at 3:08pm
 
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 | 5 )
Capture_005.PNG
 
IP Logged    
 
     

abhi dhotre   Offline
YaBB Newbies
*
Posts: 28
I Love MindFusion!


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #7 - Oct 13th, 2017 at 3:16pm
 
Hi Slavcho,
When can I expect new control libraries with rotation angle included for charts?
Thanks,
Abhi
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1195
Gender: male
tech.support


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #8 - Oct 17th, 2017 at 11:35am
 
Hi Abhi,

This build adds OuterLabelRotation property -
https://mindfusion.eu/_beta/chart_stacklabels.zip
Code:
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
 
 
 
IP Logged    
 
     

abhi dhotre   Offline
YaBB Newbies
*
Posts: 28
I Love MindFusion!


   
     
 
Re: Outer labels doesn't work with horizontal stacked bar chart
Reply #9 - Oct 17th, 2017 at 4:41pm
 
Thanks a lot, Slavcho. It's working perfectly now.  Smiley
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print