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 423

Summary: [TJ71016478] The relative gradient doesn't seem to work, at least for the Bar seri...
Product: Java TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: marc
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 12:15:49 EST
The relative gradient doesn't seem to work, at least for the Bar series.
This doesn't do any relative gradient (in .NET it does). Neither in SWT, Android or Swing.
  tChart1.getAspect().setView3D(false);
  tChart1.getLegend().setVisible(false);
  Bar bar1 = new Bar(tChart1.getChart());
  bar1.add(10);
  bar1.add(50);
  bar1.getGradient().setVisible(true);
  bar1.setGradientRelative(true);
In SWT, in addition, the gradient is diagonal. And if I try to change it to vertical or horizontal, nothing changes (directions work fine in Andoid and Swing).
  bar1.getGradient().setVisible(true);
  bar1.getGradient().setDirection(GradientDirection.HORIZONTAL); [created:2013-01-04T17:48:44.000+01:00 reported by:yeray@steema.com reported in version:3.2012.0808 (TeeChart Java)]
Comment 1 marc meumann 2013-12-12 06:41:10 EST
fixed in dec 2013 Java code