Files
StockSharp/Charting.Interfaces/AnnotationCoordinateMode.cs

31 lines
1.1 KiB
C#

namespace StockSharp.Charting;
/// <summary>
/// Enumeration constants to define the Coordinate mode used to place an annotation.
/// </summary>
public enum AnnotationCoordinateMode
{
/// <summary>
/// Absolute, requires that coordinates X1,Y1,X2,Y2 are data-values.
/// </summary>
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.AbsoluteKey)]
Absolute,
/// <summary>
/// Relative, requires that coordinates X1,Y1,X2,Y2 are double values between 0.0 and 1.0.
/// </summary>
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.RelativeKey)]
Relative,
/// <summary>
/// RelativeX, requires that coordinates X1,X2 are double values between 0.0 and 1.0, whereas Y1,Y2 are data-values.
/// </summary>
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.RelativeXKey)]
RelativeX,
/// <summary>
/// RelativeY, requires that coordinates Y1,Y2 are double values between 0.0 and 1.0, whereas X1,X2 are data-values.
/// </summary>
[Display(ResourceType = typeof(LocalizedStrings), Name = LocalizedStrings.RelativeYKey)]
RelativeY
}