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 1535

Summary: Wrong BarStyles.RoundRectangle
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: chris, pep, rose
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Chart produced with the code in the description
chart a user sent showcasing the bug

Description narcís calvet 2016-05-10 05:04:49 EDT
Created attachment 601 [details]
Chart produced with the code in the description

Code below renders bars wrongly in iOS as can bee seen in the attached screenshots.

      tChart1.Aspect.View3D = false;

      Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
      bar1.FillSampleValues();
      bar1.BarStyle = Steema.TeeChart.Styles.BarStyles.RoundRectangle;

      Steema.TeeChart.Styles.Bar bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
      bar2.FillSampleValues();
      bar2.BarStyle = Steema.TeeChart.Styles.BarStyles.RoundRectangle;
Comment 1 narcís calvet 2016-05-10 05:05:24 EDT
Created attachment 602 [details]
chart a user sent showcasing the bug
Comment 2 narcís calvet 2016-05-19 04:44:50 EDT
This also happens in WinForms narrowing the chart to have vertical phone like aspect.
Comment 3 narcís calvet 2016-05-19 05:22:38 EDT
Code snippet below in WinForms and narrowing the form to have a vertical phone size factor also reproduces the problem.

      tChart1.Dock = DockStyle.Fill;
      tChart1.Legend.Visible = false;

      tChart1.Aspect.View3D = false;

      Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
      bar1.FillSampleValues();
      bar1.BarStyle = Steema.TeeChart.Styles.BarStyles.RoundRectangle;

      Steema.TeeChart.Styles.Bar bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
      bar2.FillSampleValues();
      bar2.BarStyle = Steema.TeeChart.Styles.BarStyles.RoundRectangle;