Break in the line for FastLine chart
-
- Newbie
- Posts: 7
- Joined: Thu Oct 07, 2004 4:00 am
- Location: Leesburg, Georgia
- Contact:
Break in the line for FastLine chart
In some cases the data that I am working with on a FastLine chart will have NULL values for the limits in the database. I would like to have a break in the line when those values are NULL rather than a line drawing from the last non-null value to the next non-null value. Is there a setting that I can use to force that to happen?
Hi KingDesigns,
I think that you are looking for this:
Otherwise, please, take a look at the demo at What's new ?/New in Series/Fast Line TreatNulls
I think that you are looking for this:
Code: Select all
TChart1.Series(0).asFastLine.IgnoreNulls = False
TChart1.Series(0).asFastLine.TreatNulls = tnDontPaint
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 7
- Joined: Thu Oct 07, 2004 4:00 am
- Location: Leesburg, Georgia
- Contact:
Break in the line for FastLine chart
I am thinking that those properties are in the newer version. I am using version 7 and they are not available. Is there a way do this for v7?
Hi KingDesigns,
In v7 the property TreatNulls doesn't exist, but you can set IgnoreNulls as false and they shouldn't be displayed. As a simple example, this works fine for me with TeeChart ActiveX v7.0.1.4.
In v7 the property TreatNulls doesn't exist, but you can set IgnoreNulls as false and they shouldn't be displayed. As a simple example, this works fine for me with TeeChart ActiveX v7.0.1.4.
Code: Select all
Private Sub Form_Load()
TChart1.Aspect.View3D = False
TChart1.AddSeries scFastLine
TChart1.Series(0).FillSampleValues 25
TChart1.Series(0).SetNull 5
TChart1.Series(0).asFastLine.IgnoreNulls = False
End Sub
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |