Search found 8 matches

by Sigurdur I. Gunnlaugsson
Fri Jul 13, 2007 2:23 pm
Forum: VCL
Topic: Is it possible not to load null-values into DBChart?
Replies: 3
Views: 4080

The problem is that all the functionality depends on there not-being nulls in the series. I would need to add if IsNull(i) into a lot of places. On some places it would be simple, while on some places it would not be as simple. In addition, it would require re-testing the whole chart functionality, ...
by Sigurdur I. Gunnlaugsson
Thu Jul 12, 2007 10:30 am
Forum: VCL
Topic: Is it possible not to load null-values into DBChart?
Replies: 3
Views: 4080

Is it possible not to load null-values into DBChart?

I have a table connected with DBChart. I have many signals that are draw on the same chart. These signals have different sampling rates, which means that for one signal I may have 100 samples, while for another I may have only 10. Yet they all live in the same table. When the signals are loaded into...
by Sigurdur I. Gunnlaugsson
Tue Jul 10, 2007 10:50 am
Forum: VCL
Topic: Problem with skipping nulls
Replies: 3
Views: 4097

Ehm, setting Series1.XValues.Order := loNone;
made Series1.VisibleCount stop working upon zooming.
Now it always returns the total number of points.
Is there any way to have both things working? :)

Regards,
Sigurdur
by Sigurdur I. Gunnlaugsson
Tue Jul 10, 2007 10:20 am
Forum: VCL
Topic: Problem with skipping nulls
Replies: 3
Views: 4097

Nevermind, I believe I have solved the problem, by setting
Series1.XValues.Order := loNone;
by Sigurdur I. Gunnlaugsson
Tue Jul 10, 2007 10:02 am
Forum: VCL
Topic: Problem with skipping nulls
Replies: 3
Views: 4097

Problem with skipping nulls

Hello. I am using DBChart to store about 3x200K points (3 series). The series contain data sampled at different rates, therefore in some cases there are a lot of nulls. In previous versions, I deleted all nulls using loops, which is very slow when there are many nulls. Now I would like to speed thin...
by Sigurdur I. Gunnlaugsson
Tue Jun 19, 2007 2:07 pm
Forum: VCL
Topic: Problem with the VisibleCount property
Replies: 3
Views: 3656

Thanks for your quick response.

Now, I am wondering whether if it is possible to make a simple check if the TChart Version is less than 8 (in Delphi code), to make sure that my workaround doesn't come up as a bug when I make the upgrade to Tchart 8?
by Sigurdur I. Gunnlaugsson
Mon Jun 18, 2007 3:10 pm
Forum: VCL
Topic: Problem with the VisibleCount property
Replies: 3
Views: 3656

Problem with the VisibleCount property

I have been implementing code to export the data points that are currently being viewed (are visible). I am using the properties Series1.VisibleCount, and Series1.FirstdisplayedIndex to determine which points get exported. It works fine when exporting, until I start zooming-in. When I zoom-in Series...
by Sigurdur I. Gunnlaugsson
Fri Jun 08, 2007 12:17 pm
Forum: VCL
Topic: Problems with Page Navigating and Zoom
Replies: 1
Views: 2443

Problems with Page Navigating and Zoom

Hello, I am using TChartPageNavigator to enable users to divide data up into pages, defined by the Points Per Page setting in the Chart Editor, under Chart->Paging. I am having the following problem, when I zoom into an area of the chart, and then try to navigate using the arrows on the TChartPageNa...