From ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 2 Jul 2018 22:51:03 +0530 Subject: add options block --- js/Sinks/CMATVIEW.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'js/Sinks/CMATVIEW.js') diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index faacf6a6..95a83038 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -26,6 +26,12 @@ function CMATVIEW() { return this.x; } CMATVIEW.prototype.get = function CMATVIEW() { + var options = { + colormap:["ColorMap",this.colormap], + cmin:["Minimum level range",this.cmin], + cmax:["Maximum level range",this.cmax], + } + return options; } CMATVIEW.prototype.set = function CMATVIEW() { this.colormap = parseFloat((arguments[0]["colormap"])) -- cgit