Skip to content

Namitha : Fix resource usage chart grid lines, Y-axis scale, and bar proportions#5183

Open
Namitha7070 wants to merge 1 commit intodevelopmentfrom
fix/resource-usage-chart-grid-scale
Open

Namitha : Fix resource usage chart grid lines, Y-axis scale, and bar proportions#5183
Namitha7070 wants to merge 1 commit intodevelopmentfrom
fix/resource-usage-chart-grid-scale

Conversation

@Namitha7070
Copy link
Copy Markdown
Contributor

Description

image Screenshot 2026-04-22 131951

Related PRS (if any):

Main changes explained:

  1. Chart height — Fixed so it no longer stretches to fill the whole screen
  2. Bar width — Bars were too thin; made them wider to match the design
  3. Y-axis — Was showing odd numbers; now shows clean even intervals
  4. Grid lines — Changed from dashed to solid
  5. Stacked bars — Fixed so only the top bar has rounded corners
  6. Chart margins — Removed extra unused spacing at the bottom

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to dashboard→ /communityportal/reports/resourceusage
    (https://dev.highestgood.com/communityportal/reports/resourceusage)
  6. verify the bar chart visually matches the Figma design — bars are wide, grid lines are solid, and Y-axis shows clean even numbers.
  7. verify the chart displays correctly at different screen sizes without stretching or compressing.

Screenshots or videos of changes:

Week.37.mp4
image

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit bbfc820
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69e93f220151070007303aeb
😎 Deploy Preview https://deploy-preview-5183--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

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.

1 participant