27 lines
561 B
C#
27 lines
561 B
C#
using System;
|
|
using CPF.Drawing;
|
|
using CPF.ReoGrid.Drawing;
|
|
|
|
namespace CPF.ReoGrid.Chart
|
|
{
|
|
public abstract class AxisInfoView : DrawingObject
|
|
{
|
|
public AxisChart Chart { get; protected set; }
|
|
|
|
public AxisTypes AxisType { get; protected set; }
|
|
|
|
public AxisInfoView(AxisChart chart, AxisTypes axisType)
|
|
{
|
|
this.Chart = chart;
|
|
this.AxisType = axisType;
|
|
base.FillColor = Color.Transparent;
|
|
base.LineColor = Color.Transparent;
|
|
this.FontSize *= 0.9f;
|
|
}
|
|
|
|
public AxisInfoView(AxisChart chart) : this(chart, AxisTypes.Primary)
|
|
{
|
|
}
|
|
}
|
|
}
|