using Imsl.Chart2D; using System.Drawing; public class SampleLineMarker : FrameChart { public SampleLineMarker() { Chart chart = this.Chart; AxisXY axis = new AxisXY(chart); double[] x = new double[] {1, 3, 4, 5, 9}; double[] y = new double[] {8, 3, 5, 2, 9}; Data data1 = new Data(axis, x, y); data1.DataType = Data.DATA_TYPE_LINE | Data.DATA_TYPE_MARKER; data1.LineColor = Color.Blue; data1.MarkerColor = Color.Red; data1.MarkerType = Data.MARKER_TYPE_FILLED_SQUARE; } public static void Main(string[] argv) { System.Windows.Forms.Application.Run(new SampleLineMarker()); } }