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 959

Summary: Zoom Brush and Pen color problems
Product: Java TeeChart Reporter: sandra pazos <sandra>
Component: OthersAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2014-10-10 06:20:40 EDT
Zoom Brush and Pen are become transparent when you set a brush color. Also, the pen keeps the default color if the pen zoom color is changed. The problems don't occur in build number 2.0.0.801 (27th April 2009 maintenance release).

The code below reproduce the both problems: 
	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);
		Line series1 = new Line(tChart1.getChart()); 
		
		series1.fillSampleValues();
		tChart1.getZoom().getBrush().setSolid(true);//Comment the line to see the pen problem. 
		tChart1.getZoom().getBrush().setVisible(true);//Comment the line to see the Pen problem. 
	    tChart1.getZoom().getBrush().setColor(Color.LIGHT_YELLOW);//Comment the line to see the Pen problem.
	   // tChart1.getZoom().getPen().setColor(Color.red); //Uncomment the line to see the Pen problem.
	   }