Search found 11 matches

by tcorrigan5
Tue Dec 14, 2010 5:02 pm
Forum: .NET
Topic: Drawing Horizontal Line on Chart
Replies: 5
Views: 6995

Re: Drawing Horizontal Line on Chart

No, your code doesn't work but this does:

Code: Select all

         int value = _chart.Axes.Left.CalcYPosValue(0.35);
         g.Line(_chart.Axes.Bottom.IStartPos, value, _chart.Axes.Bottom.IEndPos, value);
i.e., you don't need the IAxisSize factor in the calculation.
by tcorrigan5
Mon Dec 13, 2010 4:58 pm
Forum: .NET
Topic: Drawing Horizontal Line on Chart
Replies: 5
Views: 6995

Re: Drawing Horizontal Line on Chart

No, that does not help. I have 2D chart. I need to know how to determine the vertical coordinate for the 35% mark on the left axis of the chart. I can then draw the line I need using this code in the AfterDraw event: int pt35 = ??? Point s = new Point(_chart.Axes.Left.Position, pt35); Point e = new ...
by tcorrigan5
Mon Dec 13, 2010 3:48 am
Forum: .NET
Topic: Drawing Horizontal Line on Chart
Replies: 5
Views: 6995

Drawing Horizontal Line on Chart

I have a chart whose Left axis represents a percentage from 0% to 100%. I need to draw a horizontal line across the entire chart at the 35% coordinate. I understand how to draw a horizontal line in the AfterDraw event. How do I determine where the 35% line should be located?
by tcorrigan5
Tue Nov 16, 2010 5:08 pm
Forum: .NET
Topic: Chart Background Color
Replies: 4
Views: 4919

Re: Chart Background Color

Yes, that works. Thank you.
by tcorrigan5
Tue Nov 16, 2010 3:55 pm
Forum: .NET
Topic: Chart Background Color
Replies: 4
Views: 4919

Re: Chart Background Color

No, that doesn't work. Attached is a sample of the current output.
by tcorrigan5
Mon Nov 15, 2010 11:00 pm
Forum: .NET
Topic: Chart Background Color
Replies: 4
Views: 4919

Chart Background Color

I need for the background color of the actual chart area to be white. Setting tchart1.BackColor = Color.White sets the background color of the panel to white but the background of the chart interior remains an off-white. How can I get the interior of the chart to be white?
by tcorrigan5
Thu Nov 11, 2010 4:15 pm
Forum: .NET
Topic: Installation Problem
Replies: 7
Views: 5600

Re: Installation Problem

And how would one know that ahead of time? I saw no instructions on how to convert from an evaluation copy to a registered copy. Once I was done with the install (which failed, by the way, because you still haven't fixed the help file issue on 64bit VS2010 installations) I got a slew of errors when ...
by tcorrigan5
Mon Nov 08, 2010 8:30 pm
Forum: .NET
Topic: Bottom Labels
Replies: 1
Views: 2466

Bottom Labels

I need the labels for the first and last data points in my line series to print on the bottom axis. How do I do that? At the moment the labels start and end with the second and second to last data points. The data points are values for a date, think stock chart.
by tcorrigan5
Mon Nov 08, 2010 5:52 pm
Forum: .NET
Topic: Installation Problem
Replies: 7
Views: 5600

Re: Installation Problem

Meaning that in order to swap out the evaluation version I had to delete the control from the form, remove the Steema evaluation controls from the toolbox, reinstall all the Steema controls into the toolbox from the "production" folder, install the chart control from the toolbox onto the form and th...
by tcorrigan5
Fri Nov 05, 2010 3:31 pm
Forum: .NET
Topic: Installation Problem
Replies: 7
Views: 5600

Re: Installation Problem

The TeeRegV2010 utility solved the problem. Can't say that I'm impressed by your installation routines. Has taken almost 2 hours of work to go from an evaluation copy of the software to a paid copy and I lost the initial configuration of my charts which cost me another hour to re-install.
by tcorrigan5
Fri Nov 05, 2010 2:08 am
Forum: .NET
Topic: Installation Problem
Replies: 7
Views: 5600

Installation Problem

I just upgraded from the evaluation version and get the following error when trying to drop the chart control on my form. I'm running VS2010 on Windows 7 Ultimate 64. Failed to create component 'TChart' The error message follows: 'System.ComponentModel.LicenseException: An instance of type 'Steema.T...