AxisMarkerAnnotation
The AxisMarkerAnnotation provides an axis label which is data-bound to its Y-value. Used to place a marker on the Y-Axis it can give feedback about the latest value of a series, or important points in a series.
Herda de: AnchorPointAnnotation
Construtores
AxisMarkerAnnotation()
Initializes a new instance of the AxisMarkerAnnotation class.
Propriedades
AxisInfo : AxisInfo
Gets AxisInfo for current MarkerValue Used internally as DataContext for PointerTemplate and LabelTemplate
FormattedValue : string
Gets or sets the Formatted Value of the Axis Marker. By default this is data-bound to Y1
LabelTemplate : DataTemplate
Gets or sets label template of AxisMarkerAnnotation
MarkerPointWidth : double
Gets or sets the Marker tip width, this is the width of the point of the marker in pixels. Default value is 8. Change this property if the marker looks squashed!
PointerTemplate : DataTemplate
Gets or sets pointer template of AxisMarkerAnnotation
Métodos
GetSelectedCursor() : Cursor
Gets the Cursor to use for the annotation when selected
IsPointWithinBounds(Point) : bool
Returns true if the Point is within the bounds of the current IHitTestable element
- point
- The point to test
Retorna: true if the Point is within the bounds
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
OnAxisAlignmentChanged(IAxis, AxisAlignment)
Virtual method to override if you wish to be notified that the AxisAlignment has changed
- axis
- oldAlignment
ToCoordinate(IComparable, double, ICoordinateCalculator<double>, XyDirection) : double
Converts a Data-Value to Pixel Coordinate
- dataValue
- The Data-Value to convert
- canvasMeasurement
- The size of the canvas in the X or Y direction
- coordCalc
- The current ICoordinateCalculatorCoordinate Calculator
- direction
- The X or Y direction for the transformation
Update(ICoordinateCalculator<double>, ICoordinateCalculator<double>)
Updates the coordinate calculators and refreshes the annotation position on the parent UltrachartSurface
- xCoordinateCalculator
- The XAxis ICoordinateCalculator
- yCoordinateCalculator
- The YAxis ICoordinateCalculator
Campos
AxisInfoProperty : DependencyProperty
Defines the AxisInfo DependencyProperty
FormattedValueProperty : DependencyProperty
Defines the FormattedValue DependencyProperty
LabelTemplateProperty : DependencyProperty
Defines the LabelTemplate DependencyProperty
MarkerPointWidthProperty : DependencyProperty
Defines the MarkerPointWidth DependencyProperty
PointerTemplateProperty : DependencyProperty
Defines the PointerTemplate DependencyProperty