only show the types of categorical analysis

This commit is contained in:
MaysWind
2024-06-28 22:24:08 +08:00
parent fb315127f9
commit 768b005200
@@ -20,6 +20,7 @@
<f7-list-item :title="$t(dataType.name)" <f7-list-item :title="$t(dataType.name)"
:key="dataType.type" :key="dataType.type"
v-for="dataType in allChartDataTypes" v-for="dataType in allChartDataTypes"
v-show="dataType.availableAnalysisTypes[analysisType]"
@click="setChartDataType(dataType.type)"> @click="setChartDataType(dataType.type)">
<template #after> <template #after>
<f7-icon class="list-item-checked-icon" f7="checkmark_alt" v-if="query.chartDataType === dataType.type"></f7-icon> <f7-icon class="list-item-checked-icon" f7="checkmark_alt" v-if="query.chartDataType === dataType.type"></f7-icon>
@@ -274,6 +275,7 @@ export default {
loading: true, loading: true,
loadingError: null, loadingError: null,
reloading: false, reloading: false,
analysisType: statisticsConstants.allAnalysisTypes.CategoricalAnalysis,
showChartDataTypePopover: false, showChartDataTypePopover: false,
showSortingTypePopover: false, showSortingTypePopover: false,
showDatePopover: false, showDatePopover: false,