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 1986

Summary: Implement CalcVisiblePoints property
Product: ActiveX TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: TeeChart Pro Activex Control 2016.0.0.1 Release   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://stackoverflow.com/questions/48676564/seriesmarks-is-not-visible-for-specified-valueindex-in-teechart2017
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2018-02-08 09:32:30 EST
When you have many points and you want to show only some of the marks, you can do this:

  TChart1.Aspect.View3D = False
  TChart1.Legend.Visible = False
  
  TChart1.AddSeries scFastLine
  TChart1.Series(0).FillSampleValues 20000
  TChart1.Series(0).Marks.Visible = True
  
  For i = 0 To TChart1.Series(0).Count - 1
    TChart1.Series(0).Marks.Item(i).Visible = ((i = 1250) Or (i = 137) Or (i = 10000))
  Next i

This worked fine in v8 and seems to be broken since v2016.0.0.1.

The problem is also reproducible in VCL, but setting CalcVisiblePoints property to false solves the problem.