ALways ONE MARK is missing!

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

ALways ONE MARK is missing!

Post by walter0316 » Mon Jul 13, 2015 11:41 am

Hi,
I think I have found a bug:
Always when I try to load a series in on 3D POINT CHart, and I want to make the marks visible, there is one missing! Try it yourself with random numbers.
I just have 12 Points but one mark is missing. It is strange, because is not the latest mark nor the first mark.
I use Delphi XE6 and the latest TEECHART VCL. 2015.15
Please help me, I have already told it on the bug site .
thanks
walter

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ALways ONE MARK is missing!

Post by Yeray » Tue Jul 14, 2015 1:52 pm

Hello Walter,

Could you please arrange a simple example project we can run as-is to reproduce the problem here?
There will probably be some other properties you set in your chart that are influencing here, because a new simple chart with a TPointSeries and 12 random values seems to work fine for me here.

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  with Chart1.AddSeries(TPointSeries) as TPointSeries do
  begin
    FillSampleValues(12);
    Marks.Visible:=true;
  end;
end;
I've also asked for an simple example in the ticket you opened in the tracker here.
Also, please read the instructions about How to post in this forum below in my signature.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: ALways ONE MARK is missing!

Post by walter0316 » Tue Jul 14, 2015 5:45 pm

Hi Yeray,
I have attached a zip als example in the bug ticket, please let me know if you can verify it.
Thanks
Walter

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: ALways ONE MARK is missing!

Post by walter0316 » Wed Jul 15, 2015 6:23 am

:?: When you run this example, you have shown, that you also see one point (860) without a label!

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: ALways ONE MARK is missing!

Post by walter0316 » Wed Jul 15, 2015 6:44 am

here the screen of the shown example: Image and here my example sent to the bug-report. Image

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: ALways ONE MARK is missing!

Post by walter0316 » Wed Jul 15, 2015 6:45 am

by teh shown example 980 is also missing!

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ALways ONE MARK is missing!

Post by Yeray » Wed Jul 15, 2015 11:50 am

Hello,

That mark is being hidden by the AntiOverlap system in the series.
You can disable it in the editor at design time unselecting the "Auto Position" checkbox at the Series' Marks/Style tab.

And you can also disable it at runtime by code:

Code: Select all

  Series1.Marks.Automatic.Move:=false;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: ALways ONE MARK is missing!

Post by walter0316 » Wed Jul 15, 2015 12:42 pm

Yes that was the reason! Thanks lot! I am so happy that this was no bug but only a definition problem.
best
walter
:D

Post Reply