/Main/src/DynamicDataDisplay/Charts/Axes/DefaultTicksProvider.cs
C# | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | dadd7b4514411103f2530abf62a9a615 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
1using System; 2using System.Collections.Generic; 3using System.Linq; 4using System.Text; 5 6namespace Microsoft.Research.DynamicDataDisplay.Charts 7{ 8 internal static class DefaultTicksProvider 9 { 10 internal static readonly int DefaultTicksCount = 10; 11 12 internal static ITicksInfo<T> GetTicks<T>(this ITicksProvider<T> provider, Range<T> range) 13 { 14 return provider.GetTicks(range, DefaultTicksCount); 15 } 16 } 17}