|
Re: pie chart sorting [message #956545 is a reply to message #956479] |
Wed, 24 October 2012 15:53  |
Tobbi Filteau Messages: 10 Registered: September 2011 |
Junior Member |
|
|
Well, turns out the fact that the "sort on" zone was greyed out in my second screenshot was probably some bug in Eclipse since, when I went and changed the XML code directly, everything worked properly. Here's what I did.
1) First, go in the property editor of your chart (my first screenshot)
2) Define a sort in the order that you want. The field probably won't be the right one, but it doesn't matter at this point.
3) Next, go back to the layout and click once on your chart to highlight it.
4) Click on the XML tab at the bottom of the window to get into the code, it should take you where the chart is defined immediately.
At the very end of this definition, you'll see something that looks like this (you can search for "sort" and it should take you there):
...
<Sorting>Descending</Sorting>
<SortKey>
<Definition>row["TotalPaye"]</Definition>
</SortKey>
All you have to do here is change the <Definition></Definition> tag to what you want and, if necessary, the <Sorting></Sorting> tag to the order that you desire (Ascending would be the other possible value if you ever wonder).
I hope this helps.
Osu
|
|
|
Powered by
FUDForum. Page generated in 0.02473 seconds