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 - The Contour Series isn’t rendering correctly the FillLevels.
Summary: The Contour Series isn’t rendering correctly the FillLevels.
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: TeeChart for .Net 4.1.2016.05125
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-23 11:08 EDT by sandra pazos
Modified: 2017-03-07 05:06 EST (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 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;
	   }