sudidela Posted February 20, 2009 Report Share Posted February 20, 2009 Hi We are working on Windows application where in we need to capture the data from device and send it to chart for plotting. X-axis values will have the DateTime values and Y-axis will have the double values. If we pass the double values to Y-axis like 1.973962E-15, 2.508606E+15, 46.15, 4.1685E-15......, then application is getting crashed. I am attaching the snapshot of the Exception details. Quote Link to comment Share on other sites More sharing options...
juanZ Posted February 20, 2009 Report Share Posted February 20, 2009 Hi,Please provide me with a small repro case in order to verify how your information is being passed to the chart.For example, this code accepts double values with a very high precision and still working. // This is the Form_Load chart1.AxisY.Min = 2.93e-15; chart1.AxisY.Max = 2.93e+15; chart1.AxisY.LabelsFormat.Format = AxisFormat.Scientific; chart1.AxisY.LabelsFormat.Decimals = 2; int nSeries = 1; int nPoints = 4; chart1.Gallery = Gallery.Bar; chart1.Data.Series = nSeries; chart1.Data.Points = nPoints; chart1.Data[0, 0] = 2.5e+302; chart1.Data[0, 1] = 1.5e+306; chart1.Data[0, 2] = 2.5e+303; chart1.Data[0, 3] = 6.5e-308; Please send me a small example. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.