Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1876

Summary: Problem with Marks not always showing
Product: VCL TeeChart Reporter: weatherdisplay <info>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: normal CC: marc
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: demo to show the bug
simplified test project

Description weatherdisplay 2017-06-05 19:03:29 EDT
Created attachment 769 [details]
demo to show the bug

HI
This bug was introduced in a recent update of Tchart
(I am using Delphi Berlin 10.1 update 2)
The value for a point, as shown as the Mark, does not always get displayed, like it used to
I have a test project to illustrate:
http://www.weather-display.com/downloadfiles/Project74.zip
also attached

change the spinedit by say 1 up or down and click on test..the word test will show at the top of the line for 1 value and then not for another value for the spinedit

this used to work for any value but now its like only every 4 values change
thanks for any help
Brian
weatherdisplay
Newbie
Newbie
 
Posts: 30
Joined: Mon Oct 24, 2016 12:00 am
Comment 1 yeray alonso 2017-06-08 07:26:57 EDT
Created attachment 770 [details]
simplified test project

I've simplified the project, clearing design time settings and using two charts: one to show the problem with the point at value=1 and the other one to show how it works fine with the point at value=2.

Note the problem seems to be introduced in v2016.19, because both charts show the "test" label with v2016.18.
Comment 2 weatherdisplay 2017-06-08 13:56:40 EDT
Comment on attachment 770 [details]
simplified test project

Hi
Thanks for confirming
I am not able to use a version as old as v2016.18
as it is not compatible with Delphi Berlin
(unless a version that is compatible is able to be made available?
thanks
Brian
Comment 3 marc meumann 2017-07-12 11:23:44 EDT
The problem appears to relate to the following property:

Series.CalcVisiblePoints

It is default True for many Series types including the case here for FastLine.

Please set the following:

Series.CalcVisiblePoints := false;

(in the test example: chart2[1].CalcVisiblePoints := false;)


We will check how default behaviour should be modified.
Comment 4 weatherdisplay 2017-07-12 22:34:36 EDT
the behaviour around that setting must have changed
as the same code stopped working with the recent updates
or did that setting now become true be default