-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Feature]: Heatmap & AreaGraph Legends #436
Conversation
@nxanil Is issue 1) which is displaying all available heatmapColor object fixed? I dont see that in the gifs added. Can you please clarify. |
@myTechPlayArea
|
@nxanil The Area Graph legend looks fine. But the legend for heatmap should appear in the same order as mentioned in the config file to avoid confusion. |
Changes have been done. Please have a look. |
@nxanil Looks good. |
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.
Looks good.
Graphs/AbstractGraph.js
Outdated
@@ -547,19 +547,29 @@ export default class AbstractGraph extends React.Component { | |||
return legend.circleSize * circleToPixel; | |||
} | |||
|
|||
renderLegend(data, legend, getColor, label, isVertical) { | |||
renderLegend(data, legend, getColor, label, isVertical, heatmapColor) { |
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.
heatmapColor = {}
pls fix other such code as well, null heatmapColor should not result in exception
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.
Changes have been made. Please check once.
@chaitanyahalbe can you pls merge and bring in to vsd-react-ui 0.0 and 20.10? |
@killanch @chaitanyahalbe
Fixed issue #434. Please review this PR.