WPF Charting Documentation - SciChart WPF Charts SDK v5.x
X2 Property (BaseAnnotationViewModel)
Gets or sets the X2 Coordinate of the Annotation. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Absolute, this must be a data-value on the X-Axis such as a DateTime for SciChart.Charting.Visuals.Axes.DateTimeAxis, double for SciChart.Charting.Visuals.Axes.NumericAxis or integer index for SciChart.Charting.Visuals.Axes.CategoryDateTimeAxis. For SciChart.Charting.Visuals.Annotations.AnnotationCoordinateMode.Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.
public IComparable X2 {get; set;}

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


BaseAnnotationViewModel Class
BaseAnnotationViewModel Members



SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback