• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

guptarohit / asciigraph / 27901120793
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: release-please--branches--master
DEFAULT BRANCH: master
Ran 21 Jun 2026 10:14AM UTC
Jobs 1
Files 5
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2026 10:10AM UTC coverage: 93.099% (+0.4%) from 92.659%
27901120793

Pull #85

github

MihirMohapatra
feat(color): add ColorAbove and ColorBelow threshold options

Adds two new plot options for highlighting points that cross a value
threshold, independent of which series they belong to:

  - ColorAbove(threshold, color): colors points >= threshold
  - ColorBelow(threshold, color): colors points < threshold

This is useful for flagging alerts on a graph (e.g. a CPU usage spike
or a disk space warning) without recoloring the whole series. Points
within range keep the series' own color (SeriesColors) or Default.
ColorAbove takes precedence on overlapping ranges, and an active
SeriesColorGradient takes precedence over both, consistent with how
SeriesColorGradient already overrides SeriesColors.

Includes a runnable example (examples/threshold), README docs, and
unit tests covering both options individually, combined, the overlap
precedence rule, and gradient precedence.

Closes #38
Pull Request #85: feat(color): add ColorAbove and ColorBelow threshold options

16 of 16 new or added lines in 2 files covered. (100.0%)

20 existing lines in 1 file now uncovered.

688 of 739 relevant lines covered (93.1%)

1398.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
20
93.51
0.11% asciigraph.go
Jobs
ID Job ID Ran Files Coverage
1 Go- - 27901120793.1 21 Jun 2026 10:14AM UTC 5
93.1
GitHub Action Run
Source Files on build 27901120793
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #85
  • PR Base - master (#27897859507)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc