Files
vuefilemanager/resources/js/components/UI/BarChart.vue
Čarodej b368d56bbc - balance implementation
- invoice refactoring
2021-12-15 11:24:41 +01:00

19 lines
346 B
Vue

<template>
<div class="flex items-end justify-between h-28">
<span
class="w-2.5 block rounded-lg lg:mr-2 mr-1.5"
:style="{height: height + '%', backgroundColor: color}"
v-for="(height, i) in data"
:key="i">
</span>
</div>
</template>
<script>
export default {
name: 'BarChart',
props: {
data: {},
color: {},
}
}
</script>