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 62

Summary: Series change Type
Product: Java TeeChart Reporter: berger
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: minor CC: marc
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description berger 2013-10-28 04:46:40 EDT
NullPointerException when changing the type of Area to Line. 

Example:
Area series1 = new com.steema.teechart.styles.Area(this.tChart.getChart());
series1.setColor(new Color(Color.RED));
series1.getMarks().setVisible(false);
series1.fillSampleValues(4);
tChart.getSeries(0).changeType(tChart.getSeries(0), new Line().getClass());