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 1639

Summary: The Contour Series isn’t rendering correctly the FillLevels.
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: TeeChart for .Net 4.1.2016.05125   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2016-09-23 11:08:24 EDT
The Contour Series isn’t rendering correctly the FillLevels. The code below show how can reproduce the problem: 

     private void InitializeChart()
        {

           Steema.TeeChart.Themes.BlackIsBackTheme bTheme = new Steema.TeeChart.Themes.BlackIsBackTheme(tChart1.Chart);
           bTheme.Apply();
            tChart1.Aspect.View3D = false;
            tChart1.Dock = DockStyle.Fill;


     
            tChart1.Aspect.View3D = false;
            Contour series = new Contour(tChart1.Chart);

            Random rnd = new Random();

            for (int z = 0; z <= 10; z++)
            {
                for (int x =0 ; x <= 10; x++)
                {
                    double y = rnd.NextDouble();
                    y = y > 0.5 ? y : y * -1;
                    series.Add(x, y, z);
                }
            }

            series.FillLevels = true;
	   }