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 - Wrong BarStyles.RoundRectangle
Summary: Wrong BarStyles.RoundRectangle
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-10 05:04 EDT by narcís calvet
Modified: 2016-07-07 10:25 EDT (History)
3 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Chart produced with the code in the description (90.22 KB, image/png)
2016-05-10 05:04 EDT, narcís calvet
Details
chart a user sent showcasing the bug (56.59 KB, image/png)
2016-05-10 05:05 EDT, narcís calvet
Details

Note You need to log in before you can comment on or make changes to this 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;