-
Notifications
You must be signed in to change notification settings - Fork 902
Charts: Let a line chart show a period with no data #52580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adamwoodnz
merged 16 commits into
trunk
from
charts-284-line-chart-cannot-render-a-bucket-with-no-data
Sep 22, 2026
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0a7fd7d
Charts: share one rule for a drawable reading
adamwoodnz f7c88ae
Charts: let a line chart bucket carry no reading
adamwoodnz 05a0684
Charts: say No data in a line tooltip for a bucket with no reading
adamwoodnz 5bd91d3
Charts: put the line's edge glyphs on its first and last real reading
adamwoodnz 788c3e8
Charts: keep a y axis for a line chart window with no readings
adamwoodnz 4c55eb0
Charts: document and demonstrate line chart buckets with no reading
adamwoodnz fe9c890
Charts: tidy the line chart's no-reading docs, comment and changelog
adamwoodnz 4bb85bf
Address review: give an empty log-scale axis a positive domain
adamwoodnz 37339fd
Address review: type the reading check and fix two wordings
adamwoodnz 472a8cd
Charts: show a real zero beside the no-data months in the line story
adamwoodnz c63f292
Charts: start a flat line's value axis at zero
adamwoodnz b533e65
Charts: report pointer events on a line chart bucket with no reading
adamwoodnz dbb9774
Address review: share one reading check for the line chart's domains
adamwoodnz 5000af5
Address review: let TooltipDatum carry a bucket with no reading
adamwoodnz 8ccdd38
Charts: let the no-data line story zoom from a bucket with no reading
adamwoodnz 25ca546
Address review: bisect the pointer lookup and skip unplaceable readings
adamwoodnz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/js-packages/charts/changelog/charts-284-flat-line-value-axis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: patch | ||
| Type: fixed | ||
|
|
||
| Line chart: Start the value axis at zero for a flat series, so its line is not drawn halfway up the plot. |
4 changes: 4 additions & 0 deletions
4
...ts/js-packages/charts/changelog/charts-284-line-chart-cannot-render-a-bucket-with-no-data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: patch | ||
| Type: fixed | ||
|
|
||
| Line chart: Break the line at a period with no data instead of refusing to render the chart. |
4 changes: 4 additions & 0 deletions
4
projects/js-packages/charts/changelog/charts-284-translate-line-chart-errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: patch | ||
| Type: fixed | ||
|
|
||
| Line chart: Translate the "No data available" and "Invalid data" messages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.