Profile Picture

show 0 in stead of 5,57843E-17

Posted By Willie-Jan Bons 14 Years Ago
Author
Message
Willie-Jan Bons
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1

If you run the following code i would like to show 0 in stead of a small value...
What am i doing wrong here?

 

NDSChart.Settings.EnableJittering = False

NDSChart.Settings.RenderSurface = Nevron.GraphicsCore.RenderSurface.Bitmap

NDSChart.Settings.ShapeRenderingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality

NDSChart.Settings.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit

NDSChart.Settings.JitteringSteps = 3

NDSChart.Settings.JitteringDeviation = 1

Dim Chart As NChart

Chart = NDSChart.Charts.Item(0)

NDSChart.Legends.Clear()

NDSChart.Settings.RenderDevice = Nevron.GraphicsCore.RenderDevice.GDI

Chart.Projection.ViewerRotation = 0

Dim Ax As NAxis = Nothing

Ax = Chart.Axis(StandardAxis.PrimaryY)

Chart.Axis(Nevron.Chart.StandardAxis.PrimaryX).Visible = True

Chart.Axis(Nevron.Chart.StandardAxis.PrimaryY).Visible = True

Dim NumScaley As NLinearScaleConfigurator = Chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator

NumScaley.MajorTickMode = MajorTickMode.AutoMaxCount

NumScaley.RoundToTickMax = False

NumScaley.RoundToTickMin = False

Dim b1 As NLineSeries = Chart.Series.Add(SeriesType.Line)

b1.MarkerStyle.Visible = True

b1.MarkerStyle.PointShape = PointShape.Cross

b1.UseXValues = True

Chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator = New NLinearScaleConfigurator

Dim P As New NDataPoint(2.54)

b1.AddDataPoint(P)






Similar Topics


Reading This Topic