37 lines
655 B
C#
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;
|
|
}
|
|
}
|