![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Series.changeType changes series order in series collection | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | kahlert <kahlert> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kahlert, marc, sandra |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
kahlert
2014-04-07 07:31:47 EDT
The code below reproduce the problem:
private static void createChart(Shell tmpShell) {
tChart1 = new TChart(tmpShell, 0);
}
private static void initializeChart() {
com.steema.teechart.themes.ThemesList.applyTheme(tChart1.getChart(), 1);
tChart1.getAspect().setView3D(false);
Line line1,line2,line3,line4;
line1 = new Line(tChart1.getChart());
line2 = new Line(tChart1.getChart());
line3 = new Line(tChart1.getChart());
line4 = new Line(tChart1.getChart());
line1.fillSampleValues();
line2.fillSampleValues();
line3.fillSampleValues();
line4.fillSampleValues();
try {
com.steema.teechart.styles.Series.changeType(line1, Bar.class);
} catch (IllegalArgumentException e) {
e.printStackTrace();
} catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
}
}
|