Creates a Comparison 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 Comparison Chart Designer
Syntax
XL3SparkCompare( Value1, Output, InRows, ChartType, Value2, Width, ColorVal1, ColorVal2, ColorNegBar, ColorNegPop, [Minimum], [Maximum], [AxisType], [Units], [TickMarks], [TickMarkFormat], [Label])
Parameters
| Parameter | Description |
| Value1 | 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:
|
| ChartType |
|
| Value2 | The range of data to use for comparison. |
| Width | The width of the chart. |
| ColorVal1 | The color for a positive value, or an empty parameter for default. |
| ColorVal2 | The color for an increase in value, or an empty parameter for default. |
| ColorNegBar | The color for a negative value or an empty parameter for default. |
| ColorNegPop | The color for a decrease in value, or an empty parameter for default. |
| Minimum | A value to use for the minimum horizontal axis value, or an empty parameter to use an automatic value. |
| Maximum | A value to use for the maximum horizontal axis value, or an empty parameter to use an automatic value. |
| AxisType | The type of axis to render in the formula cell:
|
| Units | The frequency of the major, labeled tickmarks. |
| TickMarks | The number of additional labelless tickmarks per major tickmark. |
| TickMarkFormat | The format string for the axis tickmark labels. |
| Label | Specifies the text to use in the formula cell, if no axis is used. |