using Imsl.Chart2D; using System.Drawing; public class SampleBackgroundGradient : FrameChart { public SampleBackgroundGradient() { Chart chart = this.Chart; chart.Background.FillType = ChartNode.FILL_TYPE_GRADIENT; chart.Background.SetGradient(Color.Yellow, Color.Yellow, Color.Red, Color.Red); AxisXY axis = new AxisXY(chart); double[] y = {4, 2, 3, 9}; new Data(axis, y); } public static void Main(string[] argv) { System.Windows.Forms.Application.Run(new SampleBackgroundGradient()); } }