             @container.state.view = view
             @$(".link_to_#{@view}_view").addClass 'active'
             @$(".link_to_#{@view}_view").parent().addClass 'active'
-            @render_result() # ATN: 0-argument render_result?
+            @new_view()
 
         set_scrollbar: =>
             if @view is 'table'

            @current_query = options.current_query
            @raw_query = options.raw_query
            @driver_handler = options.driver_handler
            if options.events?
                for own event, handler of options.events
                    @on event, handler

            return num_shard_accesses

        render: =>
            if not @query_result.profile?
                @$el.html @template {}
            else
                profile = @query_result.profile
                @$el.html @template
                    profile:
                        clipboard_text: JSON.stringify profile, null, 2
                        tree: @json_to_tree profile
                        total_duration: 12345 # ATN: @metadata.execution_time_pretty
                        server_duration: Utils.prettify_duration @compute_total_duration profile
                        num_shard_accesses: @compute_num_shard_accesses profile

                @clip.glue(@$('button.copy_profile'))
                @delegateEvents()
