Versions in this module Expand all Collapse all v1 v1.0.2 May 30, 2025 Changes in this version + func DrawPieChartWithAPI(ctx context.Context, inputMap map[string]time.Duration, userName string) (string, error) + func DrawPieChartWithLocal(ctx context.Context, inputMap map[string]time.Duration, userName string) (string, error) + func DrawPieChartWithLocal1(ctx context.Context, inputMap map[string]time.Duration, userName string) (string, error) + func GetUserChannelTimeMap(ctx context.Context, userID, guildID string) map[string]time.Duration + func ShowCalHandler(ctx context.Context, targetID, quoteID, authorID, guildID string, ...) (err error) + func ShowCalLocalHandler(ctx context.Context, targetID, quoteID, authorID, guildID string, ...) (err error) + type AnimationTime int + type AnimationType string + type ChartType string + type DrawChartLabel struct + Size int + Text []string + type DrawChartLegend struct + Color string + Position string + Size int + Text []string + type DrawChartTitle struct + Color string + Size int + Text string + type DrawPieAPICtx struct + Color string + Ct ChartType + Data []string + IsDivided bool + Label DrawChartLabel + Legend DrawChartLegend + Size string + Title DrawChartTitle + func (drawCtx *DrawPieAPICtx) BuildRequestURL() string