'Declaration Public Function New()
'Usage Dim instance As New BoxWhiskerSeries()
public BoxWhiskerSeries()
'Declaration Public Function New()
'Usage Dim instance As New BoxWhiskerSeries()
public BoxWhiskerSeries()
FarPoint.Web.Chart.BoxWhiskerSeries series1 = new FarPoint.Web.Chart.BoxWhiskerSeries(); series1.SeriesName = "Store1"; series1.Values.Add(12); series1.Values.Add(13); series1.Values.Add(20); series1.Border = new FarPoint.Web.Chart.SolidLine(Color.Black); series1.Fill = new FarPoint.Web.Chart.GradientFill(Color.Brown, Color.Orange); FarPoint.Web.Chart.BoxWhiskerSeries series2 = new FarPoint.Web.Chart.BoxWhiskerSeries(); series2.SeriesName = "Store2"; series2.Values.Add(15); series2.Values.Add(5); series2.Values.Add(25); series2.Border = new FarPoint.Web.Chart.SolidLine(Color.Black); series2.Fill = new FarPoint.Web.Chart.GradientFill(Color.Lavender, Color.DeepSkyBlue); FarPoint.Web.Chart.ClusteredBoxWhiskerSeries cseries = new FarPoint.Web.Chart.ClusteredBoxWhiskerSeries(); cseries.Series.Add(series1); cseries.Series.Add(series2); FarPoint.Web.Chart.YPlotArea plotArea = new FarPoint.Web.Chart.YPlotArea(); plotArea.Location = new System.Drawing.PointF(0.2f, 0.2f); plotArea.Series.Add(cseries); FarPoint.Web.Chart.ChartModel model = new FarPoint.Web.Chart.ChartModel(); model.PlotAreas.Add(plotArea); FarPoint.Web.Spread.Chart.SpreadChart chart = new FarPoint.Web.Spread.Chart.SpreadChart(); chart.Model = model; FpSpread1.Sheets[0].Charts.Add(chart);
FarPoint.Web.Chart.BoxWhiskerSeries series1 = new FarPoint.Web.Chart.BoxWhiskerSeries(); series1.SeriesName = "Store1"; series1.Values.Add(12); series1.Values.Add(13); series1.Values.Add(20); series1.Border = new FarPoint.Web.Chart.SolidLine(Color.Black); series1.Fill = new FarPoint.Web.Chart.GradientFill(Color.Brown, Color.Orange); FarPoint.Web.Chart.BoxWhiskerSeries series2 = new FarPoint.Web.Chart.BoxWhiskerSeries(); series2.SeriesName = "Store2"; series2.Values.Add(15); series2.Values.Add(5); series2.Values.Add(25); series2.Border = new FarPoint.Web.Chart.SolidLine(Color.Black); series2.Fill = new FarPoint.Web.Chart.GradientFill(Color.Lavender, Color.DeepSkyBlue); FarPoint.Web.Chart.ClusteredBoxWhiskerSeries cseries = new FarPoint.Web.Chart.ClusteredBoxWhiskerSeries(); cseries.Series.Add(series1); cseries.Series.Add(series2); FarPoint.Web.Chart.YPlotArea plotArea = new FarPoint.Web.Chart.YPlotArea(); plotArea.Location = new System.Drawing.PointF(0.2f, 0.2f); plotArea.Series.Add(cseries); FarPoint.Web.Chart.ChartModel model = new FarPoint.Web.Chart.ChartModel(); model.PlotAreas.Add(plotArea); FarPoint.Web.Spread.Chart.SpreadChart chart = new FarPoint.Web.Spread.Chart.SpreadChart(); chart.Model = model; FpSpread1.Sheets[0].Charts.Add(chart);