Skip to content

Commit

Permalink
No need to find tooltip column for charts where tooltip label not used.
Browse files Browse the repository at this point in the history
  • Loading branch information
yrudman committed May 7, 2018
1 parent 268add7 commit e76e3d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/report_formatter/chart_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def build_numeric_chart_simple
# Pie charts put categories in legend, else in axis labels
add_axis_category_text(categories)

add_series(mri.chart_header_column, series)
add_series(chart_is_2d? ? mri.chart_header_column : nil, series)
end

def build_numeric_chart_grouped
Expand Down Expand Up @@ -376,7 +376,7 @@ def build_numeric_chart_grouped
# Pie charts put categories in legend, else in axis labels
add_axis_category_text(categories)

add_series(mri.chart_header_column, series)
add_series(chart_is_2d? ? mri.chart_header_column : nil, series)
end

def build_numeric_chart_grouped_2dim
Expand Down Expand Up @@ -476,7 +476,7 @@ def build_reporting_chart_other

# Pie charts put categories in legend, else in axis labels
add_axis_category_text(categories)
add_series(mri.chart_header_column, series)
add_series(chart_is_2d? ? mri.chart_header_column : nil, series)
end

# C&U performance charts (Cluster, Host, VM based)
Expand Down

0 comments on commit e76e3d0

Please sign in to comment.