Net worth and its chart
Net Worth is a period report: one column per period, with accounts rolled up and clamped to the chosen depth. It draws a chart above its table, and every number in the chart is also in the table. It has no Total column, because its columns are balances on a date and adding them up means nothing.
For the statement of cash flows, see Cash flow.
Net worth controls
Net Worth has End, Interval (Monthly, Quarterly or Yearly; no Total), Periods (up to 120) and Account depth. It shows that many periods, ending with the one that holds the End date, and defaults to five yearly columns. There is no Total column.
The chart
The chart sits in a collapsible panel that is open by default. Ledgeline remembers whether it is open (see Settings files).
How the chart matches the table
The chart is built from the same displayed rows as the table below it, so the two always agree:
- The accounts are the table’s accounts. Each displayed row with no displayed child is a segment. A parent’s figure in the table is the sum of the segments under it. When a parent has postings of its own, so that its figure differs from the sum of its children’s, the difference is one more segment with the parent’s name. Every figure in the table is therefore a segment, or a sum of segments.
- The labels are the table’s labels. A segment is named with the text its row shows in the table:
checkingunderbank, orbroker:taxablefor a chain the table collapses into one row. Only when two segments would read the same (acashunder two parents) do both use the full account name. - The net line is the table’s Net row, bucket for bucket.
- Nothing is folded into “(other)”. Colours go to the biggest accounts first, ranked by the largest amount each reaches in any bucket, so the largest accounts get distinct colours. Every colour the theme defines (fourteen in the default theme) is used before any account is drawn in the muted grey, and a grey account is still its own segment with its own legend entry and tooltip line, rather than reusing a colour and making two accounts look alike. The legend stays in table order, and an account keeps its colour in every bucket.
- One currency is charted. Amounts in other currencies cannot share the same axis, so the note under the chart names them (“Charted in $ only; EUR not shown”), and an account that holds only those currencies has no segment. The table still shows them. Net worth is valued into one commodity, so this only happens with holdings that have no price.
- An account whose sign changes is drawn as two segments, one per sign, that share its colour and a single legend entry, so everything above zero is a positive amount.
- Hovering shows the values under the pointer. Directly over a segment, the tooltip shows that one account and its value for the period, then the net. Anywhere else in the period (beside a bar, above or below the stack), it lists every account in that period in the order the column is drawn, top to bottom, so the list matches the stack beside it rather than the legend.
What Net Worth measures
Net Worth shows net worth at the end of each bucket, valued at market prices in one base commodity (the valueIn commodity, else the journal’s base). Membership follows each account’s effective declared type, and never its name: an account is in net worth when its type is Asset (Cash included) or Liability. See balance-sheet.md for how types are resolved when a journal declares none.
The chart
Each bucket is one stacked column. Asset accounts stack above zero, liability accounts below it. The net worth is a dashed line across the columns, with a dot and its value at each bucket when there are six or fewer. With more buckets, only the last point is labelled, because labels on every point would overlap at phone width.
- Which side an account goes on comes from the engine, not from the sign. Each net-worth row has a
kind(asset,liabilityormixed), which the engine sets from the effective type. The legend lists the asset side and then the liability side, each in table order. Within a column, a segment is still drawn on the side its value falls. An overdrawn checking account is an asset-coloured segment below zero, and a card carrying a refund is a liability-coloured segment above it. The tooltip and the table show the account name either way. Amixedrow is one where declared types nest a liability under an asset parent and the depth clamp folds them together. It is placed by the sign of its total.
Empty charts
If the window has no data, the chart says so instead of drawing an empty plot. If the window has a single bucket, the chart asks you to widen the range, because one column is not a trend and the table already shows the number.
Export
The Export .xlsx button writes the table as shown, at the current depth.
The workbook has a column per period and no Total. The title line names the periods and the depth, and the file is net-worth-<end>.xlsx.