Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { XAxis []string `json:"xAxis"` Series []SeriesData `json:"series"` }
type SeriesData ¶
type SimpleChart ¶
type SimpleChart struct { Type string `json:"type"` Data Data `json:"data"` Metric metricpb.MetricServiceServer `autowired:"erda.core.monitor.metric.MetricService" json:"-"` MonitorAlertService monitorpb.AlertServiceServer `autowired:"erda.core.monitor.alert.AlertService" json:"-"` // contains filtered or unexported fields }
func (*SimpleChart) InitFromProtocol ¶
func (*SimpleChart) Render ¶
func (s *SimpleChart) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*SimpleChart) SetToProtocolComponent ¶
func (s *SimpleChart) SetToProtocolComponent(c *cptype.Component) error
Click to show internal directories.
Click to hide internal directories.