using System.Drawing;
namespace DelftTools.Controls.Swf.Charting
{
public interface IChartAxis
{
///
/// Format string for the labels
///
string LabelsFormat { get; set; }
///
/// Add labels showing the values of the axis (on true)
///
bool Labels { get; set; }
///
/// Font with which the labels are displayed
///
Font LabelsFont { get; set; }
///
/// Determines if this axis is visible in chart
///
bool Visible { get; set; }
///
/// Automatically determine the min and max values using the series
///
bool Automatic { get; set; }
///
/// Minimum axis value
///
double Minimum { get; set; }
///
/// Maximum axis value
///
double Maximum { get; set; }
///
/// Extra margin added to the minimum boundary of the axis in pixels.
///
int MinimumOffset { get; set; }
///
/// Extra margin added to the maximum boundary of the axis in pixels.
///
int MaximumOffset { get; set; }
///
/// Title of this axis
///
string Title { get; set; }
Font TitleFont { get; set; }
///
/// Determines whether the axis uses a logaritmic scale
///
bool Logaritmic { get; set; }
///
/// Returns whether the axis is formatted in DateTime.
///
bool IsDateTime { get; }
///
/// This function returns the corresponding value of a Screen position. The Screen position must be between Axis limits.
///
/// Screen position
double CalcPosPoint(int position);
///
/// Returns the coordinate position in pixels corresponding to the "Value" parameter in axis scales
///
/// Value
int CalcPosValue(double value);
}
}