Documentation
¶
Index ¶
- Constants
- func DeepCopy(src, dst interface{}) error
- func FixEmptyWord(em string) string
- func GetPieSeriesOpt() func(*charts.SingleSeries)
- func GroupToPieData(issueList []dao.IssueItem, stackHandler stackhandlers.StackHandler) ([]opts.PieData, []string)
- func IssueListRetriever(issues []dao.IssueItem, match func(i int) bool) []dao.IssueItem
- type AreaStyle
- type Chart
- type FilterConditions
- type FrontendConditions
- type Grid
- type Item
- type Label
- type Legend
- type Normal
- type Option
- type Overview
- type OverviewProps
- type OverviewText
- type OverviewValue
- type PieChart
- type PieChartItem
- type PieChartOption
- type PieChartPart
- type PieChartProps
- type Props
- type Stats
- type StatsState
- type StyleConfig
- type XAxis
- type YAxis
Constants ¶
View Source
const PieChartFormat = "{b}\n{d}%"
Variables ¶
This section is empty.
Functions ¶
func FixEmptyWord ¶
func GetPieSeriesOpt ¶
func GetPieSeriesOpt() func(*charts.SingleSeries)
func GroupToPieData ¶
func GroupToPieData(issueList []dao.IssueItem, stackHandler stackhandlers.StackHandler) ([]opts.PieData, []string)
Types ¶
type FilterConditions ¶
type FrontendConditions ¶
type Overview ¶
type Overview struct {
Props OverviewProps `json:"props,omitempty"`
}
type OverviewProps ¶
type OverviewProps struct {
RenderType string `json:"renderType,omitempty"`
Value OverviewValue `json:"value,omitempty"`
}
type OverviewText ¶
type OverviewText struct {
Text string `json:"text,omitempty"`
StyleConfig StyleConfig `json:"styleConfig,omitempty"`
Icon string `json:"icon,omitempty"`
IconTip string `json:"iconTip,omitempty"`
}
type OverviewValue ¶
type OverviewValue struct {
Direction string `json:"direction,omitempty"`
Text []OverviewText `json:"text,omitempty"`
}
type PieChart ¶
type PieChart struct {
Props PieChartProps `json:"props,omitempty"`
}
type PieChartItem ¶
type PieChartItem struct {
Name string `json:"name,omitempty"`
Data []PieChartPart `json:"data,omitempty"`
}
type PieChartOption ¶
type PieChartOption struct {
Series []PieChartItem `json:"series,omitempty"`
Color []string `json:"color,omitempty"`
Legend []string `json:"legend,omitempty"`
}
type PieChartPart ¶
type PieChartProps ¶
type PieChartProps struct {
Title string `json:"title,omitempty"`
ChartType string `json:"chartType,omitempty"`
Option PieChartOption `json:"option,omitempty"`
}
type Stats ¶
type Stats struct {
Open string `json:"open,omitempty"`
Expire string `json:"expire,omitempty"`
Today string `json:"today,omitempty"`
Tomorrow string `json:"tomorrow,omitempty"`
Week string `json:"week,omitempty"`
Month string `json:"month,omitempty"`
Undefined string `json:"undefined,omitempty"`
Reopen string `json:"reopen,omitempty"`
}
type StatsState ¶
type StatsState struct {
Stats Stats `json:"stats,omitempty"`
}
type StyleConfig ¶
Click to show internal directories.
Click to hide internal directories.