AxisPanel
A panel providing a Bitmap and Labels Canvas for use on Axis within Ultrachart
Erbt von: Panel
Implementiert: IAxisPanel, INotifyPropertyChanged
Eigenschaften
AddLabels : Action<AxisCanvas>
Used internally. Specifies a method which is used to fill the panel with tick labels.
AxisAlignment : AxisAlignment
Gets or sets the axis alignment.
DrawLabels : bool
Gets or sets a value indicating whether this panel draws labels
DrawMajorTicks : bool
Gets or sets a value indicating whether this panel draws Major ticks
DrawMinorTicks : bool
Gets or sets a value indicating whether this panel draws Minor ticks
IsHorizontalAxis : bool
Gets a value indicating whether this pabel is horizontal axis.
IsLabelCullingEnabled : bool
Gets or sets a value indicating whether Label Culling is enabled (when labels overlap) on this AxisPanel instance
LabelToTickIndent : Thickness
Gets the label to tick indent.
MajorTickLineStyle : Style
Gets or sets the major tick line style.
MajorTickSize : double
Gets the size of a major tick.
MinorTickLineStyle : Style
Gets or sets the minor tick line style.
MinorTickSize : double
Gets the size of a minor tick.
Methoden
AddTickLabels(Action<AxisCanvas>)
Draws the tick labels.
ArrangeOverride(Size) : Size
Performs the arrange pass on AxisPanel.
ClearLabels()
Clears the AxisPanel
DrawTick(IRenderContext2D, IPen2D, float, float, double)
Draws a single tick on the axis, using the specified pen (TargetType IPen2D), XyDirection and integer coordinate.
- renderContext
- The canvas to draw on.
- tickPen
- The pen (TargetType IPen2D) to apply to the tick line
- coord
- The integer coordinate to draw at. If direction is XDirection, the coodinate is an X-coordinate, else it is a Y-coordinate
- offset
- tickSize
- The size of the tick
DrawTicks(IRenderContext2D, Style, double, float[], float)
Draws ticks on axis bitmap
- renderContext
- tickStyle
- tickSize
- tickCoords
- offset
GetRenderContextSize() : Size
Gets size of image for ticks drawing
MeasureOverride(Size) : Size
Performs the measure pass on AxisPanel.
MeasureTickSize(Style) : double
Measures the size required to draw tick marks on the axis
Ereignisse
PropertyChanged : PropertyChangedEventHandler
Occurs when a property value changes.
Felder
AxisAlignmentProperty : DependencyProperty
The axis alignment property
AxisLabelToTickIndentProperty : DependencyProperty
The AxisLabelToTickIndent property
DrawLabelsProperty : DependencyProperty
The draw labels property
DrawMajorTicksProperty : DependencyProperty
The draw major ticks property
DrawMinorTicksProperty : DependencyProperty
The draw minor ticks property
IsLabelCullingEnabledProperty : DependencyProperty
The IsLabelCullingEnabled DependencyProperty
MajorTickLineStyleProperty : DependencyProperty
The major tick line style property
MinorTickLineStyleProperty : DependencyProperty
The minor tick line style property