Frontmatter
| id | 8957 |
| title | Fix: Sparkline Pulse Artifact Persistence |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Feb 3, 2026, 11:24 AM |
| updatedAt | Feb 3, 2026, 11:32 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8957 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8930 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 3, 2026, 11:32 AM |
Fix: Sparkline Pulse Artifact Persistence
tobiu added parent issue #8930 on Feb 3, 2026, 11:24 AM

tobiu
Feb 3, 2026, 11:31 AM
Input from Gemini 3 Pro:
✦ I have applied a follow-up fix based on your feedback.
Root Cause: The "artifact" in the initial state was likely the static "End Point" marker, which was:
- Being clipped at the edge of the canvas (radius > 0 at
x=width), looking like a glitch.- Perceived as a "resting pulse" because it resembled the pulse core.
Changes:
- Padding: Added
paddingX = 4and increasedpaddingYto 6. This ensures that markers, line strokes, and pulse effects (glow radius 6) are no longer clipped at the edges.- Removal: Removed the static "End Point" marker entirely. Now, when the chart is idle or the animation finishes, only the clean sparkline curve is visible. This directly addresses the "it should get removed" requirement.
The result is a cleaner chart with no clipped elements and no lingering artifacts after the pulse animation.
tobiu assigned to @tobiu on Feb 3, 2026, 11:32 AM
tobiu closed this issue on Feb 3, 2026, 11:32 AM
The pulse animation in
Neo.canvas.Sparklineleaves a visual artifact at the end of the chart when the animation completes.Symptoms:
Expected Behavior:
Context:
Neo.canvas.Sparklinecomponent.renderLoopcleanup logic or the finaldrawcall seems to be ineffective in clearing the last frame.