Page 1 of 1

A Problem about Polar Chart with Logarithmic Coordinates

Posted: Tue Sep 01, 2009 5:24 pm
by 15047975
Dear Sir:
In the TeeChart control added to my project, I added a ‘Polar’ series, then labeled the top, bottom, right and left axes with logarithmic coordinates by writing the follow codes:
m_TeeChart.GetAxis().GetLeft().SetAutomatic(FALSE);
m_TeeChart.GetAxis().GetLeft().SetLogarithmic(TRUE);
m_TeeChart.GetAxis().GetLeft().SetMinMax(1, 100);
m_TeeChart.GetAxis().GetLeft().SetIncrement(10);

m_TeeChart.GetAxis().GetRight().SetAutomatic(FALSE);
m_TeeChart.GetAxis().GetRight().SetLogarithmic(TRUE);
m_TeeChart.GetAxis().GetRight().SetMinMax(1, 100);
m_TeeChart.GetAxis().GetRight().SetIncrement(10);

m_TeeChart.GetAxis().GetTop().SetAutomatic(FALSE);
m_TeeChart.GetAxis().GetTop().SetLogarithmic(TRUE);
m_TeeChart.GetAxis().GetTop().SetMinMax(1, 100);
m_TeeChart.GetAxis().GetTop().SetIncrement(10);

m_TeeChart.GetAxis().GetBottom().SetAutomatic(FALSE);
m_TeeChart.GetAxis().GetBottom().SetLogarithmic(TRUE);
m_TeeChart.GetAxis().GetBottom().SetMinMax(1, 100);
m_TeeChart.GetAxis().GetBottom().SetIncrement(10);

We would see all labels beside four axes became logarithmic format. Unfortunately those circular grid lines were still drawn on the polar chart with the same interval between each other, not following these logarithmic labels. So I doubted whether I did not set some properties correctly or some bugs? I hope you could help me find out the reason. Thank you in advance.

Re: A Problem about Polar Chart with Logarithmic Coordinates

Posted: Wed Sep 02, 2009 11:07 am
by yeray
Hi Gobing,

Yes, it seems that having a Polar series with logarithmic axes, the labels overlap. I've added it to the wish list to be fixed in future releases (TV52014379).

Re: A Problem about Polar Chart with Logarithmic Coordinates

Posted: Wed Sep 02, 2009 3:54 pm
by 15047975
I am sorry, sir. Maybe I didn't express my means clearly. I didn't care about the overlaped lables . I means that, the circular grid lines weren't drawed according to logarithmic labels on the polar chart.

Re: A Problem about Polar Chart with Logarithmic Coordinates

Posted: Thu Sep 03, 2009 8:07 am
by narcis
Hi Gobing,

Thanks for the information. I understood and could reproduce your problem here now. I've added the defect to the bug list (TV52014380) to be fixed for future releases.