Manoj cost prediction line chart#3738
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sankargalla
left a comment
There was a problem hiding this comment.
I have reviewed the PR and tested the CostPredictionChart on the frontend by checking out the corresponding backend branch. The Project ID filter and category options correctly retrieve and display the relevant data. The chart renders as expected, with each category visually distinguished using different colors. As per the requirements, the X and Y axes are labeled appropriately, and hovering over the chart displays tooltips with cost values. The CostPredictionChart functions correctly in both dark and light modes.
Observations:
- The legend uses identical symbols for both actual and predicted costs, making it difficult to distinguish between them visually.
- When the graph transitions to show predicted data, the tooltip displays an empty label.
sirisudheeksha
left a comment
There was a problem hiding this comment.
Pulled frontend PR #3738 and ran it locally .Everything works as described


b4398cd
ShravyaKudlu
left a comment
There was a problem hiding this comment.
It looks good, but I have a few change requests:
- The graph is currently overflowing its container.
- Could you add a
divabove the Actual vs Planned section and useflex-direction: rowso they display side by side? - Alternatively:
- Set
overflow: scrollas shown, or - Increase the min height of the first graph to 300px
- Set
Please choose the option that best maintains the layout and usability



|
Made changes to only have card view component. Removed Fullpage view. |
|
chart is not loading and is throwing error in fetching. The bar graph is overflowing(#3738 ). |
|
@ShravyaKudlu The bar chart is not part of my pull request. But I will try to fix the overflow issue if possible. |
|
Thank you all, merging! |










Description
Related PRS (if any):
This frontend PR is related to the OneCommunityGlobal/HGNRest#1528 backend PR. Checkout the backend too
…
Main changes explained:
How to test:
Screenshots or videos of changes: