
ProfitAndLoss.DetailedCharts Properties
string
Options are
revenue or expenses.boolean
If true, shows a dedicated date picker for this component. If not, inherits the current P&L context date range.
ProfitAndLossChartConfig
Optional styling overrides for the chart. Takes precedence over
chartColorsList where both are supplied.string[]
Legacy way to override the colors of the pie chart. Categories are assigned colors in alphabetical order by name.
If the list of colors is shorter than the number of categories, the colors will repeat with shifted opacity. Prefer
chartConfig.colors, which also lets you set a scope-specific palette and an uncategorized color.