@mozaic-ds/chart
Version:
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
41 lines (38 loc) • 760 B
text/typescript
export interface AreaData {
value: number;
position: number;
unit: string;
label: string | null;
rate: number | null;
color: string | null;
trendValue: number | null;
trendUnit: string | null;
tooltips: string | null;
}
export interface Area {
label: string;
areaData: AreaData[];
}
export interface RadarPropsData {
radarData: {
labels: string[];
areas: [
{
label: string;
areaData: [
{
value: number;
position: number;
unit: string;
label?: string;
rate?: null;
color: string;
trendValue?: number;
trendUnit?: string;
tooltips?: string[];
}
];
}
];
};
}