Click or drag to resize
NChartCallout Properties

The NChartCallout type exposes the following members.

Properties
  NameDescription
Public propertyAlwaysInPlotArea
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.
Public propertyBackground
Brush filling the background of the text container.
Public propertyBorderColor
Color of the border that is drawn around the text container.
Public propertyBorderRadius
Corner rounding radius (in pixels) of the border that is drawn around the text container.
Public propertyBorderThickness
Thickness of the border (in pixels) that is drawn around the text container.
Public propertyChart
Chart the object belongs to. This property is assigned automatically whenever the object is assigned to the chart.
Public propertyDefaultArrowOrientation
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.
Public propertyDistance
Distance from the chart's point to the callout's tooltip in the autodetected direction (in pixels). If this property is 0,
margin
is used to control this distance (and therefore you control the direction yourself). Otherwise, the direction is detected automatically. In case of pie it's median of the corresponding sector. In case of all other charts it's north-east direction. The default value is 0.
Public propertyFont
Font of the label's text.
Public propertyInternalLabel
Return internal class.
Public propertyLineColor
Color of the callout line. The default value is black color.
Public propertyLineThickness
Thickness of the callout line. The default value is 1.
Public propertyLineToLabelConnectionPos
Position where the line connects to the label. The default value is NChartCalloutLineToLabelConnectionPos.Autodetect.
Public propertyLineType
Type of callout line. The default value is NChartCalloutLineType.Straight.
Public propertyLocateByOrigin
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.
Public propertyMargin
Margin of the text container in pixels (spacing from the bounds of the enclosing area).
Public propertyMaxWidth
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.
Public propertyOpacity
Opacity of the text container. Value should be in 0..1. The default value is 1.
Public propertyOrigin
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.
Public propertyPadding
Padding of the text container in pixels (spacing to sub-areas).
Public propertyText
Text to display in the label.
Public propertyTextAlignment
Alignment of the label's text.
Public propertyTextColor
Color of the label's text.
Public propertyTextWrapping
Wrapping mode of the label's text.
Public propertyVerticalAlignment
Vertical alignment of the tooltip. It is used if tooltip has no arrow presented, otherwise it is ignored. See NChartTooltipVerticalAlignment.
Public propertyVisible
Flag that determines if the object is visible (true) or not (false). The default value is true.
Top
See Also