Search found 18 matches

by porterbe
Tue Jun 19, 2012 12:32 pm
Forum: .NET
Topic: Cursor with multiple Y axis chart
Replies: 6
Views: 7628

Re: Cursor with multiple Y axis chart

Ok, solved it. Due to my UI Design requirements, I held each series and each y axis in arrays. I was then adding series and axis to the relevant collections in the chart at run time, dependant on the user selection. If I assign the cursor to the standard left Axis, but use custom axes for all the se...
by porterbe
Mon Jun 18, 2012 8:55 pm
Forum: .NET
Topic: Cursor with multiple Y axis chart
Replies: 6
Views: 7628

Re: Cursor with multiple Y axis chart

Thanks for that. Unfortunately, setting Panel.Margin to a specified % doesn't help when the length of the Axis Title Text is not known until runtime. Is there a way of determining the required offset? If I change the Axis text in the chart editor in development mode, then the axis position automatic...
by porterbe
Thu Jun 14, 2012 8:02 pm
Forum: .NET
Topic: Cursor with multiple Y axis chart
Replies: 6
Views: 7628

Re: Cursor with multiple Y axis chart

I also have another question on the same code - why is the axis text off the screen? How do I get it to display properly, as it does for a single axis?

As always, TIA.... :|
by porterbe
Thu Jun 14, 2012 3:53 pm
Forum: .NET
Topic: Cursor with multiple Y axis chart
Replies: 6
Views: 7628

Cursor with multiple Y axis chart

Hi, I'm wondering if you experts can help here... I have a TChart, on which I have multiple series, set to be on seperate Y axis. I want to be able to set up a cursor, so that I can measure the values of all series as I scroll in the X direction. I have managed to achieve the measurement bit, follow...
by porterbe
Mon Sep 12, 2011 7:49 am
Forum: .NET
Topic: TeeChart .Net V3 in VS2005 on Win7 X64
Replies: 3
Views: 4329

Re: TeeChart .Net V3 in VS2005 on Win7 X64

Thanks, Sandra.

All is now functioning properly :D
by porterbe
Thu Sep 08, 2011 4:16 pm
Forum: .NET
Topic: TeeChart .Net V3 in VS2005 on Win7 X64
Replies: 3
Views: 4329

TeeChart .Net V3 in VS2005 on Win7 X64

I am attempting to get an application originally written in VS2005/.Net2 for XP to run under Win7 X64 to support a client who has changed his mind on which operating system he wants to use. I have installed VS2005 + service packs on the Win7 X64 machine, and TeeChartNET3VSNET2005.exe. This ran fine ...
by porterbe
Thu Oct 28, 2010 10:43 am
Forum: .NET
Topic: Issue with chart printing
Replies: 3
Views: 3995

Re: Issue with chart printing

Hi Sandra, The clipboard copy is working fine - the issue is with the printed output. Now, I'm a bit of a newbie at printing in C#, but it seems to me that I need an Image object to pass to the Graphics.DrawImage method in the PrintDocument OnPrint event handler. I'm generating this image using the ...
by porterbe
Wed Oct 27, 2010 3:57 pm
Forum: .NET
Topic: Issue with chart printing
Replies: 3
Views: 3995

Issue with chart printing

I have a requirement to output to a print document, which is working to a point with the following code: Stream CO2PlotStream = new MemoryStream(); tcCO2Plot.Export.Image.PNG.Save(CO2PlotStream); Image CO2PlotImage = Image.FromStream(CO2PlotStream); This is then drawn on the print engine in the OnPr...
by porterbe
Wed Oct 20, 2010 12:24 pm
Forum: .NET
Topic: Error Bars on Bar Chart
Replies: 8
Views: 7425

Re: Error Bars on Bar Chart

That'll do the job, thank you :D .

I had come to a similar conclusion, but I was struggling with how to fill the rectangle. Now I know!
by porterbe
Wed Oct 20, 2010 9:01 am
Forum: .NET
Topic: Error Bars on Bar Chart
Replies: 8
Views: 7425

Re: Error Bars on Bar Chart

When I used a standard bar series, my legend looked like the image BarLegend.png
BarLegend.png
BarLegend.png (8.44 KiB) Viewed 7582 times
With a ErrorBar series, my legend looks like the image ErrorBarLegend.png.
ErrorBarLegend.png
ErrorBarLegend.png (8.81 KiB) Viewed 7584 times
I want the error bars in ErrorBarLegend.png, but with the Legend from BarLegend.png. Can I get this?
by porterbe
Wed Oct 20, 2010 7:55 am
Forum: .NET
Topic: Error Bars on Bar Chart
Replies: 8
Views: 7425

Re: Error Bars on Bar Chart

Ok, I've found the .ErrorStyle property that seems to do what I need.

Still haven't found a way of turning the legend back the way I want it though...
by porterbe
Tue Oct 19, 2010 4:04 pm
Forum: .NET
Topic: Error Bars on Bar Chart
Replies: 8
Views: 7425

Re: Error Bars on Bar Chart

I've also just noticed that the legend is now using the error bar shape and colour - is there any way of changing it back to display a square block of Bar colour?

Bernie
by porterbe
Tue Oct 19, 2010 3:59 pm
Forum: .NET
Topic: Error Bars on Bar Chart
Replies: 8
Views: 7425

Re: Error Bars on Bar Chart

Ok, I missed that one. It's ok, and it'll do for a start, but what I really wanted to do was something akin to the image attached (edited in PSP from your example)... You'll note I've modified the 2nd bar to have upper and lower error bands. Is this as simple as using a Bar series then adding adding...
by porterbe
Tue Oct 19, 2010 10:28 am
Forum: .NET
Topic: Error Bars on Bar Chart
Replies: 8
Views: 7425

Error Bars on Bar Chart

Hi I am wondering if it is possible to do some form of error bar on a bar chart. The kind of thing I am thinking of is a normal bar chart, with an error band at the top - but I am open to suggestions. I don't seem to be able to locate any tutorials on adding error bars to a plot series either, but t...
by porterbe
Mon Aug 30, 2010 4:24 pm
Forum: .NET
Topic: Marginal Abatement Curves
Replies: 6
Views: 5508

Re: Marginal Abatement Curves

Well that all seemed to work, thanks for the help. I have another question now - coming from the same plot but likely a different issue so if you want me to start another thread, then just say so. I have had to add a dummy data element to get the last bar to display the correct width. This now appea...