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 962

Summary: Pie serie cloning works incorrect
Product: Java TeeChart Reporter: alex
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: sandra, yeray
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: Pie Delphi / C++ Builder RAD IDE Version:
Attachments: screenshot with bug

Description alex 2014-10-15 09:05:31 EDT
Created attachment 306 [details]
screenshot with bug

Create pie series, check 'Circled' checkbox, uncheck '3D Dimensions' and set 'Rotation' to 20 for example. Try to clone this serie. New serie will differ from the old
Comment 1 sandra pazos 2014-10-24 09:26:38 EDT
The code below reproduces the problem: 

private static void initializeChart() 
{
		
tChart1.getAspect().setView3D(false);
tChart1.getLegend().setAlignment(LegendAlignment.BOTTOM);
tChart1.getLegend().setLegendStyle(LegendStyle.SERIES);
tChart1.getLegend().getFont().setSize(20);
tChart1.getHeader().getFont().setSize(25);
tChart1.getAxes().getLeft().getTitle().getFont().setSize(15);
tChart1.getAxes().getLeft().getLabels().getFont().setSize(15);
		tChart1.getAxes().getBottom().getLabels().getFont().setSize(15);
ThemesList.applyTheme(tChart1.getChart(), 1);	
Pie  pie1 = new Pie(tChart1.getChart()); 
pie1.fillSampleValues(4);
pie1.setCircled(true);
pie1.setRotationAngle(20);
pie1.clone();
}