vue
<template>
<NbBarChart title="Sign-ups per channel" :series="series" />
</template>
<script setup lang="ts">
const series = [
{
name: 'Sign-ups',
data: [
{ x: 'Organic', y: 320 },
{ x: 'Referral', y: 240 },
{ x: 'Paid', y: 180 },
{ x: 'Direct', y: 150 },
],
},
]
</script>Negative values
The Y axis automatically extends below zero when the data requires it.
Without legend or tooltip
For dense dashboard tiles, you can suppress the chrome.