Skip to content

Commit

Permalink
feat: reduce column chart ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Oct 20, 2023
1 parent 599fe98 commit dcc7d6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/widget/WidgetDocumentsByCreationDate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@
<fa icon="circle-notch" spin size="2x"></fa>
</div>
<div v-if="data.length > 0" class="widget__content__chart align-items-center">
<column-chart :data="aggregatedDataSlice" :max-value="maxValue" :x-axis-tick-format="xAxisTickFormat">
<column-chart
:chart-height-ratio="0.4"
:data="aggregatedDataSlice"
:max-value="maxValue"
:x-axis-tick-format="xAxisTickFormat"
>
<template #tooltip="{ datum: { date, value: total } }">
<h5 class="m-0">{{ tooltipFormat(date) }}</h5>
<p class="m-0">{{ $tc('widget.creationDate.document', total, { total }) }}</p>
Expand Down

0 comments on commit dcc7d6d

Please sign in to comment.