TMtxGridSeries.SeriesToLegend Method

procedure SeriesToLegend(Src: TMtxGridSeries; Direction: TColorScaleLegend);

Configure the series as color scale legend for the Src series.

Result: stored in self (calling object)

Remarks:

Configure the series as color scale legend for the Src series. The legend will be vertical, if the Direction cslVertical or horizontal if Direction is cslHorizontal.