Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using Microsoft.Research.DynamicDataDisplay.Charts.Axes;
|
---|
6 |
|
---|
7 | namespace Microsoft.Research.DynamicDataDisplay.Charts
|
---|
8 | {
|
---|
9 | /// <summary>
|
---|
10 | /// Describes axis as having ticks type.
|
---|
11 | /// Provides access to some typed properties.
|
---|
12 | /// </summary>
|
---|
13 | /// <typeparam name="T">Axis tick's type.</typeparam>
|
---|
14 | public interface ITypedAxis<T>
|
---|
15 | {
|
---|
16 | /// <summary>
|
---|
17 | /// Gets the ticks provider.
|
---|
18 | /// </summary>
|
---|
19 | /// <value>The ticks provider.</value>
|
---|
20 | ITicksProvider<T> TicksProvider { get; }
|
---|
21 | /// <summary>
|
---|
22 | /// Gets the label provider.
|
---|
23 | /// </summary>
|
---|
24 | /// <value>The label provider.</value>
|
---|
25 | LabelProviderBase<T> LabelProvider { get; }
|
---|
26 |
|
---|
27 | /// <summary>
|
---|
28 | /// Gets or sets the convertion of tick from double.
|
---|
29 | /// Should not be null.
|
---|
30 | /// </summary>
|
---|
31 | /// <value>The convert from double.</value>
|
---|
32 | Func<double, T> ConvertFromDouble { get; set; }
|
---|
33 | /// <summary>
|
---|
34 | /// Gets or sets the convertion of tick to double.
|
---|
35 | /// Should not be null.
|
---|
36 | /// </summary>
|
---|
37 | /// <value>The convert to double.</value>
|
---|
38 | Func<T, double> ConvertToDouble { get; set; }
|
---|
39 | }
|
---|
40 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.