We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

xy charts (again)

I have attached an example of a very simple xy chart done in excel. Can you please provide an example of how to specify your Chart tool to do the equivalent? Thanks, Bill Korchinski xychart_2052.zip

10 Replies

DJ Davis Jebaraj Syncfusion Team January 26, 2004 08:36 AM

Hi Bill, Please find a sample that shows how to create a XY (Spline) chart with the ChartControl linked below: http://www.syncfusion.com/support/user/uploads/chartgridsample.zip Please let us know if you need any further information. Thank you for your patience. Regards, Davis

BK Bill Korchinski February 4, 2004 08:37 AM

Hi Davis, I just tried this & it works great. Thanks very much. There is one more thing you can do to help me. I need a way to show a single point on the curve. See original Excel plot with a red point at (x,y) = (7,49). Is there a way to do this with Essential Chart? I can do it with another package by defining a second (x,y) data series which has only a single point at (7,49). If you can show me how to do this, I''ll be all set. Thanks again, Bill

AD Administrator Syncfusion Team February 4, 2004 09:51 AM

One more thing... I''d like the sinlge point at (7,49) to be a different color / shape from the ones on the original spline curve. Thanks, Bill

DJ Davis Jebaraj Syncfusion Team February 11, 2004 12:07 PM

Hi Bill, Sorry about the delay in responding. A point can be added to the current series itself and treated differently for display purposes by handling the PrepareStyle event of the Series. http://www.syncfusion.com/support/user/uploads/chartgridsample.zip Regards, Davis

BK Bill Korchinski February 12, 2004 11:06 AM

Great- thanks again. Bill

RS Rauli Saarinen October 7, 2004 04:58 AM

I''m now evaluating the Essential Suite I didn''t quite understand from the VBasic sample how to set the x-values in xy-chart. I''v tried the following: private void CreateSerie(out Syncfusion.Windows.Forms.Chart.ChartSeries ser, ref Syncfusion.Windows.Forms.Chart.ChartControl chart) { ser = chart.Model.NewSeries("LineSerie", Syncfusion.Windows.Forms.Chart.ChartSeriesType.Line); ser.Points.Add(1, 2); ser.Points.Add(2, 4); ser.Points.Add(4, 8); ser.Points.Add(8, 16); chart.Series.Add(ser); } That makes serie to through following points (x, y): (0, 2); (1, 4); (2, 8); The fourth point is not visible at all. What should I do to make line to go through points I defined in the sample code? What have I misunderstood?

DJ Davis Jebaraj Syncfusion Team October 7, 2004 06:53 AM

Hi, Thank you for your interest in Syncfusion. Please find a sample that uses the code you had posted to display a Chart linked to below: http://www.syncfusion.com/support/user/Uploads/F10023ChartXY_7915.zip The Indexed property of the ChartControl needs to be set to false for the X axis values to have actual values. Regards, Davis

RS Rauli Saarinen October 7, 2004 07:35 AM

Thank you Davis! That really helped.

AD Administrator Syncfusion Team November 1, 2004 12:56 PM

You mentioned that you are using build The latest version that I can see advertized on the Syncfusion download is How did you get

DJ Davis Jebaraj Syncfusion Team November 2, 2004 08:04 AM

Hi, Version is the official 2.1 version released for download on 08/18/2004 http://www.syncfusion.com/pressreleases/8-18-04.aspx All other versions that have the last number increased ( in this case) is a patch version that provides fixes and enhancements to the version version These patch versions are sent to syncfusion customers and evaluators who request fixes for particular issues identified by them. Please let us know if you have a problem with version that needs to be resolved and I can point you to the appropriate patch version. Thanks, Davis

Live Chat Icon For mobile
Up arrow icon