Search found 5 matches

by Brino
Wed Sep 06, 2006 2:28 pm
Forum: VCL
Topic: TChartSeries.Clear
Replies: 1
Views: 4427

TChartSeries.Clear

Hi, i have a chart with many series on it. i populate these series by dynamically generating numerical data during a 'run'. There is a predefined start time and end time. If i start a new 'run', i clear each of the series and re populate them during the run. The x-axis + yaxis ranges stay the same f...
by Brino
Fri Apr 16, 2004 3:56 pm
Forum: VCL
Topic: Canvas does not allow drawing..
Replies: 4
Views: 12675

it's TeeChart 5.02 with Delphi 6... On delphi faq's it is said that this is unsafe code as accessing the one canvas from different threads will cause problems - i.e. potentially the canvas will attempt to be drawn by both threads simultaneously it is suggested to use TCanvas.Lock and TCanvas.Unlock ...
by Brino
Fri Apr 16, 2004 3:41 pm
Forum: VCL
Topic: Setting individual points in TPointSeries to different color
Replies: 5
Views: 9298

maybe this will work... ASeries := TPointSeries.Create; ASeries.ParentChart := Chart1; ASeries.FillSampleValues(10); for i := 0 to ASeries.Count -1 do begin if ASeries.XValues < 5 then ASeries.ValueColor := clGreen; if ASeries.XValues > 5 then ASeries.ValueColor := clWhite; end; etc...
by Brino
Fri Apr 16, 2004 3:22 pm
Forum: VCL
Topic: Canvas does not allow drawing..
Replies: 4
Views: 12675

Canvas does not allow drawing..

I am getting a "canvas does not allow drawing" exception from TCanvas.RequiredState procedure in graphics.pas in the VCL... it is occuring while i am running a realtime plot with 1000+ points... the points are being drawn onto the Chart.Canvas in a similar fashion to TFastLineSeries (overriding Noti...
by Brino
Tue Jan 13, 2004 5:49 pm
Forum: VCL
Topic: Acceleration of plotting with Mouse Moving over the chart
Replies: 1
Views: 7626

Acceleration of plotting with Mouse Moving over the chart

I am performing calculations that dynamically add points to series, which in turn are automatically plotted on a TeeChart. One run for example may take 10 seconds, plotting 1000 points for 3 series. But by moving the mouse pointer repeatedly over the chart - the plotting speeds up - leaving a run to...