mirror of
https://git.hmsn.ink/kospo/svcm/dmz.git
synced 2026-03-20 05:43:33 +09:00
44 lines
1014 B
TypeScript
44 lines
1014 B
TypeScript
export function useEvolutionRadialChart() {
|
|
const themeColors = useThemeColors()
|
|
|
|
const evolutionRadialOptions = {
|
|
series: [54],
|
|
chart: {
|
|
height: 220,
|
|
type: 'radialBar',
|
|
},
|
|
colors: [themeColors.purple, themeColors.orange, themeColors.orange],
|
|
title: {
|
|
text: 'Bitcoin (BTC) Evolution',
|
|
align: 'left',
|
|
},
|
|
plotOptions: {
|
|
radialBar: {
|
|
dataLabels: {
|
|
name: {
|
|
offsetY: 15,
|
|
fontSize: '13px',
|
|
fontFamily: '"Roboto Flex Variable", sans-serif',
|
|
color: themeColors.grey,
|
|
formatter: function () {
|
|
return ['(30 days)']
|
|
},
|
|
},
|
|
value: {
|
|
color: themeColors.purple,
|
|
offsetY: -20,
|
|
fontSize: '16px',
|
|
fontFamily: '"Roboto Flex Variable", sans-serif',
|
|
fontWeight: '500',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
labels: ['Median Ratio'],
|
|
}
|
|
|
|
return {
|
|
evolutionRadialOptions,
|
|
}
|
|
}
|