Difference between revisions of "XL3SparkPie"
(Created page with 'Creates a pie chart that is rendered in an Excel cell. ==Syntax== {{Code|XL3SparkBar( Data, Output, InRows, [Colour1], [Colour2], [Colour3], [Colour4], [Colour5], [Colour6], [Co…') |
(Bar->Pie in Syntax) |
||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
− | {{Code| | + | {{Code|XL3SparkPie( Data, Output, InRows, [Colour1], [Colour2], [Colour3], [Colour4], [Colour5], [Colour6], [Colour7], [Colour8], [Label] )}} |
==Parameters== | ==Parameters== |
Revision as of 10:59, 22 November 2010
Creates a pie chart that is rendered in an Excel cell.
Syntax
XL3SparkPie( Data, Output, InRows, [Colour1], [Colour2], [Colour3], [Colour4], [Colour5], [Colour6], [Colour7], [Colour8], [Label] )
Parameters
Parameter | Description | ||||
---|---|---|---|---|---|
Data | The data to chart. This can be a range or a formula | ||||
Output | The target range in which to render the chart(s) | ||||
InRows | Specifies whether the input data are in rows or columns:
| ||||
Colour1 | The colour for the first sector, or -1 or an empty parameter for default | ||||
Colour2 | The colour for the second sector, or -1 or an empty parameter for default | ||||
Colour3 | The colour for the third sector, or -1 or an empty parameter for default | ||||
Colour4 | The colour for the fourth sector, or -1 or an empty parameter for default | ||||
Colour5 | The colour for the fifth sector, or -1 or an empty parameter for default | ||||
Colour6 | The colour for the sixth sector, or -1 or an empty parameter for default | ||||
Colour7 | The colour for the seventh sector, or -1 or an empty parameter for default | ||||
Colour8 | The colour for the eighth sector, or -1 or an empty parameter for default | ||||
Label | Specifies the text to use in the formula cell |