Versions in this module Expand all Collapse all v0 v0.1.0 Jan 30, 2019 Changes in this version + const HaveGraphSupport + var DefaultColorList = []string + var DefaultParams = PictureParams + func Description() map[string]types.FunctionDescription + func EvalExprGraph(e parser.Expr, from, until int32, ...) ([]*types.MetricData, error) + func MarshalPNG(params PictureParams, results []*types.MetricData) []byte + func MarshalPNGRequest(r *http.Request, results []*types.MetricData, templateName string) []byte + func MarshalSVG(params PictureParams, results []*types.MetricData) []byte + func MarshalSVGRequest(r *http.Request, results []*types.MetricData, templateName string) []byte + func SetColor(name, rgba string) error + func SetTemplate(name string, params PictureParams) + type AreaMode int + const AreaModeAll + const AreaModeFirst + const AreaModeNone + const AreaModeStacked + type FontSlant int + const FontSlantItalic + const FontSlantNormal + const FontSlantOblique + type FontWeight int + const FontWeightBold + const FontWeightNormal + type LineMode int + const LineModeConnected + const LineModeSlope + const LineModeStaircase + type PictureParams struct + AreaAlpha float64 + AreaMode AreaMode + BgColor string + ColorList []string + ConnectedLimit int + DrawAsInfinite bool + DrawNullAsZero bool + FgColor string + FontBold FontWeight + FontItalic FontSlant + FontName string + FontSize float64 + GraphOnly bool + Height float64 + HideAxes bool + HideGrid bool + HideLegend bool + HideXAxis bool + HideYAxis bool + LeftColor string + LeftDashed bool + LeftWidth float64 + LineMode LineMode + LineWidth float64 + LogBase float64 + MajorGridLineColor string + MajorLine string + Margin int + MinorGridLineColor string + MinorLine string + MinorY int + PieMode PieMode + PixelRatio float64 + RightColor string + RightDashed bool + RightWidth float64 + Title string + Tz *time.Location + UniqueLegend bool + Vtitle string + VtitleRight string + Width float64 + XFormat string + XMax float64 + XMin float64 + XStep float64 + YAxisSide YAxisSide + YDivisors []float64 + YLimitLeft float64 + YLimitRight float64 + YMax float64 + YMaxLeft float64 + YMaxRight float64 + YMin float64 + YMinLeft float64 + YMinRight float64 + YStep float64 + YStepL float64 + YStepR float64 + YUnitSystem string + func GetPictureParams(r *http.Request, metricData []*types.MetricData) PictureParams + func GetPictureParamsWithTemplate(r *http.Request, template string, metricData []*types.MetricData) PictureParams + type PieMode int + const PieModeAverage + const PieModeMaximum + const PieModeMinimum + type YAxisSide int + const YAxisSideLeft + const YAxisSideRight