Skip to content

feat(#176): Basic charting infrastructure & layout#179

Closed
jimmysway wants to merge 1 commit intonerc-project:mainfrom
jimmysway:issue-176-basic-charting
Closed

feat(#176): Basic charting infrastructure & layout#179
jimmysway wants to merge 1 commit intonerc-project:mainfrom
jimmysway:issue-176-basic-charting

Conversation

@jimmysway
Copy link

Implements the foundational charting capability for the allocation details page:

  • Add Chart.js library (chart.min.js)
  • Add chart configuration module with color palette and mock data
  • Add basic chart utilities for date label generation
  • Add basic allocation_detail.js with simple chart initialization
  • Add chart_variables.css for basic styling

Files:

  • patches/04_add_usage_chart.patch - Template modifications (basic chart)
  • src/static/chartjs/ - Chart.js library
  • src/static/css/chart_variables.css - Basic CSS variables
  • src/static/js/ - Chart logic (utils, config, allocation_detail)

This provides a working static chart with mock data as proof of concept.

Closes #176

Implements the foundational charting capability for the allocation details page:

- Add Chart.js library (chart.min.js)
- Add chart configuration module with color palette and mock data
- Add basic chart utilities for date label generation
- Add basic allocation_detail.js with simple chart initialization
- Add chart_variables.css for basic styling

Files:
- patches/04_add_usage_chart.patch - Template modifications (basic chart)
- src/static/chartjs/ - Chart.js library
- src/static/css/chart_variables.css - Basic CSS variables
- src/static/js/ - Chart logic (utils, config, allocation_detail)

This provides a working static chart with mock data as proof of concept.

Closes nerc-project#176
@jimmysway
Copy link
Author

Combined into one PR #180

@jimmysway jimmysway closed this Dec 4, 2025
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.

PI Dashboard Development - Structure & Layout - Charting Infrastructure & Basic Layout

1 participant