MtxGridSeries.SeriesToLegend Method

void SeriesToLegend(MtxGridSeries series, ColorScaleLegend direction)

Configure the series as color scale legend for the series.

#NameDescription
1seriesSeries to be used as reference for calculating color scale.
2directionThe direction of color scale (vertical or horizontal).

Result: stored in self (calling object)