         do_render(ctx, nonselected, @nonselection_glyph)
 
       dt = Date.now() - t0
-      logger.trace("#{@glyph.model.type} glyph (#{@glyph.model.id}): do_render calls finished in #{dt}ms")
+      logger.trace("#{@glyphView.model.type} glyph (#{@glyphView.model.id}): do_render calls finished in #{dt}ms")
 
       @have_new_data = false
       ctx.restore()

      super(options)

      # XXX: this will be slow (see later in this file), perhaps reuse @glyph.
      @glyph = @build_glyph(@mget("glyph"))

      selection_glyph = @mget("selection_glyph")
      if not selection_glyph?

      source = @mget('data_source')
      t0 = Date.now()

      @all_indices = @glyphView.set_data(source)

      @selection_glyph.set_data(source)
      @nonselection_glyph.set_data(source)

      dt = Date.now() - t0
      logger.debug("#{@glyphView.model.type} glyph (#{@glyphView.model.id}): set_data finished in #{dt}ms")

      @have_new_data = true

