Skip to content

Latest commit

 

History

History
256 lines (190 loc) · 7.59 KB

datachart-configuring-itemlegend.adoc

File metadata and controls

256 lines (190 loc) · 7.59 KB

Configuring Item Legend

This topic provides information on how to configure pick:[wpf,win-universal=" ItemLegend"] pick:[win-forms=" UltraItemLegend"] pick:[xamarin=" XFItemLegend"] pick:[android=" ItemLegendView"] control and explains, with code examples, how to use it with Chart Series in the {DataChartName}™ control.

Overview

The topic is organized as follows:

Introduction

The Item Legend control identify data items bound to BubbleSeries with thier visual representation in chart plot area. Legend’s visuals consist of a list of legend items that have legend badge representing a color of series as well as legend text that matches LabelMemberPath property of data item. pick:[wpf,win-universal="Also, legend has a legend title that is displayed above legend items."]

Properties

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.

Requirements

The Item Legend control supports only BubbleSeries and it displays legend item for each data member bound to the series. The following table lists all requirements for this legend.

Code Example

This code snippet demonstrates how to bind ItemLegend to BubbleSeries with LabelMemberPath mapped to a Label data column. (Figure 3)

xamDataChart Legends 04

Figure 1: Item Legend bound to BubbleSeries with LabelMemberPath mapped to a Label data column

Related Topics