| InterpolateHSVColors | (icCube MDX extension) |
Returns the interpolated colors using the HSV color space.
Parameters
| Name | Type | Cardinality | Default value |
| position | value-expression | one | |
| color-palette | value-expression | zero-n |
Return
color
Description
The function returns a color interpolated from the color palette. Interpolation is done linearly in the HSV color space.
The position is a numeric between 0.0 and 1.0 used to define the position in the palette (0.0 first, 1.0 last).
InterpolateHSVColors( 0.25, RGB("#FFA78F") /* 0 position */, RGB("#FFD9CF") /* 1/3 */, RGB("#FFFFFF") /* 2/3 */,RGB("#BDC9E4") /* 1 */ ) will return a color interpolated between the first and second colors.
Remember a color is an integer in the MDX world.
See Also
Examples
Special Examples (errors, null, ...)
XMLA Properties
Find here the value of the XMLA properties when not specified otherwise.
icCube OLAP version: 3.0.3 03-Mar-2013 14:06:07 GMT