Pie chart direction
Hello again,
I have another question about the pie chart in FastReport. Actually (of by default I guess) the datas in a pie are displayed in anti-clockwise (datas from right to left - in red in the screenshot), but is it possible to displayed the datas in clockwise (from left to right - in green in the screenshot) ??
I have another question about the pie chart in FastReport. Actually (of by default I guess) the datas in a pie are displayed in anti-clockwise (datas from right to left - in red in the screenshot), but is it possible to displayed the datas in clockwise (from left to right - in green in the screenshot) ??
Comments
Regards
Mick
Maybe a link with the axis or something else, I don't know... [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Another question : How is it possible to display the text in the legend on multiline ? (in case of the text is very long, without resize the chart to keep all the time the same size)[/img]
I think TeeChart doesn't supports multiline legend. Ask TeeChart developers for more info
The goal was - if we can NOT control the order of PieSeries let's control the order of data being read by PieSeries.
One query I used for testing is: The second query is almost the same but it has order by 1 desc.
First chart of my example works with the first query, second chart works with second query.
Try to follow this concept:
- Set PieValues.Order to loNone
- Sort your Dataset in the order you need
- Set Chart.Legend.Inverted to true or false depending which you need
And the result I got is like below: