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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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