Skip to content

fix(chart): make xticks count tick positions - #1440

Open
lovasoa wants to merge 2 commits into
fix/numeric-chart-axisfrom
fix/xticks-count
Open

fix(chart): make xticks count tick positions#1440
lovasoa wants to merge 2 commits into
fix/numeric-chart-axisfrom
fix/xticks-count

Conversation

@lovasoa

@lovasoa lovasoa commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • translate numeric xticks values from requested tick positions to ApexCharts intervals
  • assert the numeric chart fixture renders exactly the requested number of x-axis labels
  • update the chart documentation and unreleased changelog entry

Tests

  • npm run format
  • npm test
  • SQLPAGE_FIXTURE_BASE=http://127.0.0.1:18081 SQLPAGE_BINARY=/home/ophir/dev/SQLPage/target/debug/sqlpage npx playwright test fixtures/chart/test.ts --project=fixtures --reporter=line

@lovasoa
lovasoa requested a review from 81reap September 10, 2026 08:37
@lovasoa
lovasoa added this pull request to stack #1441 September 10, 2026 08:45
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.

Bug in the display of the chart component (x axis is not correctly aligned) reopened

1 participant