Serious date time axis inconsistencies
Posted: Mon Dec 28, 2009 8:50 pm
Hi Im using Techart Active X v7.0.1.4. It’s hard to understand how Teechart is handling date series!
In my sample there are 120 month end date points. I insert them into the chart with the Addxy() method.
1 ) Problem showing values on the bottom axis increment 1 Year: As you can see on the bottom axis the correct dates are not shown. I wonder also where the minimum value is coming from?
2) Problem showing values with 12 points 3) When using string as labels, I can’t use the point method
The only way how I can correctly format and show date values is with the ongetaxislabel event (Powerbuilder code
Ii_step=12
if mod(valueindex,ii_step)>0 then labeltext=""end if )
I honestly don’t understand the logic. The data table shows the correct dates, but the bottom axis shows only garbage. It’s also hard to understand that XY lables are correctly presented-
I’m really shaking my head, I thought that Teechart is a mature product.
Thanks in advance for any comments
Henry
In my sample there are 120 month end date points. I insert them into the chart with the Addxy() method.
1 ) Problem showing values on the bottom axis increment 1 Year: As you can see on the bottom axis the correct dates are not shown. I wonder also where the minimum value is coming from?
2) Problem showing values with 12 points 3) When using string as labels, I can’t use the point method
The only way how I can correctly format and show date values is with the ongetaxislabel event (Powerbuilder code
Ii_step=12
if mod(valueindex,ii_step)>0 then labeltext=""end if )
I honestly don’t understand the logic. The data table shows the correct dates, but the bottom axis shows only garbage. It’s also hard to understand that XY lables are correctly presented-
I’m really shaking my head, I thought that Teechart is a mature product.
Thanks in advance for any comments
Henry