chartv1

package
v0.17.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_chalk_chart_v1_densetimeserieschart_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DensePoint

type DensePoint struct {

	// wrapped in a Point to allow for optional (empty space in time series)
	Value *float64 `protobuf:"fixed64,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DensePoint) Descriptor deprecated

func (*DensePoint) Descriptor() ([]byte, []int)

Deprecated: Use DensePoint.ProtoReflect.Descriptor instead.

func (*DensePoint) GetValue

func (x *DensePoint) GetValue() float64

func (*DensePoint) ProtoMessage

func (*DensePoint) ProtoMessage()

func (*DensePoint) ProtoReflect

func (x *DensePoint) ProtoReflect() protoreflect.Message

func (*DensePoint) Reset

func (x *DensePoint) Reset()

func (*DensePoint) String

func (x *DensePoint) String() string

type DenseTimeSeries

type DenseTimeSeries struct {
	Points []*DensePoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	Label  string        `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Unit   string        `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (*DenseTimeSeries) Descriptor deprecated

func (*DenseTimeSeries) Descriptor() ([]byte, []int)

Deprecated: Use DenseTimeSeries.ProtoReflect.Descriptor instead.

func (*DenseTimeSeries) GetLabel

func (x *DenseTimeSeries) GetLabel() string

func (*DenseTimeSeries) GetPoints

func (x *DenseTimeSeries) GetPoints() []*DensePoint

func (*DenseTimeSeries) GetUnit

func (x *DenseTimeSeries) GetUnit() string

func (*DenseTimeSeries) ProtoMessage

func (*DenseTimeSeries) ProtoMessage()

func (*DenseTimeSeries) ProtoReflect

func (x *DenseTimeSeries) ProtoReflect() protoreflect.Message

func (*DenseTimeSeries) Reset

func (x *DenseTimeSeries) Reset()

func (*DenseTimeSeries) String

func (x *DenseTimeSeries) String() string

type DenseTimeSeriesChart

type DenseTimeSeriesChart struct {
	Title        string                   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Series       []*DenseTimeSeries       `protobuf:"bytes,2,rep,name=series,proto3" json:"series,omitempty"`
	XSeries      []*timestamppb.Timestamp `protobuf:"bytes,3,rep,name=x_series,json=xSeries,proto3" json:"x_series,omitempty"`
	WindowPeriod *durationpb.Duration     `protobuf:"bytes,4,opt,name=window_period,json=windowPeriod,proto3" json:"window_period,omitempty"`
	// contains filtered or unexported fields
}

* A representation of a densely encoded chart, suitable for time series where the series have mostly non-null values. Consider implementing a sparse chart if not every series has data at every tick

func (*DenseTimeSeriesChart) Descriptor deprecated

func (*DenseTimeSeriesChart) Descriptor() ([]byte, []int)

Deprecated: Use DenseTimeSeriesChart.ProtoReflect.Descriptor instead.

func (*DenseTimeSeriesChart) GetSeries

func (x *DenseTimeSeriesChart) GetSeries() []*DenseTimeSeries

func (*DenseTimeSeriesChart) GetTitle

func (x *DenseTimeSeriesChart) GetTitle() string

func (*DenseTimeSeriesChart) GetWindowPeriod

func (x *DenseTimeSeriesChart) GetWindowPeriod() *durationpb.Duration

func (*DenseTimeSeriesChart) GetXSeries

func (x *DenseTimeSeriesChart) GetXSeries() []*timestamppb.Timestamp

func (*DenseTimeSeriesChart) ProtoMessage

func (*DenseTimeSeriesChart) ProtoMessage()

func (*DenseTimeSeriesChart) ProtoReflect

func (x *DenseTimeSeriesChart) ProtoReflect() protoreflect.Message

func (*DenseTimeSeriesChart) Reset

func (x *DenseTimeSeriesChart) Reset()

func (*DenseTimeSeriesChart) String

func (x *DenseTimeSeriesChart) String() string

Jump to

Keyboard shortcuts

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