Skip to main content

Subaccounts History Bar Chart

Shows the balances of an account's sub-accounts over time as a stacked bar chart, with optional total and average lines.

Example

Example Use Cases

  • See how expense sub-categories stack up across months
  • Track how asset sub-accounts contribute to a parent account over time
  • Compare weekly or quarterly sub-account activity with a frequency selector

Settings

  • Account - Chooses the parent account whose sub-account balances appear in the chart.
  • Use global commodity - When on, the chart uses the commodity set for the page. When off, you pick a commodity for this widget.
    • Commodity - The commodity used to express balances. Shown only when Use global commodity is off.
  • Include historical data - When on, shows historical balances by including postings from before the report start date. When off, shows only the change during the selected period.
  • Show frequency selector - Shows a control on the chart to choose how balances are grouped over time (week, month, quarter, or year).
  • Use global date - When on, the chart follows the date set for the page. When off, you can set a date for this widget.
    • Date - The date range used for the chart. Shown only when Use global date is off. When Show frequency selector is on, the grouping comes from the frequency control instead of the date setting.
  • Filter by description - Limits the chart to postings whose description matches the text you enter.
  • Filter by tags - Limits the chart to postings that match the selected tags.
  • Advanced expression - An optional hledger advanced expression for more precise control over which postings are included.
  • Pricing - Controls how amounts are converted when pricing is needed.
    • Price Evaluation Time - Chooses when market prices are applied for conversion.
    • Infer market prices - When on, missing prices may be inferred from other available price information.
  • Chart - Options that change how the bar chart looks and behaves.
    • Show total line - Draws a line for the combined total across periods.
    • Show average line - Draws a line for the average balance across periods.
    • Inverse Y axis - Flips the value axis so higher and lower values switch places on the chart.
    • Auto scale to fit - Adjusts the value axis so the bars fit the available space.
    • Color palette - Shifts which colors are used for the bars.
  • Legend - Options that control the chart legend.
    • Show legend - Shows a legend that labels the series in the chart.
    • Legend Orientation - Chooses whether the legend is laid out horizontally or vertically. Shown only when Show legend is on.
    • Legend Type - Chooses whether the legend is a fixed list or a scrollable list. Shown only when Show legend is on.