Click or drag to resize
NChartScaleLegend Class
The NChartScaleLegend class provides methods to display the legend associated with the NChartBrushScale instance.
Inheritance Hierarchy
SystemObject
  NChart3D_UWPNChartScaleLegend

Namespace:  NChart3D_UWP
Assembly:  NChart3D_UWP (in NChart3D_UWP.dll)
Syntax
public sealed class NChartScaleLegend : IClosable, 
	INChartObject, INChartPlaced, INChartLegend

The NChartScaleLegend type exposes the following members.

Constructors
  NameDescription
Public methodNChartScaleLegend
Create scale legend with given brush scale.
Top
Properties
  NameDescription
Public propertyBackground
Brush filling the background of the text container.
Public propertyBlockAlignment
Alignment of the legend. Please note that if alignment is NChartLegendBlockAlignment.Left NChartLegendBlockAlignment.Right NChartLegendBlockAlignment.Bottom or NChartLegendBlockAlignment.Top the border radius is ignored (assumed to be 0).
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 propertyColumnCount
Number of columns in legend. If 0 or less than 0 entries are aligned in lines with no columns. The default value is 0.
Public propertyContentAlignment
Alignment of legend's content in legend's area. The default value is NChartLegendContentAlignment.Center.
Public propertyDelegate
Delegate of the legend.
Public propertyFont
Font of the legend's text.
Public propertyFooter
Label that is placed on the bottom of the legend. It's null by default.
Public propertyFrame
Frame of the legend in the view's coordinate system. The frame is a rect fully enclosing the entire legend. This rect is calculated during
UpdateData
call when the chat lays out its elements. This rect may change interactively when the legend is dragged by its handler.
Public propertyHandlerNormalColor
Get color of legend's handler normal state.
Public propertyHandlerPushedColor
Get color of legend's handler pushed state.
Public propertyHeader
Label that is placed on the top of the legend. It's null by default.
Public propertyIsDescending
Flag determining if the values in the scale legend are sorted descending (the largest is on the top, true) or not (the largest is on the bottom, false). The default value is true.
Public propertyLineBreakMode
Line break mode of the legend's text.
Public propertyMargin
Margin of the text container in pixels (spacing from the bounds of the enclosing area).
Public propertyMaxSize
Maximal size of legend in pixels. The default value is 200. If the legend's block alignment is so that the legend grows vertically it is interpreted as maximal height if the legend grows horizontally -- as maximal width. For details see INChartLegend.MaxSize
Public propertyMinimalEntriesPadding
Minimal padding between entries in pixels. The default value is 10.
Public propertyOpacity
Opacity of the text container. Value should be in 0..1. The default value is 1.
Public propertyOrientation
Orientation of the legend.
Public propertyOrigin
Origin of the legend. It's a starting point that has effect only with orientation set to one of "free"-kinds.
Public propertyPadding
Padding of the text container in pixels (spacing to sub-areas).
Public propertyScale
Brush scale associated with the scale legend. The default value is null.
Public propertyScaleDelegate
Delegate of the scale legend.
Public propertyScrollBarColor
Color of the legend's scrollbar.
Public propertyScrollerPadding
Padding inside the scroller.
Public propertyShouldAutodetectColumnCount
Flag determining if ColumnCount should be detected automatically to ensure good-looking legend (true) or not (false). If this property is true, the value set to ColumnCount takes no effect. The default value is false.
Public propertyShowLowerBoundary
Flag determining if the lower boundary of the scale should be shown in the scale legend (true) or not (false). The default value is true.
Public propertyShowMiddleValues
Flag determining if the middle values of the scale should be shown in the scale legend (true) or not (false). The default value is true.
Public propertyShowUpperBoundary
Flag determining if the upper boundary of the scale should be shown in the scale legend (true) or not (false). The default value is true.
Public propertyTextColor
Color of the legend's text.
Public propertyVisible
Flag that determines if the object is visible (true) or not (false). The default value is true.
Top
Methods
  NameDescription
Public methodClose
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSetHandlerColor
Set color for legend's handler.
Public methodSetHandlerImage
Set image for legend's handler.
Public methodToString (Inherited from Object.)
Top
See Also