Hi Narcis,
I have some more queries regarding the TeeChart Activex Control v8:
1. How can I add dataset as data source for the Chart.
2. If the series gets empty or null value for a data point, how can we show a gap in the line series.
To make it more clear let's say we have 10 ponits to draw a chart for the points 1 to 4 we have some data and point 5 is blank. in that case how can we show a gap on the line and resume from point 6 onwards. We are using fast line series.
Please help as soon as possible.
Thanks and regards
Ashutosh
Datasources and null points
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ashustosh,
You need to do as shown in Tutorial 8 - ADO Database access. Tutorials can be found at TeeChart's program group.1. How can I add dataset as data source for the Chart.
This can be achieved using new TreatNulls property as shown in the What's New?\New in Series\Fast Line TreatNulls example at the features demo, also available at TeeChart's program group.2. If the series gets empty or null value for a data point, how can we show a gap in the line series.
To make it more clear let's say we have 10 ponits to draw a chart for the points 1 to 4 we have some data and point 5 is blank. in that case how can we show a gap on the line and resume from point 6 onwards. We are using fast line series.
Best Regards,
Narcís Calvet / 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 |
Hi Narcis,
I have uploaded an image file here http://www.steema.net/upload/ which displays a sample chart with gaps for the null values data. How can I achieve the same. Kindly note that the chart in the image is TeeChart Activex control.
Let me know in case of any more clarifications needed.
Thanks and regards
Ashutosh
I have uploaded an image file here http://www.steema.net/upload/ which displays a sample chart with gaps for the null values data. How can I achieve the same. Kindly note that the chart in the image is TeeChart Activex control.
Let me know in case of any more clarifications needed.
Thanks and regards
Ashutosh
Hi Ashustosh,
Having the property "IgnoreNulls" to false:
you should set the property "TreatNulls" as you wish. The property:
And the three possible values:
Having the property "IgnoreNulls" to false:
Code: Select all
TChart1.Series(0).asFastLine.IgnoreNulls = False
Code: Select all
TChart1.Series(0).asFastLine.TreatNulls
Code: Select all
tnDontPaint
tnSkip
tnIgnore
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |