change import paths
This commit is contained in:
parent
3cb33d48d3
commit
ee46aad5c1
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface Assertions.
|
// Interface Assertions.
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestAnnotationSeriesMeasure(t *testing.T) {
|
func TestAnnotationSeriesMeasure(t *testing.T) {
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BarChart is a chart that draws bars on a range.
|
// BarChart is a chart that draws bars on a range.
|
||||||
|
|
|
@ -3,7 +3,7 @@ package chart
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface Assertions.
|
// Interface Assertions.
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBollingerBandSeries(t *testing.T) {
|
func TestBollingerBandSeries(t *testing.T) {
|
||||||
|
|
2
box.go
2
box.go
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
4
chart.go
4
chart.go
|
@ -6,8 +6,8 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Chart is what we're drawing.
|
// Chart is what we're drawing.
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestChartGetDPI(t *testing.T) {
|
func TestChartGetDPI(t *testing.T) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import "github.com/wcharczuk/go-chart/drawing"
|
import "git.gutmet.org/go-chart.git/drawing"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// ColorWhite is white.
|
// ColorWhite is white.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
assert "github.com/blend/go-sdk/assert"
|
assert "github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestConcatSeries(t *testing.T) {
|
func TestConcatSeries(t *testing.T) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRangeTranslate(t *testing.T) {
|
func TestRangeTranslate(t *testing.T) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
assert "github.com/blend/go-sdk/assert"
|
assert "github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestContinuousSeries(t *testing.T) {
|
func TestContinuousSeries(t *testing.T) {
|
||||||
|
|
2
draw.go
2
draw.go
|
@ -3,7 +3,7 @@ package chart
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -3,7 +3,7 @@ package drawing
|
||||||
import (
|
import (
|
||||||
"image/color"
|
"image/color"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FillRule defines the type for fill rules
|
// FillRule defines the type for fill rules
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package drawing
|
package drawing
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/golang/freetype/raster"
|
"git.gutmet.org/golang-freetype.git/raster"
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"image"
|
"image"
|
||||||
"image/color"
|
"image/color"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GraphicContext describes the interface for the various backends (images, pdf, opengl, ...)
|
// GraphicContext describes the interface for the various backends (images, pdf, opengl, ...)
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"golang.org/x/image/draw"
|
"golang.org/x/image/draw"
|
||||||
"golang.org/x/image/math/f64"
|
"golang.org/x/image/math/f64"
|
||||||
|
|
||||||
"github.com/golang/freetype/raster"
|
"git.gutmet.org/golang-freetype.git/raster"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Painter implements the freetype raster.Painter and has a SetColor method like the RGBAPainter
|
// Painter implements the freetype raster.Painter and has a SetColor method like the RGBAPainter
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"image/color"
|
"image/color"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/golang/freetype/raster"
|
"git.gutmet.org/golang-freetype.git/raster"
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"golang.org/x/image/draw"
|
"golang.org/x/image/draw"
|
||||||
"golang.org/x/image/font"
|
"golang.org/x/image/font"
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"image"
|
"image"
|
||||||
"image/color"
|
"image/color"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
)
|
)
|
||||||
|
|
||||||
// StackGraphicContext is a context that does thngs.
|
// StackGraphicContext is a context that does thngs.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package drawing
|
package drawing
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
|
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
|
|
||||||
"github.com/golang/freetype/raster"
|
"git.gutmet.org/golang-freetype.git/raster"
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PixelsToPoints returns the points for a given number of pixels at a DPI.
|
// PixelsToPoints returns the points for a given number of pixels at a DPI.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
4
font.go
4
font.go
|
@ -3,8 +3,8 @@ package chart
|
||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/roboto"
|
"git.gutmet.org/go-chart.git/roboto"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
assert "github.com/blend/go-sdk/assert"
|
assert "github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHistogramSeries(t *testing.T) {
|
func TestHistogramSeries(t *testing.T) {
|
||||||
|
|
2
jet.go
2
jet.go
|
@ -1,6 +1,6 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import "github.com/wcharczuk/go-chart/drawing"
|
import "git.gutmet.org/go-chart.git/drawing"
|
||||||
|
|
||||||
// Jet is a color map provider based on matlab's jet color map.
|
// Jet is a color map provider based on matlab's jet color map.
|
||||||
func Jet(v, vmin, vmax float64) drawing.Color {
|
func Jet(v, vmin, vmax float64) drawing.Color {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Legend returns a legend renderable function.
|
// Legend returns a legend renderable function.
|
||||||
|
|
|
@ -3,8 +3,8 @@ package chart
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface Assertions.
|
// Interface Assertions.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
assert "github.com/blend/go-sdk/assert"
|
assert "github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestLinearRegressionSeries(t *testing.T) {
|
func TestLinearRegressionSeries(t *testing.T) {
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/matrix"
|
"git.gutmet.org/go-chart.git/matrix"
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface Assertions.
|
// Interface Assertions.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
assert "github.com/blend/go-sdk/assert"
|
assert "github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/matrix"
|
"git.gutmet.org/go-chart.git/matrix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPolynomialRegression(t *testing.T) {
|
func TestPolynomialRegression(t *testing.T) {
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PNG returns a new png/raster renderer.
|
// PNG returns a new png/raster renderer.
|
||||||
|
|
|
@ -3,8 +3,8 @@ package chart
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Renderer represents the basic methods required to draw a chart.
|
// Renderer represents the basic methods required to draw a chart.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -3,7 +3,7 @@ package seq
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Time is a utility singleton with helper functions for time seq generation.
|
// Time is a utility singleton with helper functions for time seq generation.
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
assert "github.com/blend/go-sdk/assert"
|
assert "github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTimeHours(t *testing.T) {
|
func TestTimeHours(t *testing.T) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package seq
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Assert types implement interfaces.
|
// Assert types implement interfaces.
|
||||||
|
|
|
@ -3,7 +3,7 @@ package chart
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type mockValuesProvider struct {
|
type mockValuesProvider struct {
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/seq"
|
"git.gutmet.org/go-chart.git/seq"
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// StackedBar is a bar within a StackedBarChart.
|
// StackedBar is a bar within a StackedBarChart.
|
||||||
|
|
6
style.go
6
style.go
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStyleIsZero(t *testing.T) {
|
func TestStyleIsZero(t *testing.T) {
|
||||||
|
|
2
text.go
2
text.go
|
@ -3,7 +3,7 @@ package chart
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TextHorizontalAlign is an enum for the horizontal alignment options.
|
// TextHorizontalAlign is an enum for the horizontal alignment options.
|
||||||
|
|
2
tick.go
2
tick.go
|
@ -5,7 +5,7 @@ import (
|
||||||
"math"
|
"math"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TicksProvider is a type that provides ticks.
|
// TicksProvider is a type that provides ticks.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface Assertions.
|
// Interface Assertions.
|
||||||
|
|
2
value.go
2
value.go
|
@ -1,6 +1,6 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import util "github.com/wcharczuk/go-chart/util"
|
import util "git.gutmet.org/go-chart.git/util"
|
||||||
|
|
||||||
// Value is a chart value.
|
// Value is a chart value.
|
||||||
type Value struct {
|
type Value struct {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTimeValueFormatterWithFormat(t *testing.T) {
|
func TestTimeValueFormatterWithFormat(t *testing.T) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import "github.com/wcharczuk/go-chart/drawing"
|
import "git.gutmet.org/go-chart.git/drawing"
|
||||||
|
|
||||||
// ValuesProvider is a type that produces values.
|
// ValuesProvider is a type that produces values.
|
||||||
type ValuesProvider interface {
|
type ValuesProvider interface {
|
||||||
|
|
|
@ -9,9 +9,9 @@ import (
|
||||||
|
|
||||||
"golang.org/x/image/font"
|
"golang.org/x/image/font"
|
||||||
|
|
||||||
"github.com/golang/freetype/truetype"
|
"git.gutmet.org/golang-freetype.git/truetype"
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
"github.com/wcharczuk/go-chart/util"
|
"git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SVG returns a new png/raster renderer.
|
// SVG returns a new png/raster renderer.
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/blend/go-sdk/assert"
|
"github.com/blend/go-sdk/assert"
|
||||||
"github.com/wcharczuk/go-chart/drawing"
|
"git.gutmet.org/go-chart.git/drawing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestVectorRendererPath(t *testing.T) {
|
func TestVectorRendererPath(t *testing.T) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import "github.com/wcharczuk/go-chart/drawing"
|
import "git.gutmet.org/go-chart.git/drawing"
|
||||||
|
|
||||||
var viridisColors = [256]drawing.Color{
|
var viridisColors = [256]drawing.Color{
|
||||||
drawing.Color{R: 0x44, G: 0x1, B: 0x54, A: 0xff},
|
drawing.Color{R: 0x44, G: 0x1, B: 0x54, A: 0xff},
|
||||||
|
|
2
xaxis.go
2
xaxis.go
|
@ -3,7 +3,7 @@ package chart
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
util "github.com/wcharczuk/go-chart/util"
|
util "git.gutmet.org/go-chart.git/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// XAxis represents the horizontal axis.
|
// XAxis represents the horizontal axis.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user