A Problem about Polar Chart with Logarithmic Coordinates
Posted: Tue Sep 01, 2009 5:24 pm
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.
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.