rao.sripathi Posted November 2, 2007 Report Share Posted November 2, 2007 I am having a data which is having both positive and negative values in both x and y-axis and having 3 series. I want to plot the chart in the form of coordination system, which can handle all the values. Please suggest me on this. or any alternative. Thanks In Anticipation, Sripathi Link to comment Share on other sites More sharing options...
PDyer Posted November 2, 2007 Report Share Posted November 2, 2007 The following sample will do it just find. chart1.Data.Series = 3;<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> chart1.Data.Points = 3; chart1.Data[0, 0] = -30; chart1.Data[0, 1] = -50; chart1.Data[0, 2] = -5; chart1.Data[1, 0] = 10; chart1.Data[1, 1] = -10; chart1.Data[1, 2] = 30; chart1.Data[2, 0] = -15; chart1.Data[2, 1] = 40; chart1.Data[2, 2] = 15; chart1.Data.Labels[0] = "A"; chart1.Data.Labels[1] = "B"; chart1.Data.Labels[2] = "C"; chart1.Gallery = ChartFX.WinForms.Gallery.Scatter; You may want to change the Gray Code by a SQL Query, there is a good article which includes code in the Chart FX Resource Center installed with Chart FX, section Passing Data/"Passing Data Using Database". I hope this helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.