show year-over-year and period-over-period in trends chart

This commit is contained in:
MaysWind
2026-03-22 01:38:35 +08:00
parent 91cdffa9a6
commit 0fbf185223
23 changed files with 339 additions and 27 deletions
@@ -400,6 +400,8 @@
:default-currency="defaultCurrency"
:stacked="showStackedInTrendsChart"
:show-total-amount-in-tooltip="showTotalAmountInTrendsChart"
:show-year-over-year="true"
:show-period-over-period="trendDateAggregationType === ChartDateAggregationType.Month.type || trendDateAggregationType === ChartDateAggregationType.Quarter.type"
ref="monthlyTrendsChart"
id-field="id"
name-field="name"
@@ -449,6 +451,8 @@
:default-currency="defaultCurrency"
:stacked="showStackedInTrendsChart"
:show-total-amount-in-tooltip="showTotalAmountInTrendsChart"
:show-year-over-year="true"
:show-period-over-period="assetTrendsDateAggregationType === ChartDateAggregationType.Day.type || assetTrendsDateAggregationType === ChartDateAggregationType.Month.type || assetTrendsDateAggregationType === ChartDateAggregationType.Quarter.type"
ref="dailyTrendsChart"
id-field="id"
name-field="name"