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 790 - Bottom and Top aligned legend not correctly horizontally centered
Summary: Bottom and Top aligned legend not correctly horizontally centered
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Legend (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 06:10 EDT by christopher ireland
Modified: 2014-06-10 06:11 EDT (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description christopher ireland 2014-06-10 06:10:43 EDT
Please use the following code to reproduce the issue:

    private void InitializeChart()
    {
      Random rnd = new Random();

      tChart1.Aspect.View3D = false;

      for (int j = 0; j < 2; j++)
      {
        var barProduct = new Steema.TeeChart.Styles.Bar();

        for (int i = 0; i < 10; i++)
        {
          barProduct.Add(rnd.Next(0, 100));
        }

        tChart1.Series.Add(barProduct);
      }

      tChart1.Legend.Alignment = LegendAlignments.Bottom;
    }