Skip to content

Commit

Permalink
add label amount data
Browse files Browse the repository at this point in the history
  • Loading branch information
MEEP00H committed Nov 3, 2024
1 parent 887fac1 commit f498a69
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 0 additions & 1 deletion components/budget/charts/HorizontalBarChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
>
’{{ d.year }}
</div>

<div
v-for="(strategy, i) in navData()"
:id="strategy.name"
Expand Down
3 changes: 0 additions & 3 deletions components/community/expore/ModalProject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ export default {
type: Function,
},
},
mounted() {
console.log(this.project, "project");
},
};
</script>

Expand Down
10 changes: 8 additions & 2 deletions components/community/expore/SurveyByKeyword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
class="flex-1 md:ml-[25px] flex flex-col-reverse items-center relative z-10 h-full"
>
<div
class="absolute bottom-0 wv-b5 translate-y-[120%] left-[50%] translate-x-[-50%] z-20"
class="absolute bottom-0 font-bold wv-b5 translate-y-[120%] left-[50%] translate-x-[-50%] z-20"
>
`{{ key }}
</div>
Expand All @@ -237,7 +237,13 @@
:style="{
height: `${(item.amount / maxOrigin) * 100}%`,
}"
></div>
>
<div
class="absolute top-0 translate-y-[-100%] left-[50%] translate-x-[-50%] wv-b7 font-bold"
>
{{ convertMillion(item.amount) }}
</div>
</div>

<div class="flex absolute bottom-0 w-full h-full items-end">
<div
Expand Down
1 change: 0 additions & 1 deletion components/community/filter/FilterByComnunity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export default {
);
} else {
if (this.filterData.district) {
console.log(this.filterData);
this.filterDistrict = this.originData.filter(
(d) => d.district === this.filterData.district
);
Expand Down

0 comments on commit f498a69

Please sign in to comment.