I've a surface chart with one serie of data; I try to add a cursor tool following your example but I'm not able to show anything. What is wrong?Thank you very muchThis is my code snippet:
// setup Y axischart.Axis(StandardAxis.PrimaryY).Visible = false;
// setup X axisNAxis axisX = chart.Axis(StandardAxis.PrimaryX);axisX.Anchor = new NDockAxisAnchor(AxisDockZone.FrontTop);NLinearScaleConfigurator scaleX = new NLinearScaleConfigurator();scaleX.InnerMajorTickStyle.Visible = false;scaleX.RoundToTickMin = false;scaleX.RoundToTickMax = false;axisX.ScaleConfigurator = scaleX;
// setup Z axisNAxis axisZ = chart.Axis(StandardAxis.Depth);axisZ.Anchor = new NDockAxisAnchor(AxisDockZone.TopLeft);NLinearScaleConfigurator scaleZ = new NLinearScaleConfigurator();scaleZ.InnerMajorTickStyle.Visible = false;scaleZ.MajorGridStyle.ShowAtWalls = new ChartWallType[0];scaleZ.RoundToTickMin = false;scaleZ.RoundToTickMax = false;axisZ.ScaleConfigurator = scaleZ;
// add a surface seriessurface = (NGridSurfaceSeries)chart.Series.Add(SeriesType.GridSurface);surface.Name = "Contour";surface.Legend.Mode = SeriesLegendMode.SeriesLogic;surface.ValueFormatter = new NNumericValueFormatter("0.000");surface.FillMode = SurfaceFillMode.Zone;surface.FrameMode = SurfaceFrameMode.Contour;surface.ShadingMode = ShadingMode.Flat;surface.DrawFlat = true;
Best Regards,Nevron Support Team