A control that shows relative values in comparison to each other.

Description

Add a Pie chart control if you want to show relative data from a table that contains labels in the leftmost column and values in the second column from the left.

Key properties

Items – The source of data that appears in a control such as a gallery, a list, or a chart.

ShowLabels – Whether a pie chart shows the value that's associated with each of its wedges.

Additional properties

BorderColor – The color of a control's border.

BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.

BorderThickness – The thickness of a control's border.

Color – The color of text in a control.

DisplayMode – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).

DisabledBorderColor – The color of a control's border if the control's DisplayMode property is set to Disabled.

Explode – The distance between wedges in a pie chart.

Font – The name of the family of fonts in which text appears.

Height – The distance between a control's top and bottom edges.

HoverBorderColor – The color of a control's border when the user keeps the mouse pointer on that control.

ItemBorderColor – The color of the border around each wedge in a pie chart.

ItemBorderThickness – The thickness of the border around each wedge in a pie chart.

ItemColorSet – The color of each data point in a chart.

LabelPosition – The location of labels in a pie chart relative to its wedges.

OnSelect – How the app responds when the user taps or clicks a control.

PressedBorderColor – The color of a control's border when the user taps or clicks that control.

Size – The font size of the text that appears on a control.

Visible – Whether a control appears or is hidden.

Width – The distance between a control's left and right edges.

X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).

Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).

Related functions

Max( DataSource, ColumnName )

Example

  1. Add a Button control, and set its OnSelect property to this formula:
    Collect(Revenue2015, {Product:"Europa", Revenue:27000}, {Product:"Ganymede", Revenue:26300}, {Product:"Callisto", Revenue:29200})

    Don't know how to add and configure a control?

    Want more information about the Collect function or other functions?

  2. Press F5, click or tap the Button control, and then press Esc to return to the default workspace.

  3. Add a Pie chart control, and set its Items property to Revenue2015.

    The Pie chart control shows revenue data for each product in relation to the other products.