render

package
v0.0.0-...-8d217c2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ChartStatus_name = map[int32]string{
		0: "UNSPECIFIED_STATUS",
		1: "CREATED",
		2: "ERROR",
	}
	ChartStatus_value = map[string]int32{
		"UNSPECIFIED_STATUS": 0,
		"CREATED":            1,
		"ERROR":              2,
	}
)

Enum value maps for ChartStatus.

View Source
var (
	ChartScale_ChartScaleKind_name = map[int32]string{
		0: "UNSPECIFIED_SCALE",
		1: "LINEAR",
		2: "BAND",
	}
	ChartScale_ChartScaleKind_value = map[string]int32{
		"UNSPECIFIED_SCALE": 0,
		"LINEAR":            1,
		"BAND":              2,
	}
)

Enum value maps for ChartScale_ChartScaleKind.

View Source
var (
	ChartView_ChartViewKind_name = map[int32]string{
		0: "UNSPECIFIED_KIND",
		1: "AREA",
		2: "HORIZONTAL_BAR",
		3: "LINE",
		4: "SCATTER",
		5: "VERTICAL_BAR",
	}
	ChartView_ChartViewKind_value = map[string]int32{
		"UNSPECIFIED_KIND": 0,
		"AREA":             1,
		"HORIZONTAL_BAR":   2,
		"LINE":             3,
		"SCATTER":          4,
		"VERTICAL_BAR":     5,
	}
)

Enum value maps for ChartView_ChartViewKind.

View Source
var (
	ChartView_ChartViewBarLabelPosition_name = map[int32]string{
		0: "UNSPECIFIED_BAR_LABEL_POSITION",
		1: "START_OUTSIDE",
		2: "START_INSIDE",
		3: "CENTER",
		4: "END_INSIDE",
		5: "END_OUTSIDE",
	}
	ChartView_ChartViewBarLabelPosition_value = map[string]int32{
		"UNSPECIFIED_BAR_LABEL_POSITION": 0,
		"START_OUTSIDE":                  1,
		"START_INSIDE":                   2,
		"CENTER":                         3,
		"END_INSIDE":                     4,
		"END_OUTSIDE":                    5,
	}
)

Enum value maps for ChartView_ChartViewBarLabelPosition.

View Source
var (
	ChartView_ChartViewPointType_name = map[int32]string{
		0: "UNSPECIFIED_POINT_TYPE",
		1: "CIRCLE",
		2: "SQUARE",
		3: "X",
	}
	ChartView_ChartViewPointType_value = map[string]int32{
		"UNSPECIFIED_POINT_TYPE": 0,
		"CIRCLE":                 1,
		"SQUARE":                 2,
		"X":                      3,
	}
)

Enum value maps for ChartView_ChartViewPointType.

View Source
var (
	ChartView_ChartViewPointLabelPosition_name = map[int32]string{
		0: "UNSPECIFIED_POINT_LABEL_POSITION",
		1: "TOP",
		2: "TOP_RIGHT",
		3: "TOP_LEFT",
		4: "LEFT",
		5: "RIGHT",
		6: "BOTTOM",
		7: "BOTTOM_LEFT",
		8: "BOTTOM_RIGHT",
	}
	ChartView_ChartViewPointLabelPosition_value = map[string]int32{
		"UNSPECIFIED_POINT_LABEL_POSITION": 0,
		"TOP":                              1,
		"TOP_RIGHT":                        2,
		"TOP_LEFT":                         3,
		"LEFT":                             4,
		"RIGHT":                            5,
		"BOTTOM":                           6,
		"BOTTOM_LEFT":                      7,
		"BOTTOM_RIGHT":                     8,
	}
)

Enum value maps for ChartView_ChartViewPointLabelPosition.

View Source
var ChartAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "render.ChartAPI",
	HandlerType: (*ChartAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateChart",
			Handler:    _ChartAPI_CreateChart_Handler,
		},
		{
			MethodName: "GetChart",
			Handler:    _ChartAPI_GetChart_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api_service.proto",
}

ChartAPI_ServiceDesc is the grpc.ServiceDesc for ChartAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ChartRenderer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "render.ChartRenderer",
	HandlerType: (*ChartRendererServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RenderChart",
			Handler:    _ChartRenderer_RenderChart_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "renderer_service.proto",
}

ChartRenderer_ServiceDesc is the grpc.ServiceDesc for ChartRenderer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_service_proto protoreflect.FileDescriptor
View Source
var File_chart_proto protoreflect.FileDescriptor
View Source
var File_color_proto protoreflect.FileDescriptor
View Source
var File_renderer_service_proto protoreflect.FileDescriptor
View Source
var File_scale_proto protoreflect.FileDescriptor
View Source
var File_view_values_proto protoreflect.FileDescriptor

Functions

func RegisterChartAPIServer

func RegisterChartAPIServer(s grpc.ServiceRegistrar, srv ChartAPIServer)

func RegisterChartRendererServer

func RegisterChartRendererServer(s grpc.ServiceRegistrar, srv ChartRendererServer)

Types

type ChartAPIClient

type ChartAPIClient interface {
	// Create chart and return its raw bytes representation with additional metadata.
	CreateChart(ctx context.Context, in *CreateChartRequest, opts ...grpc.CallOption) (*ChartReply, error)
	// Get a created chart raw bytes representation with additional metadata.
	GetChart(ctx context.Context, in *GetChartRequest, opts ...grpc.CallOption) (*ChartReply, error)
}

ChartAPIClient is the client API for ChartAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewChartAPIClient

func NewChartAPIClient(cc grpc.ClientConnInterface) ChartAPIClient

type ChartAPIServer

