Search found 11 matches

by DCG
Mon Nov 06, 2006 5:34 pm
Forum: .NET
Topic: Problem with Series.Add method?
Replies: 2
Views: 4770

I should also add that I have tried the code with a number of different series types (i.e. Area, Line, FastLine, and LinePoint to name a few), so i believe that the problem lies in the implementation of the base Series class.
by DCG
Mon Nov 06, 2006 5:32 pm
Forum: .NET
Topic: Problem with Series.Add method?
Replies: 2
Views: 4770

Problem with Series.Add method?

I think I have found a problem with the .Add method of Steema.TeeChart.Styles.Series. The following code throws a runtime error from TeeChart.dll: public Form1() { InitializeComponent(); InitChart(); } private void InitChart() { tChart1.Aspect.View3D = false; tChart1.Legend.Visible = false; int[] XV...
by DCG
Fri Sep 08, 2006 4:03 pm
Forum: .NET
Topic: Question about Print Preview window
Replies: 6
Views: 9596

Thanks for the help, Narcís!

However, the MyPrinter class that you sent me (apparently) does not have a Print Preview option, so I have decided to go another route with my project.
by DCG
Wed Sep 06, 2006 6:00 pm
Forum: .NET
Topic: Question about Print Preview window
Replies: 6
Views: 9596

I am still having the problem with the print preview window that I described in my first post for this thread.

I was just wondering if there is any kind of resolution for this, so that I can still use the same .Print() overload and have the preview window correctly show that page.

Thanks in advance.
by DCG
Mon Aug 28, 2006 6:43 pm
Forum: .NET
Topic: Question about Print Preview window
Replies: 6
Views: 9596

No, I do not wish to print an image on the chart; I want to replace the icon in the upper left hand corner of the Print Preview window (the little picture next to the text "Print Preview" on the title bar).
by DCG
Fri Aug 25, 2006 4:01 pm
Forum: .NET
Topic: Question about Print Preview window
Replies: 6
Views: 9596

Also, is there any way to get a custom icon on the print preview window?

This isn't critical, but would add continuity to my application.
by DCG
Fri Aug 25, 2006 3:57 pm
Forum: .NET
Topic: Question about Print Preview window
Replies: 6
Views: 9596

Question about Print Preview window

I use the print preview window in my application to display a graph for printing by the following code: RectangleF rectfTemp = graphData.Printer.PrintDocument.DefaultPageSettings.PrintableArea; graphData.Printer.BeginPrint(); graphData.Printer.Print(new Rectangle((int)rectfTemp.X, (int)rectfTemp.Y, ...
by DCG
Fri Aug 18, 2006 2:51 pm
Forum: .NET
Topic: Problem with Multipe Bar series
Replies: 7
Views: 10435

Thank you for the explanation of 2D / 3D. Changing my chart to 2D solved my problem. Many thanks! I also noticed that the code from the executable demo (Welcome !\Axes\Opaque zones) seems to have a similar problem to mine with the multiple bar charts. I don't know that it is worth looking into, but ...
by DCG
Fri Aug 18, 2006 1:25 pm
Forum: .NET
Topic: Problem with Multipe Bar series
Replies: 7
Views: 10435

I guess I don't understand the difference between a 2D chart and a 3D chart; I still have this same problem when I insert the line tChart1.Aspect.Chart3DPercent = 0; Am I just misunderstanding the differences between 2D and 3D charts? Also, is there any kind of a workaround for this issue in the int...
by DCG
Thu Aug 17, 2006 2:37 pm
Forum: .NET
Topic: Problem with Multipe Bar series
Replies: 7
Views: 10435

Here's a modification of your code that kind of displays the behavior I see (except that one of the two series is still visible): public Form1() { InitializeComponent(); this.tChart1.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Right); this.WindowState = FormWi...
by DCG
Mon Aug 14, 2006 6:11 pm
Forum: .NET
Topic: Problem with Multipe Bar series
Replies: 7
Views: 10435

Problem with Multipe Bar series

I have a chart with a number of line series, and two bar series. Most of the series are on custom Y-Axes. All data series share the X-axis. I allow the user to determine the scale of the X-axis such that the chart may span multiple pages. My problem is this: when I display both bar series (which are...