Hi,
I have an issue about the following scenario :
I create a graph by associating a moving average and then I turn off the main graph and I have no dates on the x-axis, so that when I open the Editing window, I flip the horizontal axis at the top, i perceive the dates, otherwise I see nothing on the bottom axis.
Thx
Date Values on Horizontal Axis
Re: Date Values on Horizontal Axis
Hi Petar,
If I understood well, the following code in VB6 should reproduce the situation you've described. However, I can still see the labels in the bottom axis.
And if I set the function to use the top axis, the labels are shown in the top axis, as expected:
Note that the labels in an axis will be shown if is set to be visible, if there is a series linked to the axis and if you aren't using custom labels out of the axis range visible.
If I understood well, the following code in VB6 should reproduce the situation you've described. However, I can still see the labels in the bottom axis.
Code: Select all
Private Sub Form_Load()
TChart1.Aspect.View3D = False
TChart1.AddSeries scCandle
TChart1.Series(0).FillSampleValues 20
TChart1.AddSeries scLine
TChart1.Series(1).SetFunction tfMovavg
TChart1.Series(1).DataSource = TChart1.Series(0)
TChart1.Series(0).Active = False
End Sub
Code: Select all
TChart1.Series(1).HorizontalAxis = aTopAxis
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Date Values on Horizontal Axis
Hi,
My issue is the following :
Initially, we had a main graph and moving average associated function :
And when we deselect the main graph, we have the following situation (we can't see X-values on the bottom axis) :
Thx
My issue is the following :
Initially, we had a main graph and moving average associated function :
And when we deselect the main graph, we have the following situation (we can't see X-values on the bottom axis) :
Thx
Re: Date Values on Horizontal Axis
Hello Petar,
Can you confirm us if code we made for you works? If works, please try to modify it or send us a simple project we can run as-is to reproduce the problem here.
Thanks,
Can you confirm us if code we made for you works? If works, please try to modify it or send us a simple project we can run as-is to reproduce the problem here.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |