Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to place big pieces to the top? (Read 4111 times)
maron.mar
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Apr 10th, 2007
How to place big pieces to the top?
Apr 10th, 2007 at 10:39am
Print Post  
Hi
I am developing a windows application in which it contains a pie chart. I am showing
the data from a database. For this i am using a datatable.
now i want to place the big pieces at the top and the smaller ones - to the bottom.
I am not sure how to do that.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to place big pieces to the top?
Reply #1 - Apr 10th, 2007 at 1:52pm
Print Post  
Hi,

Is your data sorted? If it is, you could set the StartAngle to one that will bring the largest pieces to the top. It seems the bar and line charts have a SortOrder property, but it is not available in the pie chart yet, so you will need to sort the values yourself  Undecided

Stoyan
  
Back to top
 
IP Logged
 
maron.mar
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Apr 10th, 2007
Re: How to place big pieces to the top?
Reply #2 - Apr 11th, 2007 at 10:33am
Print Post  
Thanks Stoyo,
I sorted manually the data,  no problems with that.  I put the large piece to the top, looks o.k.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint