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 1333

Summary: SeriesCount changed between v2015.15 and v2015.16 when using CrossTab
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: Other ComponentsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: minor CC: narcis, sandra, warmbooter
Priority: Normal    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15780
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2015-10-02 07:13:00 EDT
See the project attached. It includes exes with the projet compiled for v2015.15 and v2015.16 to see the different results.

With v2015.15:
- SeriesCount is 1
- In the editor you see ones series visible

With v2015.16:
- SeriesCount is 2
- In the editor you see ones series invisible
Comment 1 yeray alonso 2015-10-02 07:15:26 EDT
Attachment too big.
I uploaded it here:
http://www.steema.com/files/public/support/testCrossTabs_id=1333.zip
Comment 4 narcís calvet 2016-03-17 05:44:28 EDT
We consider this not being a bug. 

A major redesign of TeeDBCrossTab unit was made last summer, which included this modification in build 2015.16.

Changes made to CrossTab source use new Series.Detail property (more info at https://www.steema.com/?/linkIn/WhatsNewVCL). Therefore we have a main series with child series being the Detail property and the result of CrossTab work. Main series is set to be inactive as not to be rendered. Detail series (only one in this particular case) are being rendered. 

Prior to that change, new series at chart level were being created. Casually, in this specific test, only one series was necessary. That's why TChart.SeriesCount now returns 2 instead of 1.
Comment 5 Carlos 2016-03-17 06:35:11 EDT
(In reply to narcís calvet from comment #4)
> We consider this not being a bug. 

I don't care about the returned Series "count". What bothers me is that there is always a "Series1" being displayed in my chart legend. Initially, it is displayed as inactive. If the user click in the checkbox and activate it, it mess up with the X axis marks, displaying wrong texts! I consider this a (serious) bug.
Comment 6 sandra pazos 2017-01-25 10:48:19 EST
Hello Carlos,

That bug is closed. I have added a new bug with the legend checkboxes problem. Here's the link: http://bugs.teechart.net/show_bug.cgi?id=1758

Thanks in advance