Page 1 of 1

ColorBand paints outside the chart panel

Posted: Wed Mar 28, 2012 1:42 pm
by 15660231
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 6293 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.

Re: ColorBand paints outside the chart panel

Posted: Wed Mar 28, 2012 2:58 pm
by 10050769
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

Re: ColorBand paints outside the chart panel

Posted: Thu Mar 29, 2012 5:17 am
by 15660231
Hi Sandra,

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

Re: ColorBand paints outside the chart panel

Posted: Thu Mar 29, 2012 8:45 am
by narcis
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.

Re: ColorBand paints outside the chart panel

Posted: Wed May 09, 2012 8:33 am
by 15660231
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.

Re: ColorBand paints outside the chart panel

Posted: Wed May 09, 2012 9:01 am
by narcis
Hi Arthur,

Yes, the new installer is being prepared at the present moment and the version should be published imminently.