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 - [TJ71016752] Adding a null point in a Bar series produces a java.lang.IndexOutOfBo...
Summary: [TJ71016752] Adding a null point in a Bar series produces a java.lang.IndexOu...
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 11:53 EDT by yeray alonso
Modified: 2013-11-26 11:21 EST (History)
1 user (show)

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


Attachments

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