Index: /issm/trunk-jpl/src/m/plot/applyoptions.js
===================================================================
--- /issm/trunk-jpl/src/m/plot/applyoptions.js	(revision 20356)
+++ /issm/trunk-jpl/src/m/plot/applyoptions.js	(revision 20357)
@@ -73,9 +73,8 @@
 					if (options.exist('colorbarcanvasid')&&!ccanvashtml.hasOwnProperty('init')){
 						//store actual colobar size
-						cwidth = ccanvas.width();
-						cheight = ccanvas.height();
+						cwidth = ccanvashtml.clientWidth;
+						cheight = ccanvashtml.clientHeight;
+						ccanvas.attr({width:cwidth+cheightoffset*4,height:cheight+cheightoffset*2}).css({width:cwidth+cheightoffset*4,height:cheight+cheightoffset*2});
 						//get html object instead of jqurey object to modify height/width to accomodate labels
-						ccanvashtml.width = ccanvas.width()+cheightoffset*6;
-						ccanvashtml.height = cheight+cheightoffset*2;
 						ccanvashtml.cwidth = cwidth;
 						ccanvashtml.cheight = cheight;
@@ -146,6 +145,6 @@
 					if (options.exist('colorbarcanvasid')&&!ccanvashtml.hasOwnProperty('init')){
 						//store actual colobar size
-						cwidth = ccanvas.width();
-						cheight = ccanvas.height();
+						cwidth = ccanvashtml.clientWidth;
+						cheight = ccanvashtml.clientHeight;
 						//get html object instead of jqurey object to modify height/width to accomodate labels
 						ccanvashtml.width = cwidth+cheightoffset*6;
