mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
hide percent for outflows/inflows by account categorical chart
This commit is contained in:
@@ -72,6 +72,7 @@
|
||||
:items="categoricalAnalysisData.items"
|
||||
:min-valid-percent="0.0001"
|
||||
:show-value="showAmountInChart"
|
||||
:show-percent="showPercentInCategoricalChart"
|
||||
:show-center-text="true"
|
||||
:show-selected-item-info="true"
|
||||
:enable-click-item="true"
|
||||
@@ -171,7 +172,7 @@
|
||||
<template #title>
|
||||
<div class="statistics-list-item-text">
|
||||
<span>{{ item.name }}</span>
|
||||
<small class="statistics-percent" v-if="item.percent >= 0">{{ formatPercentToLocalizedNumerals(item.percent, 2, '<0.01') }}</small>
|
||||
<small class="statistics-percent" v-if="showPercentInCategoricalChart && item.percent >= 0">{{ formatPercentToLocalizedNumerals(item.percent, 2, '<0.01') }}</small>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -403,6 +404,7 @@ const {
|
||||
canUseKeywordFilter,
|
||||
showAmountInChart,
|
||||
totalAmountName,
|
||||
showPercentInCategoricalChart,
|
||||
translateNameInTrendsChart,
|
||||
categoricalAnalysisData,
|
||||
trendsAnalysisData,
|
||||
|
||||
Reference in New Issue
Block a user