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 416

Summary: [TJ71016752] Adding a null point in a Bar series produces a java.lang.IndexOutOfBo...
Product: Java TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: marc
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 12:15:06 EST
Adding a null point in a Bar series produces a java.lang.IndexOutOfBoundsException.
Reproduced with SWT and Swing
        tChart1.getAspect().setView3D(false);
        
        Bar series = new Bar(tChart1.getChart());
	for (int i=0; i<5; i++) {
            if (i==3)
                series.addNull();
            else
                series.add(i+10);
        }
Related to TJ71016383 and TJ71015679.
Probably a refactoring of the Bar series will be needed. [created:2013-10-24T10:53:04.000+01:00 reported by:yeray@steema.com reported in version:3.2012.0808 (TeeChart Java)]
Comment 1 marc meumann 2013-11-26 11:21:45 EST
not reproducable .. may be fixed as result of work on adding of colours in Series.add