Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + type Chart struct + Series []SeriesData + XAxis []string + type Data struct + Chart Chart + CompareText string + CompareValue string + Main string + Sub string + type SeriesData struct + Data []int + Name string + type SimpleChart struct + Data Data + Metric metricpb.MetricServiceServer + MonitorAlertService monitorpb.AlertServiceServer + Type string + func (s *SimpleChart) InitFromProtocol(ctx context.Context, c *cptype.Component) error + func (s *SimpleChart) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, ...) error + func (s *SimpleChart) SetToProtocolComponent(c *cptype.Component) error