Initial Commit
This commit is contained in:
18
Charts/Axes/Integer/IntegerAxisControl.cs
Normal file
18
Charts/Axes/Integer/IntegerAxisControl.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.Charts.Axes
|
||||
{
|
||||
public class IntegerAxisControl : AxisControl<int>
|
||||
{
|
||||
public IntegerAxisControl()
|
||||
{
|
||||
LabelProvider = new GenericLabelProvider<int>();
|
||||
TicksProvider = new IntegerTicksProvider();
|
||||
ConvertToDouble = i => (double)i;
|
||||
Range = new Range<int>(0, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user