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 2295

Summary: Values displayed for the TColorGridSeries
Product: VCL TeeChart Reporter: Thierry <thierry.rosay>
Component: ChartAssignee: yeray alonso <yeray>
Status: RESOLVED NOTABUG    
Severity: major CC: yeray
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD 10.3 Rio
Attachments: small project sample

Description Thierry 2020-03-10 06:31:42 EDT
Created attachment 931 [details]
small project sample

Hello,

I'm using a TChart component, with a TColorGridSeries.

Values set to the chart are well displayed, but values displayed with the TColorGridSeries seem not to be ok.

In the printscreen from the zip, the yellow area has :
- a min set to 2.16 this is ok
- a max set to 2.6 but displayed more than 2.8

Do I have a bug or is there an issue. ?

Thierry
Comment 1 yeray alonso 2020-05-13 15:26:12 EDT
I think you aren't populating the series as it is expected.
The ColorGrid series draws as many cells as points you add to it.
You are adding two points with Z=2.6. That's where the cells bottom, not their top.
Also note Grids with a single row will take 1 as height.