CPF/CPF.ReoGrid/Chart/ColumnChart.cs
2024-06-24 10:15:59 +08:00

37 lines
655 B
C#

using System;
namespace CPF.ReoGrid.Chart
{
public class ColumnChart : AxisChart
{
public ColumnChartPlotView ColumnChartPlotView
{
get
{
return this.chartPlotView;
}
protected set
{
this.chartPlotView = value;
}
}
public ColumnChart()
{
base.AddPlotViewLayer(this.chartPlotView = this.CreateColumnChartPlotView());
}
protected virtual ColumnChartPlotView CreateColumnChartPlotView()
{
return new ColumnChartPlotView(this);
}
protected override ChartLegend CreateChartLegend(LegendType type)
{
return new ColumnLineChartLegend(this);
}
private ColumnChartPlotView chartPlotView;
}
}