quality_chart

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FontWeight

type FontWeight string

type Props

type Props struct {
	RadarOption map[string]interface{} `json:"option"`
	Style       Style                  `json:"style"`
	Title       string                 `json:"title"`
	Tip         []TipLine              `json:"tip"`
}

type Q

type Q struct {
	base.DefaultProvider
	// contains filtered or unexported fields
}

func (*Q) Render

func (q *Q) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) (e error)

type Style

type Style struct {
	Height uint64 `json:"height"`
}

type TipLine

type TipLine struct {
	Text  string       `json:"text"`
	Style TipLineStyle `json:"style"`
}

type TipLineStyle

type TipLineStyle struct {
	FontWeight  FontWeight `json:"fontWeight,omitempty"`  // bold
	PaddingLeft uint64     `json:"paddingLeft,omitempty"` // such as: 16
}

Jump to

Keyboard shortcuts

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