mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-16 06:26:37 +08:00
48 lines
1020 B
C#
48 lines
1020 B
C#
|
|
using System;
|
||
|
|
|
||
|
|
namespace LiveCharts
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public static class AxisWindows
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public static AxisWindow EmptyWindow
|
||
|
|
{
|
||
|
|
get { return new EmptyAxisWindow(); }
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
///
|
||
|
|
/// </summary>
|
||
|
|
public class EmptyAxisWindow : AxisWindow
|
||
|
|
{
|
||
|
|
/// <inheritdoc />
|
||
|
|
public override double MinimumSeparatorWidth
|
||
|
|
{
|
||
|
|
get { return 0; }
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <inheritdoc />
|
||
|
|
public override bool IsHeader(double x)
|
||
|
|
{
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <inheritdoc />
|
||
|
|
public override bool IsSeparator(double x)
|
||
|
|
{
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <inheritdoc />
|
||
|
|
public override string FormatAxisLabel(double x)
|
||
|
|
{
|
||
|
|
return "";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|