Initial Commit
This commit is contained in:
17
Charts/Axes/DefaultTicksProvider.cs
Normal file
17
Charts/Axes/DefaultTicksProvider.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.Charts
|
||||
{
|
||||
internal static class DefaultTicksProvider
|
||||
{
|
||||
internal static readonly int DefaultTicksCount = 10;
|
||||
|
||||
internal static ITicksInfo<T> GetTicks<T>(this ITicksProvider<T> provider, Range<T> range)
|
||||
{
|
||||
return provider.GetTicks(range, DefaultTicksCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user