forked from Live-Charts/Live-Charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAxisWindows.cs
48 lines (43 loc) · 1020 Bytes
/
AxisWindows.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 "";
}
}
}
}