Dear Support, I have some troubles
Posted: Tue Jun 09, 2009 4:10 pm
Dear Support ,
I’m afraid I have to disturb me again. I added a “Numeric Gauge” series to the TeeChart(ActiveX) control. Then I wrote the following codes in my program:
m_TChart.Series(0).SetValueFormat("10:00");
When I ran my program, I found that the result displayed on the dialog is “10:04”. The last number ‘0’ became ‘4’. I also found that this phenomenon is very common in any number sequence.
In “Polar” or “Point” series, I want to know whether the return value is the index of new generated point for the function:
int nIndex = m_TeeChart.Series(0).GetAsPolar().AddPolar()
But I found that, the collection of “nIndex” had several repeated values, when using a loop to generate several points. So I doubted the return value of the function mentioned before is not the index.
I also want to know how to get the index of the specified point in a series?
I’m afraid I have to disturb me again. I added a “Numeric Gauge” series to the TeeChart(ActiveX) control. Then I wrote the following codes in my program:
m_TChart.Series(0).SetValueFormat("10:00");
When I ran my program, I found that the result displayed on the dialog is “10:04”. The last number ‘0’ became ‘4’. I also found that this phenomenon is very common in any number sequence.
In “Polar” or “Point” series, I want to know whether the return value is the index of new generated point for the function:
int nIndex = m_TeeChart.Series(0).GetAsPolar().AddPolar()
But I found that, the collection of “nIndex” had several repeated values, when using a loop to generate several points. So I doubted the return value of the function mentioned before is not the index.
I also want to know how to get the index of the specified point in a series?