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 - Series change Type
Summary: Series change Type
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- minor
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 04:46 EDT by berger
Modified: 2013-11-26 07:18 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 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());