Open this page in the API Guide

DataCubeCanvas.setActiveLayer Method

Sets the active layer.
 

Parameters

targetLayerVM