Point is disappeared

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Point is disappeared

Post by amol » Fri Feb 26, 2016 1:55 pm

Hi Steema Support,

We are facing an issue related to point add in the chart,

We are attaching a demo for the same.

In this demo, when we click “Add point 1” “First Point” is added as shown in below image,
F1.png
Image 1
F1.png (106.02 KiB) Viewed 7296 times
But when we click “Add point 2” “Second Point” is added but “The First Point” got disappeared, as shown in below image,
F2.png
Image 2
F2.png (86.11 KiB) Viewed 7297 times
Now when we click “Add point 3” then “Third point” is added and both (First and Second) Points are also shows.


So we are wondering, Why “First Point” got disappeared when we clicked on “Add point 2” and Why “First Point” is appeared when we click “Add point 3” ?

We want to show "First Point" at every button click.
Please provide me solution for this issue asap.
TechartDemo.rar
Demo
(54 KiB) Downloaded 736 times
Thanks in advance.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Point is disappeared

Post by Christopher » Mon Feb 29, 2016 9:31 am

Hello,

I've been able to reproduce this issue here.

I think there is a problem with the source code, but maybe it isn't the problem you had in mind. The issue is that the last point, (101, 0), should not be drawn at all, because it is outside of the bottom axis maximum (Maximum = 100). I have made a change to the source code which guarantees that this last point will not be drawn while it is outside of the minimum and maximum axes ranges.

In the meantime, to guarantee the drawing of this last point in the circumstances of your test project, please change the bottom axis maximum value from 100 to 101.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Point is disappeared

Post by Christopher » Mon Feb 29, 2016 10:22 am

Christopher wrote:I have made a change to the source code which guarantees that this last point will not be drawn while it is outside of the minimum and maximum axes ranges.
This change is registered in our issue tracking database with id=1454.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply