Skip to content

Fix chart axis scaling for empty datasets #1207

Description

@RUKAYAT-CODER

Background

Empty datasets produce NaN axis bounds and a broken chart. Guard and provide sensible defaults.

Files to modify (2-3)

src/utils/chartUtils.ts
src/hooks/useDataVisualization.tsx

Acceptance Criteria

Implemented across the listed files

Unit/integration tests added or updated and passing

No regression; follows project coding standards

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions