This topic provides information on how to configure pick:[wpf,win-universal=" ScaleLegend"] pick:[win-forms=" UltraScaleLegend"] pick:[xamarin=" XFScaleLegend"] pick:[android=" ScaleLegendView"] control and explains, with code examples, how to use it with Chart Series in the {DataChartName}™ control.
The topic is organized as follows:
The Scale Legend is a special type of legend that shows how the colors in the Brushes collection of the ValueBrushScale or CustomPaletteBrushScale are distributed among bubbles of the BubbleSeries. It also displays the lowest and the highest values from a data column that is mapped to the FillMemberPath property of BubbleSeries. For more information on how to use brush scales, please refer to the Scatter Bubble Series topic. pick:[wpf,win-universal="Also, legend has a legend title that is displayed above legend items."]
The Item Legend control shares common properties with other type of chart legends. Refer to the Chart Legends topic for a complete list of these common properties.
The Scale Legend can be used with BubbleSeries only if the series meet the binding requirements listed in the following table.
Series Property | Property Type | Object to bind to |
---|---|---|
Determines which Scale Legend to bind to the series |
||
BrushScale |
ValueBrushScale or CustomPaletteBrushScale defining brush scale for bubbles |
|
string |
Specifies data column for interpolating brush of bubbles if the ValueBrushScale is bound to FillScale property |