Skip to content

Conversation

@lovedeep92
Copy link
Collaborator

JIRA:
See ticket here - https://jira.rax.io/browse/MNRVA-409

Description:

  1. Always give one line of the graph the default line color value if none is supplied.
  2. Check if there are multiple color values and assign to multiple lines - if no multiple lines ignore.

Screenshots:

multiline_formatting.gif.zip

@lovedeep92 lovedeep92 requested review from FarajiA and pras7430 July 6, 2020 12:34
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.12.2)
ffi (1.13.1)
Copy link
Contributor

@pras7430 pras7430 Jul 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey, we have exclude the gemlock file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done !

connectedCallback() {
this.innerHTML = `<div style="height: 400px,width:400px" id="container"></div>`;
var container = document.querySelector(`#container`);
/*if (this.dataset.lineColor.indexOf(',') > -1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove it if it is not related to future work

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup not needed .. removed !

datapoints.forEach(e => {
arr.push([new Date(e.time).getTime(), e.value])
})
return {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey, we can make a separate function and then we can assign the color

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes.. Created function and add logic inside of that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its done !

@FarajiA FarajiA changed the title Multiple line 409 POC: Multiple line 409 May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants