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
[WIP] numeric report charts #3528
Conversation
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
7f9d747
to
d2c59cf
Compare
8f9e290
to
5f9fc3b
Compare
Status update . . . trying to get some new field value based charts working, but will need to discuss with @martinpovolny to move forward. Marking as WIP until then. |
Handle situation when other==true and there are less than requested values for the chart.
9e48c4f
to
c296561
Compare
@martinpovolny Tested my simple Number of CPUs per provider report chart and found the following: As noted prior, changing the Chart mode pull down to Counts, should not show the Data column pull down Data column pull down should only show the columns available as Summary Calculation Rows Running the report results in the following chart showing |
@martinpovolny opened related issue #3738 which MAY be causing the charts to not have the proper data. |
@dclarizio : I hacked in the simple usecase to make sure I understand what you want for that one. on "As noted prior, changing the Chart mode pull down to Counts, should not show the Data column pull down" -- sure, will do that just want to make sure I have the general idea prior to playing with these small things... on "Data column pull down should only show the columns available as Summary Calculation Rows" ok, the fields will be limited to the ones that are used for sorting in the Summary page. But: on the aggregations: see If you try the more complex usecase (see the examples in the But in the simple usecase you would have just one number as total or average, and it makes no sense to me to chart just one value. I'll modify the form to match your feedback regarding selection of fieds and hiding of the row column and get back to you. |
@martinpovolny ping me to discuss the summary based use case when you get a chance. |
<gemfile_checker />Gemfile changes detected in commits martinpovolny@3e3acdf .. martinpovolny@76ac795. /cc @JPrause @simaishi |
76ac795
to
d211fa3
Compare
Checked commits martinpovolny@3e3acdf .. martinpovolny@d211fa3 with rubocop 0.32.1 and haml-lint 0.13.0 app/controllers/report_controller/reports/editor.rb
lib/report_formatter/chart_common.rb
lib/report_formatter/jqplot.rb
spec/lib/report_formater/jqplot_formater_spec.rb
|
Work towards numeric report charts...
https://bugzilla.redhat.com/show_bug.cgi?id=1213294