Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1140
scatter chart
posted

Anyone have any sample code of scatter chart with the current infragistics version?

The documentation isn't very good on this.

Parents
No Data
Reply
  • 28496
    Offline posted

    using System;

    using System.Windows.Forms;

    using Infragistics.Win.UltraWinChart;

    using Infragistics.UltraChart.Shared.Styles;

    using Infragistics.UltraChart.Resources.Appearance;

    public partial class Form1 : Form

    {

    public Form1()

    {

    UltraChart theChart = new UltraChart();

    theChart.ChartType = ChartType.ScatterChart;

    XYSeries mySeries = new XYSeries();

    mySeries.Points.Add(new XYDataPoint(1.0, 1.0, "Point A", false));

    mySeries.Points.Add(new XYDataPoint(2.0, 2.0, "Point A", false));mySeries.Points.Add(new XYDataPoint(3.0, 3.0, "Point A", false));

    theChart.Series.Add(mySeries);

    this.Controls.Add(theChart);

    theChart.Dock = DockStyle.Fill;

    }

    }

     

Children
No Data