AccountingNext/Schaad.Accounting.Services/Interfaces/IChartService.cs
Claudio Schaad 1dcccf89b1 Add booking-text charts to the transactions page
Adds two charts to the per-account transactions view: a stacked bar
chart of monthly totals and a pie chart of overall totals, both
grouped by booking text, so recurring bookings (rent, subscriptions,
etc.) are visible at a glance. Chart components are keyed on the
account id so switching accounts remounts them instead of reusing a
stale Plotly instance.
2026-07-22 13:57:28 +02:00

15 lines
447 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Schaad.Accounting.Datasets.Charts;
namespace Schaad.Accounting.Interfaces
{
public interface IChartService
{
Task<IReadOnlyList<DataSerie>> GetExpensesPerMonthAsync();
Task<IReadOnlyList<DataSerie>> GetBookingTextExpensesPerMonthAsync(string accountId);
Task<IReadOnlyList<CategoryTotal>> GetBookingTextTotalsAsync(string accountId);
}
}