{"modulePath":"github.com/erda-project/erda","version":"v1.5.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package codeCoverChart\n\n## Types\n\n```go\ntype ComponentAction struct {\n\tbase.DefaultProvider\n\n\tName       string                 `json:\"name,omitempty\"`\n\tType       string                 `json:\"type,omitempty\"`\n\tProps      map[string]interface{} `json:\"props,omitempty\"`\n\tState      State                  `json:\"state,omitempty\"`\n\tOperations map[string]interface{} `json:\"operations,omitempty\"`\n\tData       map[string]interface{}\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (i *ComponentAction) GenComponentState(c *cptype.Component) error\n```\nGenComponentState 获取state\n\n```go\nfunc (ca *ComponentAction) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error\n```\n\n```go\ntype Meta struct {\n\tData struct {\n\t\tData PointValue `json:\"data\"`\n\t} `json:\"data\"`\n}\n```\n\n```go\ntype Operation struct {\n\tKey      string                 `json:\"key\"`\n\tReload   bool                   `json:\"reload\"`\n\tFillMeta string                 `json:\"fillMeta\"`\n\tMeta     map[string]interface{} `json:\"meta\"`\n}\n```\n\n```go\ntype PointValue struct {\n\tRecordID   uint64  `json:\"recordId\"`\n\tValue      float64 `json:\"value\"`\n\tSymbolSize int     `json:\"symbolSize\"`\n\tSymbol     string  `json:\"symbol\"`\n}\n```\n\n```go\ntype State struct {\n\tValue     []int64 `json:\"value\"`\n\tRecordID  uint64  `json:\"recordID\"`\n\tWorkspace string  `json:\"workspace\"`\n}\n```\n\n","path":"github.com/erda-project/erda/modules/dop/component-protocol/components/code-coverage/codeCoverChart","name":"codeCoverChart","synopsis":"","isRedistributable":true}
