Page 1 of 1

Single Point Cannot Change Size

Posted: Tue Oct 28, 2014 11:55 am
by 16967738
TeeChart Build 3.2014.0519
IDE Eclipse
Android v4.2 (Tablet)

Good Morning

Problem is Plotting a single point on a Points Series Graph would like the point to be easily seen.
But the command getLinePen()->setWidth(8) is not changing the size of the point. I.e. staying at default size.
Please note NOT drawing a line just a single point.

Solomon

Re: Single Point Cannot Change Size

Posted: Tue Oct 28, 2014 2:39 pm
by yeray
Hi Solomon,

Please use getPointer().setHorizSize() and getPointer().setVertSize() methods to change the pointer size.
Ie, this seems to work fine for me here:

Code: Select all

		tChart1.getAspect().setView3D(false);
		
		Points point1 = new Points(tChart1.getChart());
		point1.add(10);
		
		tChart1.getAxes().getLeft().setMinMax(9, 11);
		tChart1.getAxes().getBottom().setMinMax(-1, 1);

		point1.getPointer().setHorizSize(10);
		point1.getPointer().setVertSize(10);

Re: Single Point Cannot Change Size

Posted: Tue Oct 28, 2014 4:01 pm
by 16967738
To Yeray

The 2 lines of code you suggested has made the point larger.
Thank-you