type ChartAPIServer interface {
	// Create chart and return its raw bytes representation with additional metadata.
	CreateChart(context.Context, *CreateChartRequest) (*ChartReply, error)
	// Get a created chart raw bytes representation with additional metadata.
	GetChart(context.Context, *GetChartRequest) (*ChartReply, error)
	// contains filtered or unexported methods
}

ChartAPIServer is the server API for ChartAPI service. All implementations must embed UnimplementedChartAPIServer for forward compatibility

type ChartAxes

type ChartAxes struct {

	// Configured scale for top axis.
	AxisTop *ChartScale `protobuf:"bytes,1,opt,name=axis_top,json=axisTop,proto3" json:"axis_top,omitempty"`
	// Label for top axis.
	AxisTopLabel string `protobuf:"bytes,2,opt,name=axis_top_label,json=axisTopLabel,proto3" json:"axis_top_label,omitempty"`
	// Configured scale for bottom axis.
	AxisBottom *ChartScale `protobuf:"bytes,3,opt,name=axis_bottom,json=axisBottom,proto3" json:"axis_bottom,omitempty"`
	// Label for bottom axis.
	AxisBottomLabel string `protobuf:"bytes,4,opt,name=axis_bottom_label,json=axisBottomLabel,proto3" json:"axis_bottom_label,omitempty"`
	// Configured scale for left axis.
	AxisLeft *ChartScale `protobuf:"bytes,5,opt,name=axis_left,json=axisLeft,proto3" json:"axis_left,omitempty"`
	// Label for left axis.
	AxisLeftLabel string `protobuf:"bytes,6,opt,name=axis_left_label,json=axisLeftLabel,proto3" json:"axis_left_label,omitempty"`
	// Configured scale for right axis.
	AxisRight *ChartScale `protobuf:"bytes,7,opt,name=axis_right,json=axisRight,proto3" json:"axis_right,omitempty"`
	// Label for right axis.
	AxisRightLabel string `protobuf:"bytes,8,opt,name=axis_right_label,json=axisRightLabel,proto3" json:"axis_right_label,omitempty"`
	// contains filtered or unexported fields
}

ChartAxes represents options to configure chart axes.

func (*ChartAxes) Descriptor deprecated

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

Deprecated: Use ChartAxes.ProtoReflect.Descriptor instead.

func (*ChartAxes) GetAxisBottom

func (x *ChartAxes) GetAxisBottom() *ChartScale

func (*ChartAxes) GetAxisBottomLabel

func (x *ChartAxes) GetAxisBottomLabel() string

func (*ChartAxes) GetAxisLeft

func (x *ChartAxes) GetAxisLeft() *ChartScale

func (*ChartAxes) GetAxisLeftLabel

func (x *ChartAxes) GetAxisLeftLabel() string

func (*ChartAxes) GetAxisRight

func (x *ChartAxes) GetAxisRight() *ChartScale

func (*ChartAxes) GetAxisRightLabel

func (x *ChartAxes) GetAxisRightLabel() string

func (*ChartAxes) GetAxisTop

func (x *ChartAxes) GetAxisTop() *ChartScale

func (*ChartAxes) GetAxisTopLabel

func (x *ChartAxes) GetAxisTopLabel() string

func (*ChartAxes) ProtoMessage

func (*ChartAxes) ProtoMessage()

func (*ChartAxes) ProtoReflect

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

func (*ChartAxes) Reset

func (x *ChartAxes) Reset()

func (*ChartAxes) String

func (x *ChartAxes) String() string

type ChartElementColor

type ChartElementColor struct {

	// Value of color.
	// Can contain HEX or RGB value.
	//
	// Types that are assignable to ColorValue:
	//	*ChartElementColor_ColorHex
	//	*ChartElementColor_ColorRgb
	ColorValue isChartElementColor_ColorValue `protobuf_oneof:"color_value"`
	// contains filtered or unexported fields
}

ChartElementColor represents options to configure color for chart elements.

func (*ChartElementColor) Descriptor deprecated

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

Deprecated: Use ChartElementColor.ProtoReflect.Descriptor instead.

func (*ChartElementColor) GetColorHex

func (x *ChartElementColor) GetColorHex() string

func (*ChartElementColor) GetColorRgb

func (x *ChartElementColor) GetColorRgb() *ChartElementColor_RGB

func (*ChartElementColor) GetColorValue

func (m *ChartElementColor) GetColorValue() isChartElementColor_ColorValue

func (*ChartElementColor) ProtoMessage

func (*ChartElementColor) ProtoMessage()

func (*ChartElementColor) ProtoReflect

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

func (*ChartElementColor) Reset

func (x *ChartElementColor) Reset()

func (*ChartElementColor) String

func (x *ChartElementColor) String() string

type ChartElementColor_ColorHex

type ChartElementColor_ColorHex struct {
	ColorHex string `protobuf:"bytes,1,opt,name=color_hex,json=colorHex,proto3,oneof"`
}

type ChartElementColor_ColorRgb

type ChartElementColor_ColorRgb struct {
	ColorRgb *ChartElementColor_RGB `protobuf:"bytes,2,opt,name=color_rgb,json=colorRgb,proto3,oneof"`
}

type ChartElementColor_RGB

