-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use proper name of column in tooltip in charts #13011
Use proper name of column in tooltip in charts #13011
Conversation
cdae74e
to
92260ef
Compare
@miq-bot add_label wip |
99a720c
to
e3f3fad
Compare
@PanSpagetka please review |
6255390
to
379d5c4
Compare
# determine name column from headers for x-axis in chart | ||
def chart_header_column | ||
if graph[:column].blank? | ||
_log.error("Column for x-axis of chart have to be defined in report") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Message text should be The column for the chart's x-axis must be defined in the report
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thanks @dclarizio
- determine name of column (Header column) from chart column. Name is taken from MiqReport#headers by index. This index is determined from MiqReport#col_order
379d5c4
to
f002856
Compare
Checked commits lpichler/manageiq@99cdbaa~...f002856 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
@lpichler is there a BZ for this? |
@simaishi No. I found it by myself. |
…n_charts Use proper name of column in tooltip in charts (cherry picked from commit d6b146f) https://bugzilla.redhat.com/show_bug.cgi?id=1412738
Euwe backport details:
|
there was first one taken before it should be taken from Data Column:
before
after
@miq-bot add_label bug, ui, euwe/yes
@miq-bot assign @mzazrivec
please review @PanSpagetka