I have purchased Super2D3DGraph 15.1 in Feb 2016 (before it became crossing charts). I assume it is very similar and has only been refactored.

I have a severe problem with the SURFACE_GRADIENT_TYPE.LIST_OF_COLORS_LINEAR_GRADIENT concept. When I use this concept the surface plot spends many minutes trying to render and eventually hangs. All other SURFACE_GRADIENT_TYPEs seems to work, but I really want to put in my own custom colours

If I cut and paste the example exactly as shown on your website, it behaves in exactly the same way. (Memory leak?)

Can this be resolved ?

Regards

 // Initialize chart control
            chart.AutoRefresh = false;
            chart.BackStyle = STYLEBACKGROUND.STYLEBACKGROUND_SOLID;
            chart.BackColor = Color.Black;
            chart.WallsBackStyle = STYLEWALLBACKGROUND.STYLEWALLBACKGROUND_TRANSPARENT;
            chart.ShowDataTable = false;
            chart.ShowValues = false;
            chart.ShowLegend = false;
            chart.TitleColor = Color.White;
            chart.ZoomEnabled = true;
            // Set some look and feel properties
            chart.SurfaceGradientType = SURFACE_GRADIENT_TYPE.LIST_OF_COLORS_LINEAR_GRADIENT;
            chart.SurfaceGradientColors = new List<Color>();
            chart.SurfaceGradientColors.AddRange(new Color[] { Color.Red, Color.Brown, Color.Yellow, Color.White, Color.Blue });
            chart.SetAllSeriesLineStyle(new Pen(Color.White));
            chart.HotSpotOutlineStyle = new Pen(Color.Red, 5);
            chart.PointSize = 8;
            chart.GridLineStyle = new Pen(Color.White);

            // Y-Axis-format
            chart.ShowYAxis = true;
            chart.YAxisTitle = "Y-Axis";
            chart.YAxisDividersCount = 5;
            chart.YAxisNumericFormat = "0";
            chart.YAxisScaleMode = SCALEMODE.SCALEMODE_AUTOMATIC;
            chart.ShowDividersY = false;

            // X-Axis-format
            chart.ShowXAxis = true;
            chart.XAxisTitle = "X-Axis";
            chart.XAxisNumericFormat = "0";
            chart.XAxisDividersCount = 5;
            chart.ShowDividersX = false;
            chart.XAxisColor = Color.White;
            chart.XAxisScaleMode = SCALEMODE.SCALEMODE_AUTOMATIC;
            chart.XAxisDirection = -1;

            // Z-Axis-format
            chart.ShowZAxis = true;
            chart.ZAxisTitle = "Z-Axis";
            chart.ZAxisDividersCount = 5;
            chart.ShowDividersZ = false;
            chart.ZAxisNumericFormat = "0";
            chart.ZAxisScaleMode = SCALEMODE.SCALEMODE_AUTOMATIC;
            chart.ZAxisColor = Color.White;
            chart.Style = STYLE2D3D.STYLE3D_XYZ_SURFACE;
            SeriesFactory sf = new SeriesFactory();
            for (int x = 0; x < 25; x++)
            {
                for (int y = 0; y < 25; y++)
                {
                    sf.AddPoint(x, (float)(Math.Cos((x - 12) / 20.0) * Math.Cos((y - 12) / 20.0) * 10.0), y);
                }
                sf.NewSerie(); // <--- Quad surface needs points organized into series
            }
            sf.ApplyTo(chart);
            chart.RefreshChart();

Re: Issues with SURFACE_GRADIENT_TYPE.LIST_OF_COLORS_LINEAR_GRADIENT
« Reply #1 on: September 02, 2016, 03:46:23 AM »
Hi!
Please send your order number to contact@crossingcharts.com to check if you're eligible for an update to latest release.
Thanks.