module Risu::Templates::GraphTemplateHelper

Public Instance Methods

other_os_graph_page() click to toggle source
# File lib/risu/base/graph_template_helper.rb, line 26
def other_os_graph_page
        if Host.other_os_graph_has_data?
                new_page
                @output.image Host.other_os_graph, :width => 500, :height => 375, :position => :center
                text Host.other_os_graph_text
        end
end
risks_by_service_graph_page() click to toggle source
# File lib/risu/base/graph_template_helper.rb, line 51
def risks_by_service_graph_page
        new_page
        @output.image Item.risks_by_service_graph(10), :width => 500, :height => 375, :position => :center
        text Item.risks_by_service_graph_text
end
risks_by_severity_graph_page() click to toggle source
# File lib/risu/base/graph_template_helper.rb, line 58
def risks_by_severity_graph_page
        new_page
        @output.image Item.risks_by_severity_graph, :width => 500, :height => 375, :position => :center
        text Item.risks_by_severity_graph_text, :inline_format => true
end
root_cause_graph_page() click to toggle source
# File lib/risu/base/graph_template_helper.rb, line 44
def root_cause_graph_page
        new_page
        @output.image Plugin.root_cause_graph, :width => 500, :height => 375, :position => :center
        text Plugin.root_cause_graph_text
end
windows_os_graph_page() click to toggle source
# File lib/risu/base/graph_template_helper.rb, line 35
def windows_os_graph_page
        if Host.windows_os_graph_has_data?
                new_page
                @output.image Host.windows_os_graph, :width => 500, :height => 375, :position => :center
                text Host.windows_os_graph_text
        end
end