nl_tokens: @constructor
pl_tokens: function ( dygraph , element , elementContext , layout ) { this . dygraph_ = dygraph ; this . layout = layout ; this . element = element ; this . elementContext = elementContext ; this . height = dygraph . height_ ; this . width = dygraph . width_ ; // --- check whether everything is ok before we return if ( ! utils . isCanvasSupported ( this . <mask> ) ) { throw "Canvas is not supported." ; } // internal state this . area = layout . getPlotArea ( ) ; // Set up a clipping area for the canvas (and the interaction canvas). // This ensures that we don't overdraw. var ctx = this . dygraph_ . canvas_ctx_ ; ctx . beginPath ( ) ; ctx . rect ( this . area . x , this . area . y , this . area . w , this . area . h ) ; ctx . clip ( ) ; ctx = this . dygraph_ . hidden_ctx_ ; ctx . beginPath ( ) ; ctx . rect ( this . area . x , this . area . y , this . area . w , this . area . h ) ; ctx . clip ( ) ; }