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 789

Summary: Bar series Origin property non-functional with Stacked bars
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2014-06-10 04:18:31 EDT
Using the following code enables reproduction of the problem:

    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();
        barProduct.MultiBar = MultiBars.Stacked;

        barProduct.Origin = -50;

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

        tChart1.Series.Add(barProduct);
      }
    }