Search found 6 matches

by KS
Tue Jan 18, 2005 6:48 pm
Forum: VCL
Topic: problem with CalcXSizeValue
Replies: 2
Views: 5054

Anybody here?
by KS
Sat Jan 15, 2005 12:58 am
Forum: VCL
Topic: problem with CalcXSizeValue
Replies: 2
Views: 5054

PS Actually CalcXSizeValue called from OnZoom event handler returns wrong value as well. If zoom is animated it returns value calculated for previous stage of the zoom (so result almost correct). CalcXSizeValue called from OnUndoZoom returns value calculated for previous (zoomed) stage. And what is ...
by KS
Fri Jan 14, 2005 10:43 pm
Forum: VCL
Topic: problem with CalcXSizeValue
Replies: 2
Views: 5054

problem with CalcXSizeValue

Hi,

I am using TeeChart Pro v7 for Delphi 5.

Problem: BarSeries.CalcXSizeValue method returns invalid values when it is called from TChart.OnUndoZoom even handler.
However when CalcXSizeValue called from OnZoom event handler, it works correctly.

Any solution?

Regards
Alex
by KS
Wed Jul 14, 2004 1:10 am
Forum: VCL
Topic: access vialoation
Replies: 3
Views: 7407

No, I cannot. Application uses several preconfigured (at design time) series. So I should remove series from the chart but do not destroy them.

Regards
Alex
by KS
Mon Jul 12, 2004 7:41 pm
Forum: VCL
Topic: access vialoation
Replies: 3
Views: 7407

Looks like I found solution by myself (source codes much metter than any manual :-) Before destroying Chart I added code to destroy all Series procedure TChartForm.FormDestroy(Sender: TObject); begin //for TeeChart version 7!!! FreeAndNil(BarSeries); FreeAndNil(LineSeries); FreeAndNil(PntSeries); Fr...
by KS
Mon Jul 12, 2004 6:36 pm
Forum: VCL
Topic: access vialoation
Replies: 3
Views: 7407

access vialoation

Hi everybody, I just upgraded from TeeChart version 4 to version 7. And now simple piece of code (that worked fine in version 4) produces access violation error (Access violation at address 00000000. Read of address 00000000) Code: ==================== Chart1.RemoveAllSeries; Chart1.AddSeries(Serie2...