scatterPlot

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentAction

type ComponentAction struct {
	State State `json:"state,omitempty"`
	Props `json:"Props,omitempty"`
	base.DefaultProvider

	IssueList []dao.IssueItem `json:"-"`
	// contains filtered or unexported fields
}

func (*ComponentAction) InitFromProtocol

func (f *ComponentAction) InitFromProtocol(ctx context.Context, c *cptype.Component) error

func (*ComponentAction) Render

func (*ComponentAction) SetToProtocolComponent

func (f *ComponentAction) SetToProtocolComponent(c *cptype.Component) error

type Option

type Option struct {
	XAxis  common.XAxis `json:"xAxis,omitempty"`
	YAxis  common.YAxis `json:"yAxis,omitempty"`
	Series []Series     `json:"series,omitempty"`
	Grid   common.Grid  `json:"grid,omitempty"`
}

type Props

type Props struct {
	Title     string `json:"title,omitempty"`
	ChartType string `json:"chartType,omitempty"`
	Option    Option `json:"option,omitempty"`
}

func ScatterData

func ScatterData(issues []dao.IssueItem) Props

type Series

type Series struct {
	Name      string           `json:"name,omitempty"`
	Type      string           `json:"type,omitempty"`
	Data      [][]float32      `json:"data,omitempty"`
	MarkPoint common.MarkPoint `json:"markPoint,omitempty"`
	MarkLine  common.MarkLine  `json:"markLine,omitempty"`
}

type State

type State struct {
	Values               common.FilterConditions `json:"values,omitempty"`
	Base64UrlQueryParams string                  `json:"issueFilter__urlQuery,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL