Documentation
¶
Index ¶
- Variables
- func AreaCreateChartRequest() *render.CreateChartRequest
- func AreaView() *render.ChartView
- func AreaViewBadRGBColor() *render.ChartView
- func AreaViewWithDefaults() *render.ChartView
- func BadMarginsCreateChartRequest() *render.CreateChartRequest
- func BadSizesCreateChartRequest() *render.CreateChartRequest
- func BandChartScale() *render.ChartScale
- func BandChartScaleWithRanges(rangeStart, rangeEnd int32) *render.ChartScale
- func BandChartScaleWithoutCategoriesDomain() *render.ChartScale
- func BandChartScaleWithoutDomain() *render.ChartScale
- func BandChartScaleWithoutKind() *render.ChartScale
- func BandChartScaleWithoutRanges() *render.ChartScale
- func ColorsDefault() *render.ChartViewColors
- func GetChartRequest(chartID string) *render.GetChartRequest
- func HorizontalBarView() *render.ChartView
- func HorizontalBarViewWithDefaults() *render.ChartView
- func HorizontalBarViewWithoutValues() *render.ChartView
- func LineView() *render.ChartView
- func LineViewWithDefaults() *render.ChartView
- func LinearChartScale() *render.ChartScale
- func LinearChartScaleWithDefaults() *render.ChartScale
- func LinearChartScaleWithDefaultsAndInvertedRanges() *render.ChartScale
- func LinearChartScaleWithRangesAndPaddings(rangeStart, rangeEnd int32) *render.ChartScale
- func LinearChartScaleWithoutNumericDomain() *render.ChartScale
- func LinearChartScaleWithoutRanges() *render.ChartScale
- func ScatterView() *render.ChartView
- func ScatterViewWithDefaults() *render.ChartView
- func UnspecifiedKindView() *render.ChartView
- func VerticalBarAndLineCreateChartRequest() *render.CreateChartRequest
- func VerticalBarView() *render.ChartView
- func VerticalBarViewWithDefaults() *render.ChartView
- type Opts
- type TestingChartRendererServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequestCancelled = errors.New("request to testing lc-renderer is cancelled")
ErrRequestCancelled contains error message about cancelled testing lc-renderer request.
Functions ¶
func AreaCreateChartRequest ¶
func AreaCreateChartRequest() *render.CreateChartRequest
func AreaViewBadRGBColor ¶
func AreaViewWithDefaults ¶
func BadMarginsCreateChartRequest ¶
func BadMarginsCreateChartRequest() *render.CreateChartRequest
func BadSizesCreateChartRequest ¶
func BadSizesCreateChartRequest() *render.CreateChartRequest
func BandChartScale ¶
func BandChartScale() *render.ChartScale
func BandChartScaleWithRanges ¶
func BandChartScaleWithRanges(rangeStart, rangeEnd int32) *render.ChartScale
func BandChartScaleWithoutCategoriesDomain ¶
func BandChartScaleWithoutCategoriesDomain() *render.ChartScale
func BandChartScaleWithoutDomain ¶
func BandChartScaleWithoutDomain() *render.ChartScale
func BandChartScaleWithoutKind ¶
func BandChartScaleWithoutKind() *render.ChartScale
func BandChartScaleWithoutRanges ¶
func BandChartScaleWithoutRanges() *render.ChartScale
func ColorsDefault ¶
func ColorsDefault() *render.ChartViewColors
func GetChartRequest ¶
func GetChartRequest(chartID string) *render.GetChartRequest
func HorizontalBarView ¶
func LineViewWithDefaults ¶
func LinearChartScale ¶
func LinearChartScale() *render.ChartScale
func LinearChartScaleWithDefaults ¶
func LinearChartScaleWithDefaults() *render.ChartScale
func LinearChartScaleWithDefaultsAndInvertedRanges ¶
func LinearChartScaleWithDefaultsAndInvertedRanges() *render.ChartScale
func LinearChartScaleWithRangesAndPaddings ¶
func LinearChartScaleWithRangesAndPaddings(rangeStart, rangeEnd int32) *render.ChartScale
func LinearChartScaleWithoutNumericDomain ¶
func LinearChartScaleWithoutNumericDomain() *render.ChartScale
func LinearChartScaleWithoutRanges ¶
func LinearChartScaleWithoutRanges() *render.ChartScale
func ScatterView ¶
func ScatterViewWithDefaults ¶
func UnspecifiedKindView ¶
func VerticalBarAndLineCreateChartRequest ¶
func VerticalBarAndLineCreateChartRequest() *render.CreateChartRequest
func VerticalBarView ¶
Types ¶
type TestingChartRendererServer ¶
type TestingChartRendererServer struct {
render.UnimplementedChartRendererServer
// contains filtered or unexported fields
}
TestingChartRendererServer implements render.ChartRendererServer.
func NewTestingChartRendererServer ¶
func NewTestingChartRendererServer(opts Opts) (*TestingChartRendererServer, error)
NewTestingChartRendererServer returns a new TestingChartRendererServer.
func (*TestingChartRendererServer) Address ¶
func (s *TestingChartRendererServer) Address() string
Address returns listener address.
func (*TestingChartRendererServer) RenderChart ¶
func (s *TestingChartRendererServer) RenderChart(ctx context.Context, req *render.RenderChartRequest) (*render.RenderChartReply, error)
RenderChart implements render.ChartRendererServer.RenderChart.
Click to show internal directories.
Click to hide internal directories.