Page 1 of 1

Could I have a hole in my polar series, please?

Posted: Tue Jul 15, 2014 9:17 am
by 16567885
I'm not sure if this is a feature request or if I'm just overlooking something.

First, we had a pie series. Later came the donut series which is basically a pie series with a hole in the middle. Is something like this also possible for a TPolarSeries?

A polar series looks like this:
MainForm_2014-07-15_11-02-30.png
MainForm_2014-07-15_11-02-30.png (75.06 KiB) Viewed 10914 times
I am now looking for something like this:
MainForm_2014-07-15_11-02-30 (edited).png
MainForm_2014-07-15_11-02-30 (edited).png (77.18 KiB) Viewed 10907 times

How could this be achived? My main goal is to have an "axe" every 45° (like in the pictures) but not having them collide in the centre of the chart. I don't really care about the rings, I'm going to have them drawn manually either way :wink:


Many thanks in advance.

Re: Could I have a hole in my polar series, please?

Posted: Wed Jul 16, 2014 7:28 am
by narcis
Hello,

This is not possible for now, I'm afraid. So I have added your request to bugzilla (ID849) to be considered for inclusion in future releases.

Re: Could I have a hole in my polar series, please?

Posted: Wed Jul 16, 2014 7:50 am
by 16567885
Thank you.

By the way, I stumbled upon the method TCustomPolarSeries.DrawZone(Const Min, Max: Double; Z: Integer).

Wouldn't that be able to achieve what I'm looking for?

Re: Could I have a hole in my polar series, please?

Posted: Wed Jul 16, 2014 8:18 am
by narcis
Hello,

Sort of. There's an example of DrawZone at All Features\Welcome!\Chart Styles\Extended\Polar\Zones in the new features demo, included with the binary installers and available at the TeeChart program group. The problem is this seems to be broken now. I have added it to the bug list (ID850). IIRC, this draws the zones behind the series. If this fits your need, then you'd already have a solution when this is fixed or using an older TeeChart version where this worked. I don't know when this was broken though.

Re: Could I have a hole in my polar series, please?

Posted: Wed Jul 16, 2014 8:20 am
by 16567885
Good to know, I thought it was me not being able to use DrawZone(..) correctly.

DrawRing(..) however works like a charm.

Many thanks for your time so far!

Re: Could I have a hole in my polar series, please?

Posted: Wed Jul 16, 2014 8:39 am
by narcis
Hello,

You're very welcome!

if I got your bugzilla user right, I added you to the CC List of the issues I added today. You should receive automatic notifications about any change.