Skip to content
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

Line chart range is truncated #1485

Open
raboof opened this issue Feb 17, 2021 · 0 comments
Open

Line chart range is truncated #1485

raboof opened this issue Feb 17, 2021 · 0 comments
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. web The hledger-web tool.

Comments

@raboof
Copy link
Contributor

raboof commented Feb 17, 2021

When drawing the line chart for an account and selecting an explicit date range, the line graph is truncated: before the first and after the last transaction, only one day is shown.

It would be nicer to set the range of the chart to exactly the selected range (identified in #1471)

To reproduce:

  • make ghci-web, :main -f examples/sample.journal:
  • Click assets, select the two months enclosing the three central points.
  • In the query field you see the span I selected, eg date:2008/4/30-2008/6/29.
  • But the chart is shrunk to the points' span (6/1 to 6/3).
@raboof raboof added the A-WISH Some kind of improvement request, hare-brained proposal, or plea. label Feb 17, 2021
@simonmichael simonmichael added the web The hledger-web tool. label Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. web The hledger-web tool.
Projects
None yet
Development

No branches or pull requests

2 participants