Skip to content

Migrate chart generation from Globadge to QuickChart#3

Merged
bycEEE merged 2 commits into
Alaffia-Technology-Solutions:initial_community_fixesfrom
whywaita:use_quickchart
Jun 17, 2026
Merged

Migrate chart generation from Globadge to QuickChart#3
bycEEE merged 2 commits into
Alaffia-Technology-Solutions:initial_community_fixesfrom
whywaita:use_quickchart

Conversation

@bycEEE

@bycEEE bycEEE commented Jun 17, 2026

Copy link
Copy Markdown

Merge in changes from whywaita that was PR'd against the original repo. Description from the author below.


Fixes: #97

  • Replace Globadge API with QuickChart API for chart image generation
  • Globadge API is returning 403 errors, making charts unavailable

Changes

Chart API Migration

Modified Functions

Function Description
getLineGraph() Generates line charts for Network I/O and Disk I/O metrics
getStackedAreaGraph() Generates stacked area charts for CPU, Memory, and Disk Usage metrics

Technical Details

  • Uses Chart.js v2 configuration format supported by QuickChart
  • Time-series data with type: 'time' scale for X-axis
  • Stacked area charts implemented using type: 'line' with fill and stacked: true options
  • Theme support (light/dark) preserved via axisColor configuration
  • Short URL generation via /chart/create endpoint returns { success: true, url: "..." }

Tests

I tested in https://github.com/whywaita/keex/actions/runs/20159448564 .

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d1ca51aa-b54b-47c5-a669-9da2acbc8072

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@bycEEE bycEEE merged commit 3c52534 into Alaffia-Technology-Solutions:initial_community_fixes Jun 17, 2026
1 check passed
This was referenced Jun 17, 2026
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.

2 participants