Skip to content

GitHub Issue #1434 Add visual padding to automatically generated X and Y axis ranges in charts - #3166

Merged
cnathe merged 6 commits into
developfrom
fb_chartPadding1434
Aug 25, 2026
Merged

GitHub Issue #1434 Add visual padding to automatically generated X and Y axis ranges in charts#3166
cnathe merged 6 commits into
developfrom
fb_chartPadding1434

Conversation

@cnathe

@cnathe cnathe commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Rationale

https://github.com/LabKey/internal-issues/issues/1434

The charting code gets the min and max axis range values based on the data points when the scale is set to automatic. This means that the data points run right up to the edges of the chart. This PR updates that to add a bit of padding around the chart (i.e. to push out the min/max by 5%).

Related Pull Requests

Changes

  • Selenium test updates to expected chart numeric tick labels

cnathe added a commit to LabKey/platform that referenced this pull request Aug 25, 2026
…d Y axis ranges in charts (#7964)

## Rationale
LabKey/internal-issues#1434

The charting code gets the min and max axis range values based on the
data points when the scale is set to automatic. This means that the data
points run right up to the edges of the chart. This PR updates that to
add a bit of padding around the chart (i.e. to push out the min/max by
5%).

## Related Pull Requests
- #7964
- LabKey/testAutomation#3166

## Changes
- Charting update to add 5% padding on auto-computed domain bounds for
x/y axis
@cnathe
cnathe merged commit efba382 into develop Aug 25, 2026
7 checks passed
@cnathe
cnathe deleted the fb_chartPadding1434 branch August 25, 2026 18:39
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