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 - Values displayed for the TColorGridSeries
Summary: Values displayed for the TColorGridSeries
Status: RESOLVED NOTABUG
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: yeray alonso
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 06:31 EDT by Thierry
Modified: 2020-05-13 15:26 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version: RAD 10.3 Rio


Attachments
small project sample (67.73 KB, application/x-zip-compressed)
2020-03-10 06:31 EDT, Thierry
Details

Note You need to log in before you can comment on or make changes to this bug.
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.