Search found 13 matches

by PvdE
Mon Apr 09, 2007 5:20 pm
Forum: VCL
Topic: Form Scaling
Replies: 3
Views: 5579

Form Scaling

With a surface chart visible, I select: Charteditor | Series | Surface | Pen Button This shows a small form with title: Border Editor The form cannot be resized, and when running large fonts on my system, a number of fields are not visible. There may be many more forms that have this behavior; I did...
by PvdE
Mon Sep 12, 2005 8:58 pm
Forum: VCL
Topic: TFactsTheme observation
Replies: 3
Views: 5479

Narcis, Pointing to the source code it looked obvious to me that this was happening, but seeing is believeing: --Paul procedure TForm1.FormCreate(Sender: TObject); var LS: TLineSeries; begin Chart1.View3D := false; LS := TLineSeries.Create(Chart1); LS.Pen.Width := 2; LS.FillSampleValues(6); Chart1.A...
by PvdE
Sun Sep 11, 2005 4:18 pm
Forum: VCL
Topic: Bar chart access violation
Replies: 6
Views: 8774

I have used Madshi's madExcept with good results for these types of exotic problems. You need to buy a license to deploy the exception tracking, but for your own debugging I think the eval will work.

--Paul
by PvdE
Sat Sep 10, 2005 6:53 pm
Forum: VCL
Topic: TFactsTheme observation
Replies: 3
Views: 5479

TFactsTheme observation

When I apply TFactsTheme I notice that line charts disappear. Looking at the code for Apply, I see that this is happening but wonder why this is done. Is this a bug or is this done for a reason I do not understand?? --Paul for t:=0 to SeriesCount-1 do with Series[t] do begin Pen.Visible:=False;
by PvdE
Thu Sep 08, 2005 6:02 am
Forum: VCL
Topic: Stacked bars draw incorrectly in 3D
Replies: 2
Views: 4983

Please insert

Code: Select all

RandSeed := 1234;
Before the for loop to see what I see :)

--Paul
by PvdE
Thu Sep 08, 2005 5:59 am
Forum: VCL
Topic: Stacked bars draw incorrectly in 3D
Replies: 2
Views: 4983

Stacked bars draw incorrectly in 3D

When I generate a chart with the code below, the 3D view is not correct. Note how on X=1, series2 is next to series 1, but seems to be behind series4. --Paul procedure TForm1.FormCreate(Sender: TObject); var B: integer; Bars: array[1..4] of TBarSeries; begin for B := 1 to 4 do begin Bars[B] := TBarS...
by PvdE
Sat Sep 03, 2005 5:17 pm
Forum: VCL
Topic: Printing Text (&etc) along with Chart
Replies: 13
Views: 19197

I wrote the following code to print on the default printer using a margin and print my chart proportional as large as possible. I appreciate any feedback (like this is in the library already etc.) --Paul procedure TChartFrame.Print1Click(Sender: TObject); var tmpMeta: TMetaFile; const Margin = 0.5; ...
by PvdE
Fri Sep 02, 2005 10:32 pm
Forum: VCL
Topic: Using stacked area series with a transparent series
Replies: 2
Views: 4946

Narcis,

Thanks! works like a charm.

This was important to get my printing routines working.

--Paul
by PvdE
Thu Sep 01, 2005 4:57 am
Forum: VCL
Topic: Using stacked area series with a transparent series
Replies: 2
Views: 4946

Using stacked area series with a transparent series

When I use the code below, I have two problems: 1. The right hand side of the transparent series is not transparent (it shows in 3D) 2. When I save the chart as an EMF file, the first series is no longer transparent; it is visible. PNG format and BMP format save the image as shown. I'm not sure if m...
by PvdE
Thu Sep 01, 2005 4:50 am
Forum: VCL
Topic: Clipping problem with 3D surface
Replies: 3
Views: 5708

Narcis,

In the non- GL version, rotate the graph around (play with the view) and
I think you will see that the surface goes too 'high' (too deep from a 3D
point of view). It does not go through the wall as it does in the GL version.

--Paul
by PvdE
Fri Aug 26, 2005 11:20 pm
Forum: VCL
Topic: Clipping problem with 3D surface
Replies: 3
Views: 5708

Clipping problem with 3D surface

When I set the minimum value for the bottom axis to a higher value, the left wall does not clip the chart. To demonstrate, my form contains a commander bar and a chart edior. After the chart is shown, change the view such that you see the left wall clearly and press the button on the form to change ...
by PvdE
Fri Aug 26, 2005 2:57 pm
Forum: VCL
Topic: Title ignored when using a custom axis (bug?)
Replies: 2
Views: 4930

small example of problem

Below a small example that shows the problem --Paul procedure TForm1.FormShow(Sender: TObject); var mySeries: TBarSeries; HorizAxis : TChartAxis; begin mySeries := TBarSeries.Create(Chart1); mySeries.FillSampleValues(6); Chart1.AddSeries(mySeries); HorizAxis := TChartAxis.Create(Chart1); mySeries.Cu...
by PvdE
Wed Aug 24, 2005 1:46 am
Forum: VCL
Topic: Title ignored when using a custom axis (bug?)
Replies: 2
Views: 4930

Title ignored when using a custom axis (bug?)

I created a custom axis, with Horizontal = true, OtherSide=true, Position=0 so it sits on top of my chart and the text higher. When I select the series horizontal axis to be the top axis, the chart gets smaller so the title area is not obstructed. When I select my custom axis, the chart get larger a...