type ChartElementColor_RGB struct {
	R uint32 `protobuf:"varint,1,opt,name=r,proto3" json:"r,omitempty"`
	G uint32 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"`
	B uint32 `protobuf:"varint,3,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

RGB contains values for RGB color.

func (*ChartElementColor_RGB) Descriptor deprecated

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

Deprecated: Use ChartElementColor_RGB.ProtoReflect.Descriptor instead.

func (*ChartElementColor_RGB) GetB

func (x *ChartElementColor_RGB) GetB() uint32

func (*ChartElementColor_RGB) GetG

func (x *ChartElementColor_RGB) GetG() uint32

func (*ChartElementColor_RGB) GetR

func (x *ChartElementColor_RGB) GetR() uint32

func (*ChartElementColor_RGB) ProtoMessage

func (*ChartElementColor_RGB) ProtoMessage()

func (*ChartElementColor_RGB) ProtoReflect

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

func (*ChartElementColor_RGB) Reset

func (x *ChartElementColor_RGB) Reset()

func (*ChartElementColor_RGB) String

func (x *ChartElementColor_RGB) String() string

type ChartMargins

type ChartMargins struct {

	// Top margin.
	MarginTop *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=margin_top,json=marginTop,proto3" json:"margin_top,omitempty"`
	// Bottom margin.
	MarginBottom *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=margin_bottom,json=marginBottom,proto3" json:"margin_bottom,omitempty"`
	// Left margin.
	MarginLeft *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=margin_left,json=marginLeft,proto3" json:"margin_left,omitempty"`
	// Right margin.
	MarginRight *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=margin_right,json=marginRight,proto3" json:"margin_right,omitempty"`
	// contains filtered or unexported fields
}

ChartMargins represents options to configure chart margins.

func (*ChartMargins) Descriptor deprecated

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

Deprecated: Use ChartMargins.ProtoReflect.Descriptor instead.

func (*ChartMargins) GetMarginBottom

func (x *ChartMargins) GetMarginBottom() *wrapperspb.Int32Value

func (*ChartMargins) GetMarginLeft

func (x *ChartMargins) GetMarginLeft() *wrapperspb.Int32Value

func (*ChartMargins) GetMarginRight

func (x *ChartMargins) GetMarginRight() *wrapperspb.Int32Value

func (*ChartMargins) GetMarginTop

func (x *ChartMargins) GetMarginTop() *wrapperspb.Int32Value

func (*ChartMargins) ProtoMessage

func (*ChartMargins) ProtoMessage()

func (*ChartMargins) ProtoReflect

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

func (*ChartMargins) Reset

func (x *ChartMargins) Reset()

func (*ChartMargins) String

func (x *ChartMargins) String() string

type ChartRendererClient

type ChartRendererClient interface {
	// Render chart and return its raw bytes representation.
	RenderChart(ctx context.Context, in *RenderChartRequest, opts ...grpc.CallOption) (*RenderChartReply, error)
}

ChartRendererClient is the client API for ChartRenderer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChartRendererServer

type ChartRendererServer interface {
	// Render chart and return its raw bytes representation.
	RenderChart(context.Context, *RenderChartRequest) (*RenderChartReply, error)
	// contains filtered or unexported methods
}

ChartRendererServer is the server API for ChartRenderer service. All implementations must embed UnimplementedChartRendererServer for forward compatibility

type ChartReply

type ChartReply struct {

	// ID of the request.
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// ID of the chart.
	ChartId string `protobuf:"bytes,2,opt,name=chart_id,json=chartId,proto3" json:"chart_id,omitempty"`
	// One of the available chart statuses.
	ChartStatus ChartStatus `protobuf:"varint,3,opt,name=chart_status,json=chartStatus,proto3,enum=render.ChartStatus" json:"chart_status,omitempty"`
	// Chart creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// When the chart will become unavailable.
	// It depends of `ttl` value that was provided in chart create request.
	// It equals to `created_at` value if `ttl` was set zero.
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// Chart raw bytes representation.
	ChartData []byte `protobuf:"bytes,6,opt,name=chart_data,json=chartData,proto3" json:"chart_data,omitempty"`
	// contains filtered or unexported fields
}

ChartReply represents chart reply from create or get requests.

func (*ChartReply) Descriptor deprecated

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

Deprecated: Use ChartReply.ProtoReflect.Descriptor instead.

func (*ChartReply) GetChartData

func (x *ChartReply) GetChartData() []byte

func (*ChartReply) GetChartId

func (x *ChartReply) GetChartId() string

func (*ChartReply) GetChartStatus

func (x *ChartReply) GetChartStatus() ChartStatus

func (*ChartReply) GetCreatedAt

func (x *ChartReply) GetCreatedAt() *timestamppb.Timestamp

func (*ChartReply) GetDeletedAt

func (x *ChartReply) GetDeletedAt() *timestamppb.Timestamp

func (*ChartReply) GetRequestId

func (x *ChartReply) GetRequestId() string

func (*ChartReply) ProtoMessage

func (*ChartReply) ProtoMessage()

func (*ChartReply) ProtoReflect

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

func (*ChartReply) Reset

func (x *ChartReply) Reset()

func (*ChartReply) String

func (x *ChartReply) String() string

type ChartScale

type ChartScale struct {

	// One of the available scale kinds.
	Kind ChartScale_ChartScaleKind `protobuf:"varint,1,opt,name=kind,proto3,enum=render.ChartScale_ChartScaleKind" json:"kind,omitempty"`
	// Start of the scale range.
	RangeStart *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
	// End of the scale range.
	RangeEnd *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=range_end,json=rangeEnd,proto3" json:"range_end,omitempty"`
	// Scale domain with one of available kind.
	//
	// Types that are assignable to Domain:
	//	*ChartScale_DomainNumeric
	//	*ChartScale_DomainCategories
	Domain isChartScale_Domain `protobuf_oneof:"domain"`
	// Does this scale needs an offset from the start and end of an axis.
	// This is usually need for an area or line views.
	NoBoundariesOffset bool `protobuf:"varint,7,opt,name=no_boundaries_offset,json=noBoundariesOffset,proto3" json:"no_boundaries_offset,omitempty"`
	// Inner padding for categories.
	InnerPadding *wrapperspb.FloatValue `protobuf:"bytes,8,opt,name=inner_padding,json=innerPadding,proto3" json:"inner_padding,omitempty"`
	// Outer padding for categories.
	OuterPadding *wrapperspb.FloatValue `protobuf:"bytes,9,opt,name=outer_padding,json=outerPadding,proto3" json:"outer_padding,omitempty"`
	// contains filtered or unexported fields
}

