Version

XamDoughnutChart Overview

Topic Overview

Purpose

This topic gives an overview of the XamDoughnutChart™ control and its main features.

In this topic

This topic contains the following sections:

Introduction

XamDoughnutChart summary

The XamDoughnutChart control is similar to the xamPieChart –proportionally illustrating the occurrences of a variable. The XamDoughnutChart can display multiple variables in concentric rings, and provides built-in support for labels, legend, selection and explosion.

Main Features

Main features summary chart

The following table summarizes the XamDoughnutChart control’s main features.

Feature Description

Multiple rings support

The XamDoughnutChart can display multiple rings at the same time with each of the rings capable of being bound to a different collection, or they can share a common data source.

MultiRing Doughnut Xamarin.png

Slice selection

The XamDoughnutChart exposes the API for setting the state of one or more slices to selected. Optionally, you may apply a single custom visual style to the selected slices.

Selection Doughnut Xamarin.png

Slice explosion

The XamDoughnutChart slices explode either programmatically or by user interaction.

Explosion Doughnut Xamarin.png

User Interactions and Usability

User interactions summary chart

The following table summarizes the XamDoughnutChart control’s user interaction capability.

The user can… Using… Details Configurable?

Select slices

Touch

The XamDoughnutChart exposes a SliceClick event, raised when the user taps on a slice. Enabling slice selection or slice explosion allows you to modify the slice’s selection and explosion state upon tap gesture.

Yes.png

Related Content

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains using a code example how to add the XamDoughnutChart™ control to a Xamarin.Forms application.

This topic explains how to configure selection and explosion for the slices of the XamDoughnutChart .

This topic provides links to the most notable members of the XamDoughnutChart class.