NChartCallout Properties |
The NChartCallout type exposes the following members.
Name | Description | |
---|---|---|
AlwaysInPlotArea |
Flag determining if the tooltip should always be inside of the chart's plot area. If true, the tooltip may be shifted
to fit in the plot area when it's pivot is near the border of the chart's plot area. If false, it is never shifted
and can overlap the axis when it's pivot is near the border of the chart's plot area. The default value is true.
| |
Background |
Brush filling the background of the text container.
| |
BorderColor |
Color of the border that is drawn around the text container.
| |
BorderRadius |
Corner rounding radius (in pixels) of the border that is drawn around the text container.
| |
BorderThickness |
Thickness of the border (in pixels) that is drawn around the text container.
| |
Chart |
Chart the object belongs to.
This property is assigned automatically whenever the object is assigned to the chart.
| |
DefaultArrowOrientation |
Default orientation of the tooltip's arrow. The default value is NChartTooltipArrowOrientation.Bottom.
The default arrow orientation is the orientation tooltip uses if it's far from plot area borders. If it's close to border and AlwaysInPlotArea is set to true, it's arrow orientation is automatically changed to keep tooltip inside the plot area. | |
Distance |
Distance from the chart's point to the callout's tooltip in the autodetected direction (in pixels). If this property
is 0, margin | |
Font |
Font of the label's text.
| |
InternalLabel |
Return internal class.
| |
LineColor |
Color of the callout line. The default value is black color.
| |
LineThickness |
Thickness of the callout line. The default value is 1.
| |
LineToLabelConnectionPos |
Position where the line connects to the label. The default value is NChartCalloutLineToLabelConnectionPos.Autodetect.
| |
LineType |
Type of callout line. The default value is NChartCalloutLineType.Straight.
| |
LocateByOrigin |
Flag determining if callout should be located in the position specified by the Origin property (true),
or according to Distance and Margin properties(false).The default value is NO.
If this property is set to YES, Origin has effect, but Margin and Distance has no effect,
and vice versa.
| |
Margin |
Margin of the text container in pixels (spacing from the bounds of the enclosing area).
| |
MaxWidth |
Maximal width of the label's text in pixels. If the text is bigger than the given size lines will be broken
according to the wrapping mode.
| |
Opacity |
Opacity of the text container. Value should be in 0..1. The default value is 1.
| |
Origin |
Position of the top left corner of callout in pixels based on view's coordinate system, but with zero point shifted
to the top left corner of chart plot area. The default value is {0; 0}.
This property has effect if LocateByOrigin is set to YES only.
| |
Padding |
Padding of the text container in pixels (spacing to sub-areas).
| |
Text |
Text to display in the label.
| |
TextAlignment |
Alignment of the label's text.
| |
TextColor |
Color of the label's text.
| |
TextWrapping |
Wrapping mode of the label's text.
| |
VerticalAlignment |
Vertical alignment of the tooltip. It is used if tooltip has no arrow presented, otherwise it is ignored.
See NChartTooltipVerticalAlignment.
| |
Visible |
Flag that determines if the object is visible (true) or not (false). The default value is true.
|