Search found 9 matches

by mw-108
Thu Apr 21, 2016 2:02 pm
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Re: Handling LOTS of data

Just for info: This topic can be marked as solved. Got the deleting issue fixed aswell.

Edit

I attached a small demo project to show what I did. In case someone else runs into a similar problem. :)
by mw-108
Thu Apr 21, 2016 12:42 pm
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Re: Handling LOTS of data

Hello Yeray, thank you. Yes, I tried a similar XOR approach before updating to Pro to draw the cursor (without text), but it had some weird side-effects when panning or zooming the chart. The last cursor wasn't always removed from the canvas so you ended up having "phantom" cursors. And that was one...
by mw-108
Thu Apr 21, 2016 9:28 am
Forum: VCL
Topic: [LineSeries] How to insert Y values at specific X positions?
Replies: 2
Views: 5145

Re: [LineSeries] How to insert Y values at specific X positions?

Ok, got it solved. I had "LineSeries.XValues.Order := loNone;" Setting it to "Ls.XValues.Order := loAscending;" actually works fine. :)
by mw-108
Wed Apr 20, 2016 4:50 pm
Forum: VCL
Topic: [LineSeries] How to insert Y values at specific X positions?
Replies: 2
Views: 5145

[LineSeries] How to insert Y values at specific X positions?

Hello :) I'm trying to realize an optimization for handling alot of data and adding a custom zoom. This is the original chart, where only each 9th point is being drawn. http://i.imgur.com/gXc2UtQ.png If I zoom in ... http://i.imgur.com/1p84NLW.png ... the following happens: http://i.imgur.com/PKSuEC...
by mw-108
Tue Apr 19, 2016 1:09 pm
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Re: Handling LOTS of data

I modified the way he adds / displays the date time. And that gave a little performance boost indeed.

I attached the modified example.
by mw-108
Tue Apr 19, 2016 12:39 pm
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Re: Handling LOTS of data

Hm, I don't know whats wrong here. I looked through the Speed examples and from what I can see I did set the same properties my test project. But still I don't get even close to the performance of your demos. :? I set the Chart to using OpenGL. But even setting GDI or GDI+ didn't boost performance. ...
by mw-108
Tue Apr 19, 2016 10:34 am
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Re: Handling LOTS of data

Ok, thanks. I will try that in a couple of minutes. Maybe I shot too early. 8)
by mw-108
Tue Apr 19, 2016 8:21 am
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Re: Handling LOTS of data

Thank you for your fast reply. However, I'm afraid this doesn't look good. I didn't try yet. But "Chart.Hover.Visible" is already "False". And from the conversation and screenshots it looks like the only way to deal with that problem is to uglify the line series so that it spends less time drawing? ...
by mw-108
Mon Apr 18, 2016 12:36 pm
Forum: VCL
Topic: Handling LOTS of data
Replies: 10
Views: 13272

Handling LOTS of data

Hello :) What is the right approach to handle alot of measurement data in a LineSeries chart? I'm speaking about 3.5 mil X values. I already searched the forums here but didn't find a satisfying and up-to-date answer. Currently on my VM (Win7 x32, 3GB RAM, 2 Core @ 4GHz) it takes approx. 2-3 minutes...