Install the package and import its styles once. See Installation for the complete setup.
Import
import { ChartContainer, ChartDonutBreakdown, ChartLegendContent, ChartStyle, ChartTooltipContent, ChartCrosshair, ChartTooltip, VisDonut, VisAnnotations, VisSingleContainer, VisXYContainer, VisXYLabels, VisLine, VisArea, VisAxis, VisStackedBar, VisGroupedBar, Donut, Line, Area, StackedBar, GroupedBar } from '@pharen/ui';
Example
<script setup lang="ts">
import { ChartContainer } from '@pharen/ui';
</script>
<template>
<ChartContainer />
</template>
Exports
| Export | Purpose |
|---|---|
ChartContainer | Exported Vue component from this module. |
ChartDonutBreakdown | Exported Vue component from this module. |
ChartLegendContent | Contains the visible content. |
ChartStyle | Exported Vue component from this module. |
ChartTooltipContent | Contains the visible content. |
ChartCrosshair | Exported Vue component from this module. |
ChartTooltip | Exported Vue component from this module. |
VisDonut | Exported Vue component from this module. |
VisAnnotations | Exported Vue component from this module. |
VisSingleContainer | Exported Vue component from this module. |
VisXYContainer | Exported Vue component from this module. |
VisXYLabels | Exported Vue component from this module. |
VisLine | Exported Vue component from this module. |
VisArea | Exported Vue component from this module. |
VisAxis | Exported Vue component from this module. |
VisStackedBar | Exported Vue component from this module. |
VisGroupedBar | Exported Vue component from this module. |
Donut | Exported Vue component from this module. |
Line | Exported Vue component from this module. |
Area | Exported Vue component from this module. |
StackedBar | Exported Vue component from this module. |
GroupedBar | Exported Vue component from this module. |