categorySpendChartComponent method

Widget categorySpendChartComponent({
  1. bool solo = true,
})

Render an interactive donut chart showing the user's expenses across different categories.

The chart displays up to 5 categories with annotations and icons. Users can tap on categories to see transaction breakdowns. Categories beyond the top 4 are grouped into an "Others" category.

solo determines whether this component should be rendered as a standalone view.

Implementation

Widget categorySpendChartComponent({
  bool solo = true,
}) =>
    getView(
      LuneViewType.categorySpendChart,
      solo: solo,
    );