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 1128 - Wrong vertical label alignment with density > 1 devices
Summary: Wrong vertical label alignment with density > 1 devices
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Android (show other bugs)
Version: TeeChart.NET 2014 4.1.2014.02060
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://stackoverflow.com/questions/28...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 09:34 EST by narcís calvet
Modified: 2015-02-09 10:56 EST (History)
1 user (show)

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


Attachments
label alignment comparison. (15.03 KB, image/jpeg)
2015-02-09 09:34 EST, 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 2015-02-09 09:34:32 EST
Created attachment 396 [details]
label alignment comparison.

Axis labels are badly vertical aligned with devices with density > 1, for example Nexus 5. This can be reproduced with the code snippet below or any example in the TeeChart for Xamarin.Android demo. See attached image reproducing the problem.

      Steema.TeeChart.TChart tChart1 = new Steema.TeeChart.TChart(this);
      Steema.TeeChart.Styles.Area area = new Steema.TeeChart.Styles.Area(tChart1.Chart);

      tChart1.Aspect.View3D = false;

      tChart1.Axes.Left.SetMinMax(20, 140);
      tChart1.Axes.Left.Labels.Items.Add(40, " 40");
      tChart1.Axes.Left.Labels.Items.Add(60, " 60");
      tChart1.Axes.Left.Labels.Items.Add(80, " 80");
      tChart1.Axes.Left.Labels.Items.Add(100, "100");
      tChart1.Axes.Left.Labels.Items.Add(120, "[dB]");

      SetContentView(tChart1);