Page 1 of 1

Smooth line series

Posted: Tue Jul 31, 2018 2:19 pm
by 9641422
Hi Steema,

We are facing one problem that is when we draw a line series on chart the series is not looking smooth as shown in below figure:-
Smooth.png
Smooth.png (27.03 KiB) Viewed 13915 times
So kindly assist us to give the solution so we draw the line series smooth.

Thanks & regards
PlanoResearch

Re: Smooth line series

Posted: Wed Aug 08, 2018 12:53 pm
by 10050769
Hello amol,

The code below do smoothing for us, using SootingMode as AntiAlias and setting smoothed line series propierty to true:

Code: Select all

   Steema.TeeChart.TChart tChart1;
        private void InitializeChart()
        {
            tChart1 = new  Steema.TeeChart.TChart();
            this.Controls.Add(tChart1);
            tChart1.Dock = DockStyle.Fill;
			tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
            tChart1.Aspect.View3D = false;
            Steema.TeeChart.Styles.Line line1 = new Line(tChart1.Chart);
			line1.Smoothed = true;
			line1.FillSampleValues(10);
}
Could you confirm us if the code above fix the problem you're experiencing?

Thanks in advance

Re: Smooth line series

Posted: Thu Aug 09, 2018 2:19 pm
by 9641422
Hi Steama,

Thanks for the reply.

We have applied the code sent by you but we have still facing the same issue regarding the line smoothing.

For this we are sending one snap as showing below figure:-
LineSmooth.jpg
LineSmooth.jpg (113.33 KiB) Viewed 13880 times
So kindly assist us.

Thanks & regards
PlanoResearch

Re: Smooth line series

Posted: Mon Aug 13, 2018 10:18 am
by 10050769
Hello Amol,

Could you send us a simple project where we can reproduce the problem you're experiencing? Also, could you tell us which TeeChartFor.Net version are you using?

Thanks in advance