Search found 12 matches

by ungos
Wed Aug 03, 2005 8:35 pm
Forum: VCL
Topic: How to show/hide page numbers programatically?
Replies: 1
Views: 4325

How to show/hide page numbers programatically?

I'm looking for equivalent of checkbox "Show page number" in chart editor.
by ungos
Wed Aug 03, 2005 8:22 pm
Forum: VCL
Topic: TeePreviewPanel ignores PrintMargins - updated
Replies: 2
Views: 5439

there was critical to set PrintProportional to False. But description of this property doesn't correrspond with its real function...
by ungos
Sun Jul 24, 2005 11:34 am
Forum: VCL
Topic: TeePreviewPanel ignores PrintMargins - updated
Replies: 2
Views: 5439

TeePreviewPanel ignores PrintMargins - updated

TeePreviewPanel.Panel := FChart; TeePreviewPanel.PrintMargins := Rect(3, 3, 3, 3); // % FChart.PrintMargins := TeePreviewPanel.PrintMargins; TeePreviewPanel.Print; after Print, FChart.PrintMargins are set to values according to visible margins on TeePreviewPanel. TeePreviewPanel.PrintMargins does'nt...
by ungos
Fri Jan 14, 2005 6:30 am
Forum: VCL
Topic: X axis scale
Replies: 2
Views: 6240

I found no method to realize it without modifying data. But you can use following trick: 1. Add new helper serie (e.g. FastLine) with NO data to the chart 2. Set maximum and minimum of bottom axis to 0 and 80. 3. Assign TOP axis as horizontal axis of original serie 4. Hide TOP axis (Visible := False...
by ungos
Wed Jan 05, 2005 7:48 pm
Forum: VCL
Topic: LoadChartFromFile results in Exceptions
Replies: 2
Views: 8361

I had the same problem with TeechartPro 7 under Delphi 5 and 7. I discovered that unit TeeEdit must be included in uses clause, otherwise runtime error "Class XXXseries not found" appears during LoadChartFromStream if Chart consists series (with or without data). But I have no explanation for it.
by ungos
Thu Dec 30, 2004 2:26 pm
Forum: VCL
Topic: series allignment
Replies: 2
Views: 6401

Re: series allignment

9340187 wrote: (lineseries.yvalues[kk+1]-lineseries.yvalues[kk-1]/2),
it should be

(lineseries.yvalues[kk+1]-lineseries.yvalues[kk-1])/2,

otherwise your code seems to work properly
by ungos
Thu Dec 30, 2004 1:55 pm
Forum: VCL
Topic: Data reduction of series
Replies: 3
Views: 7085

What do you mean - "reduce data"? You can e.g.:
- eliminate every n-th value(s)
- average every x values
- compress data with loseless compression algorithm
...
by ungos
Thu Dec 30, 2004 1:41 pm
Forum: VCL
Topic: Series1.AddXY after LoadChartFromFile
Replies: 2
Views: 6648

After loading chart, original series objects are lost a new will be created (if loaded chart consists any). You must use Chart.Series property to access new series: Chart1.Series[0].AddXY(2,2) Also, by my experience, is good practice to initialize chart object before LoadChartFromStream. See my repl...
by ungos
Thu Dec 30, 2004 8:00 am
Forum: VCL
Topic: Cut and paste of TChart and its content
Replies: 14
Views: 19024

LoadChartFromStream issue

I discovered that unit TeeEdit must be included in uses clause, otherwise runtime error "Class XXXseries not found" appears during LoadChartFromStream if Chart consists series (with or without data).

Do you have any explanation?
by ungos
Wed Dec 29, 2004 9:40 am
Forum: VCL
Topic: TChartUndoRedo - Free Undo/Redo component for TeeChart VCL
Replies: 0
Views: 5432

TChartUndoRedo - Free Undo/Redo component for TeeChart VCL

With this component and bit of code you can realize unlimited undo/redo function with TChart. Automatically traced TChart events: Zoom, Unzoom, Scroll. With sample application. Free license (GNU GPL 2). Download at www.dcentral.name/delphi/components.

Updated to v1.02!!
by ungos
Tue Dec 28, 2004 2:45 pm
Forum: VCL
Topic: Cut and paste of TChart and its content
Replies: 14
Views: 19024

LoadChartFromStream notice

My experience: LoadChartFromStream procedure have unpredicable result if applied on non empty Chart. It is better to initialize Chart to defined state before LoadChartFromStream. Simply use helper Chart (global variable), initialized once anywhere in application starting section. Modified code (only...
by ungos
Mon Dec 20, 2004 4:17 pm
Forum: VCL
Topic: DrawAllPoints false does not plot narrow data spikes
Replies: 3
Views: 7545

OK, in this article seems to be original (and more practical I think) idea of DrawAllPoins property. But reality is another thing. I've TeeChartPro7 VCL version and help file describes true realized behavior.