ColorBand paints outside the chart panel

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Arthur Dunn
Newbie
Newbie
Posts: 13
Joined: Thu Sep 22, 2011 12:00 am

ColorBand paints outside the chart panel

Post by Arthur Dunn » Wed Mar 28, 2012 1:42 pm

Hi,

I'm using TeeChart 2011. In that I'm trying to highlight a region on the chart using the ColorBand tool. But what I noticed is, when the ColorBand tool is placed over the Left Axis, it gets stretched little bit outside the Right side Panel of the TeeChart. That too gets overpainted on the Right border. This pushes me to set transparency to the ColorBand tool for viewing the Right side border . Is there a way to make it display within the Chart display area ?

Here is the screenshot of the same:
TeeChart.png
ScreenShot
TeeChart.png (162.95 KiB) Viewed 6244 times
Here is the sample code I used:

Code: Select all

public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();

			tChart1.Aspect.View3D = false;
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			FastLine series = new FastLine(tChart1.Chart);
			FillSampleValues(series, 100);

			ColorBand colorBand = new ColorBand(tChart1.Chart);
			colorBand.Start = 40;
			colorBand.End = 50;
			colorBand.Axis = tChart1.Axes.Left;
			colorBand.Color = Color.Red;
			colorBand.Pen.Visible = false;
			colorBand.Transparency = 50;
		}

		private void FillSampleValues(FastLine series, int count)
		{
			Random r = new Random(0);
			for (int i = 1; i <= count; i++)
			{
				series.Add(i, r.Next(100));
			}
		}
	}
Please let me know how this can be fixed.
Thanks in advance.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: ColorBand paints outside the chart panel

Post by Sandra » Wed Mar 28, 2012 2:58 pm

Hello Arthur Dunn,

I can reproduce your problem and I consider it as a bug. I have added it in but list report with number [TF02016114]. We will try to fix it for next maintenance release of TeeChartFor.Net.

Thanks
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Arthur Dunn
Newbie
Newbie
Posts: 13
Joined: Thu Sep 22, 2011 12:00 am

Re: ColorBand paints outside the chart panel

Post by Arthur Dunn » Thu Mar 29, 2012 5:17 am

Hi Sandra,

Thanks for your reply.
Is there any tentative date scheduled for the next maintenance release of TeeChart ?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: ColorBand paints outside the chart panel

Post by Narcís » Thu Mar 29, 2012 8:45 am

Hi Arthur,

No date has been established yet. We try to have a version out every two months approximately. Given that the current version was published one month ago we'd like to have the next maintenance release ready in about a month. Please stay tuned to this forum board or other Steema Software communication channels.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Arthur Dunn
Newbie
Newbie
Posts: 13
Joined: Thu Sep 22, 2011 12:00 am

Re: ColorBand paints outside the chart panel

Post by Arthur Dunn » Wed May 09, 2012 8:33 am

Hi,

I'm bit curious to know how far you are away from a fix for this issue. It has been two months now since your last release and we are expecting a service release now as mentioned in your previous reply.

Just wanted to check if anything is planned before this month end, as this bug is a critical issue for our development.

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: ColorBand paints outside the chart panel

Post by Narcís » Wed May 09, 2012 9:01 am

Hi Arthur,

Yes, the new installer is being prepared at the present moment and the version should be published imminently.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply