Thank you Yeray,
appreciate your workaround
regards
daniele
Search found 13 matches
- Fri Mar 12, 2010 8:03 pm
- Forum: VCL
- Topic: TreatNulls during runtime
- Replies: 6
- Views: 7256
- Thu Mar 11, 2010 4:47 pm
- Forum: VCL
- Topic: TreatNulls during runtime
- Replies: 6
- Views: 7256
Re: TreatNulls during runtime
Dear Yeray,
The problem persists with a newly created project with the code from you last post.
I upload the project.
Notice that the charteditor displays the correct setting as has been coded, but by selecting "don't paint" and re-selecting Skip, the line is displayed correctly.
regards
Daniele
The problem persists with a newly created project with the code from you last post.
I upload the project.
Notice that the charteditor displays the correct setting as has been coded, but by selecting "don't paint" and re-selecting Skip, the line is displayed correctly.
regards
Daniele
- Thu Mar 11, 2010 3:11 pm
- Forum: VCL
- Topic: TreatNulls during runtime
- Replies: 6
- Views: 7256
Re: TreatNulls during runtime
Hi Yeray, Sorry, you misunderstand. I don't "want" any value to be Null, but it just happans that values in the database are missing altogether. Fact is that if you use the ChartEditor and go to series -> Treat Nulls and set "Skip" then the line is displayed without a gap (ie. the gaps are bridged) ...
- Thu Mar 11, 2010 12:42 pm
- Forum: VCL
- Topic: TreatNulls during runtime
- Replies: 6
- Views: 7256
TreatNulls during runtime
Dear All I use following code to create a line out of a database @ runtime. Unfortunately the property of interest "TreatNulls " is not applied. In the ChartEditor, the property is set to what's been coded, but the line itself is not *affected*! -> (speak, the line is drawn in any case in "tnIgnore"...
- Wed Jul 29, 2009 8:36 am
- Forum: VCL
- Topic: LineSeries Null values
- Replies: 7
- Views: 9360
Re: LineSeries Null values
Dear Yeray,
You saved my day ! Works like a charm. Thank you so much
Cheers
Daniele
You saved my day ! Works like a charm. Thank you so much
Cheers
Daniele
- Tue Jul 28, 2009 4:29 pm
- Forum: VCL
- Topic: LineSeries Null values
- Replies: 7
- Views: 9360
Re: LineSeries Null values
Hi Yeray, I don't quite understand how I should accomplish what you are suggesting - and where/how else the "TreatNulls:=tnSkip/ignore" comes into play. Would you be able to provide me with an example on how I should modify my code for the example I posted? I would really appreciate that. thanks dan...
- Tue Jul 28, 2009 12:16 pm
- Forum: VCL
- Topic: LineSeries Null values
- Replies: 7
- Views: 9360
Re: LineSeries Null values
Dear Yeray, Please find attached a demo of the problem. (Delphi 2007, Tchart Pro v8). In the folder you find the file "TabSeparated.txt" which is imported on "FormCreate". You will notice the blank value (ie. 4.4). Data is imported only until the missing value. I would expect it to continue importin...
- Tue Jul 28, 2009 9:28 am
- Forum: VCL
- Topic: LineSeries Null values
- Replies: 7
- Views: 9360
Re: LineSeries Null values
Hi Yeray, I was afraid you would say that it was not possible in the first place ! I'm a bit reluctant to post the whole project, but will prepare a "demo". meanwhile, I understand your concerns about the the variables, so below find the code without variables. I omitted to do this in the first plac...
- Tue Jul 28, 2009 8:28 am
- Forum: VCL
- Topic: LineSeries Null values
- Replies: 7
- Views: 9360
LineSeries Null values
Dear all, I'm trying to import data from a tab-separated file to a LineSeries by code (Delphi). Unfortunately there are many gaps (blanks/null value) so that an error occurs ("not a valid floating point value") and tha data is not imported. I tried to use TreatNulls:=tnSkip or tnIgnore, but to no av...
- Fri Feb 08, 2008 10:28 am
- Forum: VCL
- Topic: Zoom & DateTime - Bug?
- Replies: 13
- Views: 17897
- Fri Feb 08, 2008 9:28 am
- Forum: VCL
- Topic: Zoom & DateTime - Bug?
- Replies: 13
- Views: 17897
Dear Narcís I now found out what the problem is, but do not know how to solve it. The problem only appears if - as in my case - a ChartScrollBar is used! By removing the scrollbar the Chart can be zoomed correctly. Do you have any ideas of a workaround - speak using ScrollBar and still zooming corre...
- Wed Feb 06, 2008 4:18 pm
- Forum: VCL
- Topic: Zoom & DateTime - Bug?
- Replies: 13
- Views: 17897
thank you, I uploaded now a test-project for you to reproduce. I'm using Tchart pro v8.something I did simplify the project to the bare bones, so the error must be found in the code - or the component. the series are created at run-time. maybe the problem is there. I used sample code I found on your...
- Wed Feb 06, 2008 2:09 pm
- Forum: VCL
- Topic: Zoom & DateTime - Bug?
- Replies: 13
- Views: 17897
Zoom & DateTime - Bug?
Dear All I have an odd problem when trying to zoom a chart with Line series where the BottomAxis is in DateTime format. - Zooming with the mouse (usual topleft-to-bottomright) and also by code results in the date completely wrong , thus the values are obviously not displayed because no data is found...