-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add support for Empty Graphs #83
Conversation
Without this set, we see incorrect rendering in Safari and Chrome.
@@ -42,16 +42,14 @@ function getStatValues(run, elem, key, run_data) { | |||
} | |||
|
|||
function getStatKeys(run, container_id, mb, keys, run_data) { | |||
var data = keys; | |||
data.forEach(function (value, index, arr) { | |||
for (let i = 0; i < all_run_keys.length; i++) { |
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.
where is all_run_keys coming from?
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.
It is found it src/html_files/utils.ts.
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.
is keys being used here? why not get all_run_keys as function parameter?
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.
Keys is used below. all_run_keys is global. We don't have to get as a function parameter.
When comparing runs, if a key is not present for a particular run the graphs get misaligned. Prevent this by using empty graphs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
emptytest.tar.gz