void SeriesToLegend(MtxGridSeries series, ColorScaleLegend direction)
Configure the series as color scale legend for the series.
| # | Name | Description |
|---|---|---|
| 1 | series | Series to be used as reference for calculating color scale. |
| 2 | direction | The direction of color scale (vertical or horizontal). |
Result: stored in self (calling object)