ChartScale represents options to configure chart scale.

func (*ChartScale) Descriptor deprecated

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

Deprecated: Use ChartScale.ProtoReflect.Descriptor instead.

func (*ChartScale) GetDomain

func (m *ChartScale) GetDomain() isChartScale_Domain

func (*ChartScale) GetDomainCategories

func (x *ChartScale) GetDomainCategories() *DomainCategories

func (*ChartScale) GetDomainNumeric

func (x *ChartScale) GetDomainNumeric() *DomainNumeric

func (*ChartScale) GetInnerPadding

func (x *ChartScale) GetInnerPadding() *wrapperspb.FloatValue

func (*ChartScale) GetKind

func (*ChartScale) GetNoBoundariesOffset

func (x *ChartScale) GetNoBoundariesOffset() bool

func (*ChartScale) GetOuterPadding

func (x *ChartScale) GetOuterPadding() *wrapperspb.FloatValue

func (*ChartScale) GetRangeEnd

func (x *ChartScale) GetRangeEnd() *wrapperspb.Int32Value

func (*ChartScale) GetRangeStart

func (x *ChartScale) GetRangeStart() *wrapperspb.Int32Value

func (*ChartScale) ProtoMessage

func (*ChartScale) ProtoMessage()

func (*ChartScale) ProtoReflect

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

func (*ChartScale) Reset

func (x *ChartScale) Reset()

func (*ChartScale) String

func (x *ChartScale) String() string

type ChartScale_ChartScaleKind

type ChartScale_ChartScaleKind int32

ChartScaleKind contains available scale kinds.

const (
	ChartScale_UNSPECIFIED_SCALE ChartScale_ChartScaleKind = 0
	ChartScale_LINEAR            ChartScale_ChartScaleKind = 1
	ChartScale_BAND              ChartScale_ChartScaleKind = 2
)

func (ChartScale_ChartScaleKind) Descriptor

func (ChartScale_ChartScaleKind) Enum

func (ChartScale_ChartScaleKind) EnumDescriptor deprecated

