Ignore:
Timestamp:
11/20/15 13:29:17 (9 years ago)
Author:
dlcheng
Message:

CHG:Removing need to specifying canvasids in test101 plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_manager.js

    r19773 r19775  
    1515
    1616        //standard plot: initialize open Gl for each canvas:
    17         $('<canvas id="'+options.getfieldvalue('canvasid')+'" width="480" height="480"></canvas>)').appendTo('body');
     17        $('<canvas id="'+options.getfieldvalue('canvasid')+'" width="'+options.getfieldvalue('canvassize',480)+'" height="'+options.getfieldvalue('canvassize',480)+'"></canvas>)').appendTo('body');
    1818        var canvas=document.getElementById(options.getfieldvalue('canvasid'));
    1919
Note: See TracChangeset for help on using the changeset viewer.