Creates a pie chart that is rendered in an Excel cell.

Double-clicking the chart or selecting the Anaplan XL > Format In-Cell Chart... right-click menu item enables the editing of the chart format using the SparkPie Chart Designer.

XL3SparkPie( Data, Output, InRows, [Colour1], [Colour2], [Colour3], [Colour4], [Colour5], [Colour6], [Colour7], [Colour8], [Label] )

ParameterDescription
DataThe data to chart. This can be a range or a formula.
OutputThe target range in which to render the chart(s).
InRows

Specifies whether the input data are in rows or columns:

  • 0 – Data in rows
  • 1 – Data are in columns
Colour1The color for the first sector, or -1, or an empty parameter for default.
Colour2The color for the second sector, or -1, or an empty parameter for default.
Colour3The color for the third sector, or -1, or an empty parameter for default.
Colour4The color for the fourth sector, or -1, or an empty parameter for default.
Colour5The color for the fifth sector, or -1, or an empty parameter for default.
Colour6The color for the sixth sector, or -1, or an empty parameter for default.
Colour7The color for the seventh sector, or -1, or an empty parameter for default.
Colour8The color for the eighth sector, or -1, or an empty parameter for default.
LabelSpecifies the text to use in the formula cell.