func (ChartScale_ChartScaleKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChartScale_ChartScaleKind.Descriptor instead.

func (ChartScale_ChartScaleKind) Number

func (ChartScale_ChartScaleKind) String

func (x ChartScale_ChartScaleKind) String() string

func (ChartScale_ChartScaleKind) Type

type ChartScale_DomainCategories

type ChartScale_DomainCategories struct {
	// String scale domain categories.
	DomainCategories *DomainCategories `protobuf:"bytes,5,opt,name=domain_categories,json=domainCategories,proto3,oneof"`
}

type ChartScale_DomainNumeric

type ChartScale_DomainNumeric struct {
	// Numeric scale domain.
	DomainNumeric *DomainNumeric `protobuf:"bytes,4,opt,name=domain_numeric,json=domainNumeric,proto3,oneof"`
}

type ChartSizes

type ChartSizes struct {

	// Chart width.
	Width *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"`
	// Chart height.
	Height *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

ChartSizes represents options to configure chart sizes.

func (*ChartSizes) Descriptor deprecated

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

Deprecated: Use ChartSizes.ProtoReflect.Descriptor instead.

func (*ChartSizes) GetHeight

func (x *ChartSizes) GetHeight() *wrapperspb.Int32Value

func (*ChartSizes) GetWidth

func (x *ChartSizes) GetWidth() *wrapperspb.Int32Value

func (*ChartSizes) ProtoMessage

func (*ChartSizes) ProtoMessage()

func (*ChartSizes) ProtoReflect

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

func (*ChartSizes) Reset

func (x *ChartSizes) Reset()

func (*ChartSizes) String

func (x *ChartSizes) String() string

type ChartStatus

type ChartStatus int32

ChartStatus contains available chart statuses.

const (
	ChartStatus_UNSPECIFIED_STATUS ChartStatus = 0
	ChartStatus_CREATED            ChartStatus = 1
	ChartStatus_ERROR              ChartStatus = 2
)

func (ChartStatus) Descriptor

func (ChartStatus) Enum

func (x ChartStatus) Enum() *ChartStatus

func (ChartStatus) EnumDescriptor deprecated

func (ChartStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChartStatus.Descriptor instead.

func (ChartStatus) Number

func (x ChartStatus) Number() protoreflect.EnumNumber

func (ChartStatus) String

func (x ChartStatus) String() string

func (ChartStatus) Type

type ChartView

type ChartView struct {

	// One of the available view kinds.
	Kind ChartView_ChartViewKind `protobuf:"varint,1,opt,name=kind,proto3,enum=render.ChartView_ChartViewKind" json:"kind,omitempty"`
	// View values with one of available kind of values.
	//
	// Types that are assignable to Values:
	//	*ChartView_ScalarValues
	//	*ChartView_PointsValues
	//	*ChartView_BarsValues
	Values isChartView_Values `protobuf_oneof:"values"`
	// Configured colors for view.
	Colors *ChartViewColors `protobuf:"bytes,5,opt,name=colors,proto3" json:"colors,omitempty"`
	// Set bar label visibility for view with bars.
	BarLabelVisible *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=bar_label_visible,json=barLabelVisible,proto3" json:"bar_label_visible,omitempty"`
	// One of the available bar label positions for view with bars.
	BarLabelPosition ChartView_ChartViewBarLabelPosition `` /* 160-byte string literal not displayed */
	// Set point visibility for view with points.
	PointVisible *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=point_visible,json=pointVisible,proto3" json:"point_visible,omitempty"`
	// One of the available point types for view with points.
	PointType ChartView_ChartViewPointType `` /* 130-byte string literal not displayed */
	// Set point label visibility for view with points.
	PointLabelVisible *wrapperspb.BoolValue `protobuf:"bytes,10,opt,name=point_label_visible,json=pointLabelVisible,proto3" json:"point_label_visible,omitempty"`
	// One of the available point label positions for view with points.
	PointLabelPosition ChartView_ChartViewPointLabelPosition `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

ChartView represents options to configure chart view.

func (*ChartView) Descriptor deprecated

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

Deprecated: Use ChartView.ProtoReflect.Descriptor instead.

func (*ChartView) GetBarLabelPosition

func (x *ChartView) GetBarLabelPosition() ChartView_ChartViewBarLabelPosition

func (*ChartView) GetBarLabelVisible

func (x *ChartView) GetBarLabelVisible() *wrapperspb.BoolValue

func (*ChartView) GetBarsValues

func (x *ChartView) GetBarsValues() *ChartViewBarsValues

func (*ChartView) GetColors

func (x *ChartView) GetColors() *ChartViewColors

func (*ChartView) GetKind

func (x *ChartView) GetKind() ChartView_ChartViewKind

func (*ChartView) GetPointLabelPosition

func (x *ChartView) GetPointLabelPosition() ChartView_ChartViewPointLabelPosition

func (*ChartView) GetPointLabelVisible

func (x *ChartView) GetPointLabelVisible() *wrapperspb.BoolValue

func (*ChartView) GetPointType

func (x *ChartView) GetPointType() ChartView_ChartViewPointType

func (*ChartView) GetPointVisible

func (x *ChartView) GetPointVisible() *wrapperspb.BoolValue

func (*ChartView) GetPointsValues

func (x *ChartView) GetPointsValues() *ChartViewPointsValues

func (*ChartView) GetScalarValues

func (x *ChartView) GetScalarValues() *ChartViewScalarValues

func (*ChartView) GetValues

func (m *ChartView) GetValues() isChartView_Values

func (*ChartView) ProtoMessage

func (*ChartView) ProtoMessage()

func (*ChartView) ProtoReflect

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

func (*ChartView) Reset

func (x *ChartView) Reset()

func (*ChartView) String

func (x *ChartView) String() string

type ChartViewBarsValues

type ChartViewBarsValues struct {

	// Array of configured bars datasets.
	BarsDatasets []*ChartViewBarsValues_BarsDataset `protobuf:"bytes,1,rep,name=bars_datasets,json=barsDatasets,proto3" json:"bars_datasets,omitempty"`
	// contains filtered or unexported fields
}

ChartViewBarsValues represents options for bars values.

func (*ChartViewBarsValues) Descriptor deprecated

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

Deprecated: Use ChartViewBarsValues.ProtoReflect.Descriptor instead.

func (*ChartViewBarsValues) GetBarsDatasets

func (x *ChartViewBarsValues) GetBarsDatasets() []*ChartViewBarsValues_BarsDataset

func (*ChartViewBarsValues) ProtoMessage

func (*ChartViewBarsValues) ProtoMessage()

func (*ChartViewBarsValues) ProtoReflect

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

func (*ChartViewBarsValues) Reset

func (x *ChartViewBarsValues) Reset()

func (*ChartViewBarsValues) String

func (x *ChartViewBarsValues) String() string

type ChartViewBarsValues_BarsDataset

type ChartViewBarsValues_BarsDataset struct {
	Values []float32                                `protobuf:"fixed32,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	Colors *ChartViewBarsValues_ChartViewBarsColors `protobuf:"bytes,2,opt,name=colors,proto3" json:"colors,omitempty"`
	// contains filtered or unexported fields
}

BarsDataset represents a single dataset with several bars.

func (*ChartViewBarsValues_BarsDataset) Descriptor deprecated

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

Deprecated: Use ChartViewBarsValues_BarsDataset.ProtoReflect.Descriptor instead.

func (*ChartViewBarsValues_BarsDataset) GetColors

func (*ChartViewBarsValues_BarsDataset) GetValues

func (x *ChartViewBarsValues_BarsDataset) GetValues() []float32

func (*ChartViewBarsValues_BarsDataset) ProtoMessage

func (*ChartViewBarsValues_BarsDataset) ProtoMessage()

func (*ChartViewBarsValues_BarsDataset) ProtoReflect

func (*ChartViewBarsValues_BarsDataset) Reset

func (*ChartViewBarsValues_BarsDataset) String

type ChartViewBarsValues_ChartViewBarsColors

type ChartViewBarsValues_ChartViewBarsColors struct {
	Fill   *ChartElementColor `protobuf:"bytes,1,opt,name=fill,proto3" json:"fill,omitempty"`
	Stroke *ChartElementColor `protobuf:"bytes,2,opt,name=stroke,proto3" json:"stroke,omitempty"`
	// contains filtered or unexported fields
}

ChartViewBarsColors represents options to configure bars values colors.

func (*ChartViewBarsValues_ChartViewBarsColors) Descriptor deprecated

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

Deprecated: Use ChartViewBarsValues_ChartViewBarsColors.ProtoReflect.Descriptor instead.

func (*ChartViewBarsValues_ChartViewBarsColors) GetFill

func (*ChartViewBarsValues_ChartViewBarsColors) GetStroke

func (*ChartViewBarsValues_ChartViewBarsColors) ProtoMessage

func (*ChartViewBarsValues_ChartViewBarsColors) ProtoReflect

func (*ChartViewBarsValues_ChartViewBarsColors) Reset

func (*ChartViewBarsValues_ChartViewBarsColors) String

type ChartViewColors

type ChartViewColors struct {

	// View fill color.
	Fill *ChartElementColor `protobuf:"bytes,1,opt,name=fill,proto3" json:"fill,omitempty"`
	// View stroke color.
	Stroke *ChartElementColor `protobuf:"bytes,2,opt,name=stroke,proto3" json:"stroke,omitempty"`
	// View point fill color.
	PointFill *ChartElementColor `protobuf:"bytes,3,opt,name=point_fill,json=pointFill,proto3" json:"point_fill,omitempty"`
	// View point stroke color.
	PointStroke *ChartElementColor `protobuf:"bytes,4,opt,name=point_stroke,json=pointStroke,proto3" json:"point_stroke,omitempty"`
	// contains filtered or unexported fields
}

ChartViewColors represents options to configure view colors.

func (*ChartViewColors) Descriptor deprecated

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

Deprecated: Use ChartViewColors.ProtoReflect.Descriptor instead.

func (*ChartViewColors) GetFill

func (x *ChartViewColors) GetFill() *ChartElementColor

func (*ChartViewColors) GetPointFill

func (x *ChartViewColors) GetPointFill() *ChartElementColor

func (*ChartViewColors) GetPointStroke

func (x *ChartViewColors) GetPointStroke() *ChartElementColor

func (*ChartViewColors) GetStroke

func (x *ChartViewColors) GetStroke() *ChartElementColor

func (*ChartViewColors) ProtoMessage

func (*ChartViewColors) ProtoMessage()

func (*ChartViewColors) ProtoReflect

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

func (*ChartViewColors) Reset

func (x *ChartViewColors) Reset()

func (*ChartViewColors) String

func (x *ChartViewColors) String() string

type ChartViewPointsValues

type ChartViewPointsValues struct {

	// Array of configured points.
	Points []*ChartViewPointsValues_Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

ChartViewPointsValues represents options for point values.

func (*ChartViewPointsValues) Descriptor deprecated

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

Deprecated: Use ChartViewPointsValues.ProtoReflect.Descriptor instead.

func (*ChartViewPointsValues) GetPoints

func (*ChartViewPointsValues) ProtoMessage

func (*ChartViewPointsValues) ProtoMessage()

func (*ChartViewPointsValues) ProtoReflect

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

func (*ChartViewPointsValues) Reset

func (x *ChartViewPointsValues) Reset()

func (*ChartViewPointsValues) String

func (x *ChartViewPointsValues) String() string

type ChartViewPointsValues_Point

type ChartViewPointsValues_Point struct {
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

Point represents parameters for a single point.

func (*ChartViewPointsValues_Point) Descriptor deprecated

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

Deprecated: Use ChartViewPointsValues_Point.ProtoReflect.Descriptor instead.

func (*ChartViewPointsValues_Point) GetX

func (*ChartViewPointsValues_Point) GetY

func (*ChartViewPointsValues_Point) ProtoMessage

func (*ChartViewPointsValues_Point) ProtoMessage()

func (*ChartViewPointsValues_Point) ProtoReflect

func (*ChartViewPointsValues_Point) Reset

func (x *ChartViewPointsValues_Point) Reset()

func (*ChartViewPointsValues_Point) String

func (x *ChartViewPointsValues_Point) String() string

type ChartViewScalarValues

type ChartViewScalarValues struct {

	// Array of scalar values.
	Values []float32 `protobuf:"fixed32,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ChartViewScalarValues represents options for scalar values.

func (*ChartViewScalarValues) Descriptor deprecated

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

Deprecated: Use ChartViewScalarValues.ProtoReflect.Descriptor instead.

func (*ChartViewScalarValues) GetValues

func (x *ChartViewScalarValues) GetValues() []float32

func (*ChartViewScalarValues) ProtoMessage

func (*ChartViewScalarValues) ProtoMessage()

func (*ChartViewScalarValues) ProtoReflect

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

func (*ChartViewScalarValues) Reset

func (x *ChartViewScalarValues) Reset()

func (*ChartViewScalarValues) String

func (x *ChartViewScalarValues) String() string

type ChartView_BarsValues

type ChartView_BarsValues struct {
	BarsValues *ChartViewBarsValues `protobuf:"bytes,4,opt,name=bars_values,json=barsValues,proto3,oneof"`
}

type ChartView_ChartViewBarLabelPosition

type ChartView_ChartViewBarLabelPosition int32

ChartViewBarLabelPosition contains available view label positions.

const (
	ChartView_UNSPECIFIED_BAR_LABEL_POSITION ChartView_ChartViewBarLabelPosition = 0
	ChartView_START_OUTSIDE                  ChartView_ChartViewBarLabelPosition = 1
	ChartView_START_INSIDE                   ChartView_ChartViewBarLabelPosition = 2
	ChartView_CENTER                         ChartView_ChartViewBarLabelPosition = 3
	ChartView_END_INSIDE                     ChartView_ChartViewBarLabelPosition = 4
	ChartView_END_OUTSIDE                    ChartView_ChartViewBarLabelPosition = 5
)

func (ChartView_ChartViewBarLabelPosition) Descriptor

func (ChartView_ChartViewBarLabelPosition) Enum

func (ChartView_ChartViewBarLabelPosition) EnumDescriptor deprecated

func (ChartView_ChartViewBarLabelPosition) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChartView_ChartViewBarLabelPosition.Descriptor instead.

func (ChartView_ChartViewBarLabelPosition) Number

func (ChartView_ChartViewBarLabelPosition) String

func (ChartView_ChartViewBarLabelPosition) Type

type ChartView_ChartViewKind

type ChartView_ChartViewKind int32

ChartViewKind contains available view kinds.

const (
	ChartView_UNSPECIFIED_KIND ChartView_ChartViewKind = 0
	ChartView_AREA             ChartView_ChartViewKind = 1
	ChartView_HORIZONTAL_BAR   ChartView_ChartViewKind = 2
	ChartView_LINE             ChartView_ChartViewKind = 3
	ChartView_SCATTER          ChartView_ChartViewKind = 4
	ChartView_VERTICAL_BAR     ChartView_ChartViewKind = 5
)

func (ChartView_ChartViewKind) Descriptor

func (ChartView_ChartViewKind) Enum

func (ChartView_ChartViewKind) EnumDescriptor deprecated

func (ChartView_ChartViewKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChartView_ChartViewKind.Descriptor instead.

func (ChartView_ChartViewKind) Number

func (ChartView_ChartViewKind) String

func (x ChartView_ChartViewKind) String() string

func (ChartView_ChartViewKind) Type

type ChartView_ChartViewPointLabelPosition

type ChartView_ChartViewPointLabelPosition int32

ChartViewPointLabelPosition contains available view point label positions.

const (
	ChartView_UNSPECIFIED_POINT_LABEL_POSITION ChartView_ChartViewPointLabelPosition = 0
	ChartView_TOP                              ChartView_ChartViewPointLabelPosition = 1
	ChartView_TOP_RIGHT                        ChartView_ChartViewPointLabelPosition = 2
	ChartView_TOP_LEFT                         ChartView_ChartViewPointLabelPosition = 3
	ChartView_LEFT                             ChartView_ChartViewPointLabelPosition = 4
	ChartView_RIGHT                            ChartView_ChartViewPointLabelPosition = 5
	ChartView_BOTTOM                           ChartView_ChartViewPointLabelPosition = 6
	ChartView_BOTTOM_LEFT                      ChartView_ChartViewPointLabelPosition = 7
	ChartView_BOTTOM_RIGHT                     ChartView_ChartViewPointLabelPosition = 8
)

func (ChartView_ChartViewPointLabelPosition) Descriptor

func (ChartView_ChartViewPointLabelPosition) Enum

func (ChartView_ChartViewPointLabelPosition) EnumDescriptor deprecated

func (ChartView_ChartViewPointLabelPosition) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChartView_ChartViewPointLabelPosition.Descriptor instead.

func (ChartView_ChartViewPointLabelPosition) Number

func (ChartView_ChartViewPointLabelPosition) String

func (ChartView_ChartViewPointLabelPosition) Type

type ChartView_ChartViewPointType

type ChartView_ChartViewPointType int32

ChartViewPointType contains available view point types.

const (
	ChartView_UNSPECIFIED_POINT_TYPE ChartView_ChartViewPointType = 0
	ChartView_CIRCLE                 ChartView_ChartViewPointType = 1
	ChartView_SQUARE                 ChartView_ChartViewPointType = 2
	ChartView_X                      ChartView_ChartViewPointType = 3
)

func (ChartView_ChartViewPointType) Descriptor

func (ChartView_ChartViewPointType) Enum

func (ChartView_ChartViewPointType) EnumDescriptor deprecated

func (ChartView_ChartViewPointType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChartView_ChartViewPointType.Descriptor instead.

func (ChartView_ChartViewPointType) Number

func (ChartView_ChartViewPointType) String

func (ChartView_ChartViewPointType) Type

type ChartView_PointsValues

type ChartView_PointsValues struct {
	PointsValues *ChartViewPointsValues `protobuf:"bytes,3,opt,name=points_values,json=pointsValues,proto3,oneof"`
}

type ChartView_ScalarValues

type ChartView_ScalarValues struct {
	ScalarValues *ChartViewScalarValues `protobuf:"bytes,2,opt,name=scalar_values,json=scalarValues,proto3,oneof"`
}

type CreateChartRequest

type CreateChartRequest struct {

	// Chart title.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Configured chart sizes.
	Sizes *ChartSizes `protobuf:"bytes,2,opt,name=sizes,proto3" json:"sizes,omitempty"`
	// Configured chart margins.
	Margins *ChartMargins `protobuf:"bytes,3,opt,name=margins,proto3" json:"margins,omitempty"`
	// Configured chart axes.
	Axes *ChartAxes `protobuf:"bytes,4,opt,name=axes,proto3" json:"axes,omitempty"`
	// Configured chart views.
	Views []*ChartView `protobuf:"bytes,5,rep,name=views,proto3" json:"views,omitempty"`
	// contains filtered or unexported fields
}

CreateChartRequest represents chart creation request.

func (*CreateChartRequest) Descriptor deprecated

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

Deprecated: Use CreateChartRequest.ProtoReflect.Descriptor instead.

func (*CreateChartRequest) GetAxes

func (x *CreateChartRequest) GetAxes() *ChartAxes

func (*CreateChartRequest) GetMargins

func (x *CreateChartRequest) GetMargins() *ChartMargins

func (*CreateChartRequest) GetSizes

func (x *CreateChartRequest) GetSizes() *ChartSizes

func (*CreateChartRequest) GetTitle

func (x *CreateChartRequest) GetTitle() string

func (*CreateChartRequest) GetViews

func (x *CreateChartRequest) GetViews() []*ChartView

func (*CreateChartRequest) ProtoMessage

func (*CreateChartRequest) ProtoMessage()

func (*CreateChartRequest) ProtoReflect

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

func (*CreateChartRequest) Reset

func (x *CreateChartRequest) Reset()

func (*CreateChartRequest) String

func (x *CreateChartRequest) String() string

type DomainCategories

type DomainCategories struct {
	Categories []string `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
	// contains filtered or unexported fields
}

DomainCategories represents string categorical scale domain.

func (*DomainCategories) Descriptor deprecated

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

Deprecated: Use DomainCategories.ProtoReflect.Descriptor instead.

func (*DomainCategories) GetCategories

func (x *DomainCategories) GetCategories() []string

func (*DomainCategories) ProtoMessage

func (*DomainCategories) ProtoMessage()

func (*DomainCategories) ProtoReflect

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

func (*DomainCategories) Reset

func (x *DomainCategories) Reset()

func (*DomainCategories) String

func (x *DomainCategories) String() string

type DomainNumeric

type DomainNumeric struct {

	// Start of the numeric scale domain.
	Start float32 `protobuf:"fixed32,1,opt,name=start,proto3" json:"start,omitempty"`
	// End of the numeric scale domain.
	End float32 `protobuf:"fixed32,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

DomainNumeric represents numeric scale domain.

func (*DomainNumeric) Descriptor deprecated

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

Deprecated: Use DomainNumeric.ProtoReflect.Descriptor instead.

func (*DomainNumeric) GetEnd

func (x *DomainNumeric) GetEnd() float32

func (*DomainNumeric) GetStart

func (x *DomainNumeric) GetStart() float32

func (*DomainNumeric) ProtoMessage

func (*DomainNumeric) ProtoMessage()

func (*DomainNumeric) ProtoReflect

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

func (*DomainNumeric) Reset

func (x *DomainNumeric) Reset()

func (*DomainNumeric) String

func (x *DomainNumeric) String() string

type GetChartRequest

type GetChartRequest struct {

	// ID of the chart.
	ChartId string `protobuf:"bytes,1,opt,name=chart_id,json=chartId,proto3" json:"chart_id,omitempty"`
	// contains filtered or unexported fields
}

GetChartRequest represents chart get request.

func (*GetChartRequest) Descriptor deprecated

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

Deprecated: Use GetChartRequest.ProtoReflect.Descriptor instead.

func (*GetChartRequest) GetChartId

func (x *GetChartRequest) GetChartId() string

func (*GetChartRequest) ProtoMessage

func (*GetChartRequest) ProtoMessage()

func (*GetChartRequest) ProtoReflect

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

func (*GetChartRequest) Reset

func (x *GetChartRequest) Reset()

func (*GetChartRequest) String

func (x *GetChartRequest) String() string

type RenderChartReply

type RenderChartReply struct {

	// ID of the request.
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Chart raw bytes representation.
	ChartData []byte `protobuf:"bytes,2,opt,name=chart_data,json=chartData,proto3" json:"chart_data,omitempty"`
	// contains filtered or unexported fields
}

RenderChartReply represents chart rendering reply.

func (*RenderChartReply) Descriptor deprecated

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

Deprecated: Use RenderChartReply.ProtoReflect.Descriptor instead.

func (*RenderChartReply) GetChartData

func (x *RenderChartReply) GetChartData() []byte

func (*RenderChartReply) GetRequestId

func (x *RenderChartReply) GetRequestId() string

func (*RenderChartReply) ProtoMessage

func (*RenderChartReply) ProtoMessage()

func (*RenderChartReply) ProtoReflect

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

func (*RenderChartReply) Reset

func (x *RenderChartReply) Reset()

func (*RenderChartReply) String

func (x *RenderChartReply) String() string

type RenderChartRequest

type RenderChartRequest struct {

	// ID of the request.
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Chart title.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Configured chart sizes.
	Sizes *ChartSizes `protobuf:"bytes,3,opt,name=sizes,proto3" json:"sizes,omitempty"`
	// Configured chart margins.
	Margins *ChartMargins `protobuf:"bytes,4,opt,name=margins,proto3" json:"margins,omitempty"`
	// Configured chart axes.
	Axes *ChartAxes `protobuf:"bytes,5,opt,name=axes,proto3" json:"axes,omitempty"`
	// Configured chart views.
	Views []*ChartView `protobuf:"bytes,6,rep,name=views,proto3" json:"views,omitempty"`
	// contains filtered or unexported fields
}

RenderChartRequest represents chart rendering request.

func (*RenderChartRequest) Descriptor deprecated

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

Deprecated: Use RenderChartRequest.ProtoReflect.Descriptor instead.

func (*RenderChartRequest) GetAxes

func (x *RenderChartRequest) GetAxes() *ChartAxes

func (*RenderChartRequest) GetMargins

func (x *RenderChartRequest) GetMargins() *ChartMargins

func (*RenderChartRequest) GetRequestId

func (x *RenderChartRequest) GetRequestId() string

func (*RenderChartRequest) GetSizes

func (x *RenderChartRequest) GetSizes() *ChartSizes

func (*RenderChartRequest) GetTitle

func (x *RenderChartRequest) GetTitle() string

func (*RenderChartRequest) GetViews

func (x *RenderChartRequest) GetViews() []*ChartView

func (*RenderChartRequest) ProtoMessage

func (*RenderChartRequest) ProtoMessage()

func (*RenderChartRequest) ProtoReflect

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

func (*RenderChartRequest) Reset

func (x *RenderChartRequest) Reset()

func (*RenderChartRequest) String

func (x *RenderChartRequest) String() string

type UnimplementedChartAPIServer

type UnimplementedChartAPIServer struct {
}

UnimplementedChartAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedChartAPIServer) CreateChart

func (UnimplementedChartAPIServer) GetChart

type UnimplementedChartRendererServer

type UnimplementedChartRendererServer struct {
}

UnimplementedChartRendererServer must be embedded to have forward compatible implementations.

func (UnimplementedChartRendererServer) RenderChart

type UnsafeChartAPIServer

type UnsafeChartAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeChartAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChartAPIServer will result in compilation errors.

type UnsafeChartRendererServer

type UnsafeChartRendererServer interface {
	// contains filtered or unexported methods
}

UnsafeChartRendererServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChartRendererServer will result in compilation errors.

Jump to

Keyboard shortcuts

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