using System; namespace CPF.ReoGrid.Chart { public class AreaChart : AxisChart { public AreaLineChartPlotView AreaLineChartPlotView { get { return this.areaLineChartPlotView; } protected set { this.areaLineChartPlotView = value; } } public AreaChart() { base.AddPlotViewLayer(this.areaLineChartPlotView = new AreaLineChartPlotView(this)); } protected override ChartLegend CreateChartLegend(LegendType type) { return new LineChartLegend(this); } private AreaLineChartPlotView areaLineChartPlotView; } }