Increment problem
Posted: Tue Feb 13, 2007 4:39 pm
Hi
I have a problem with TeeChart increment.
My increment value is set to 5 when I open my form. I see my graphic with an increment of 5. But, when I run my report to put my data on screen, the increment change to 10. So, if I show a message to see my increment value, it's still at 5.
I don't know why the TeeChart display my graphic with a increment of 10 while my value is 5.
Here my code.... I work in Progress 4GL.
At opening of the form
I discovered than my increment change (on screen) between the method "RemoveAllSeries" and the assignment of legend properties. But, if I show the Increment value in a message box, it's again and again at 5!
Thank you
I have a problem with TeeChart increment.
My increment value is set to 5 when I open my form. I see my graphic with an increment of 5. But, when I run my report to put my data on screen, the increment change to 10. So, if I show a message to see my increment value, it's still at 5.
I don't know why the TeeChart display my graphic with a increment of 10 while my value is 5.
Here my code.... I work in Progress 4GL.
At opening of the form
When I run my reportASSIGN chCtrlFrame:TChart:Legend:Visible = FALSE
chCtrlFrame:TChart:Aspect:View3D = FALSE
chCtrlFrame:TChart:Scroll:Enable = FALSE
chCtrlFrame:TChart:Header:Font:Size = 12
chCtrlFrame:TChart:Header:Font:Color = RGB-VALUE(0,0,0)
chCtrlFrame:TChart:Header:Font:Bold = TRUE
chCtrlFrame:TChart:Axis:Left:Automatic = FALSE
chCtrlFrame:TChart:Axis:Left:Minimum = 60
chCtrlFrame:TChart:Axis:Left:Maximum = -40
chCtrlFrame:TChart:Axis:Left:Increment = 5.
chCtrlFrame:TChart:RemoveAllSeries.
<---- The increment change on screen here ----->
ASSIGN chCtrlFrame:TChart:Legend:Visible = TRUE
chCtrlFrame:TChart:Legend:LegendStyle = 1
chCtrlFrame:TChart:Legend:Alignment = 3.
Insertion of my nodes...
I discovered than my increment change (on screen) between the method "RemoveAllSeries" and the assignment of legend properties. But, if I show the Increment value in a message box, it's again and again at 5!
Thank you