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 1507

Summary: an error with WaterFallSeries
Product: .NET TeeChart Reporter: Shinobu Nagai <nagai>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chris, sandra
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Error with HideCells

Description Shinobu Nagai 2016-04-14 01:15:28 EDT
Hello,

To reproduce the problem, please follow the steps below:
1. Places a TChart component on a form and opens Chart Editor.
2. Adds a WaterFallSeries, goes to the Series -> Format tab and marks the "Hide Cells" checkbox.
An error occurs. It says ...
Index is out of array bounds.

Thank you in advance,

Kindest Regards,
Comment 1 Shinobu Nagai 2016-04-14 01:17:23 EDT
Created attachment 590 [details]
Error with HideCells
Comment 2 sandra pazos 2016-04-15 11:38:26 EDT
Also, the code occurs in run time  when you set True the HideCells. The exception is produced in DrawAllSorted() Surface Series method. The code below reproduces the problem: 

  private void InitializeChart()
        {
            tChart1.Aspect.View3D = true;
            waterfall1.FillSampleValues();
            waterfall1.HideCells = true;
            
        }
Comment 3 christopher ireland 2016-04-18 11:13:06 EDT

*** This bug has been marked as a duplicate of bug 1509 ***