From 3e6f54fa68b55f0b32c0808deb030c7a0d7f3c7d Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 21 Sep 2023 21:33:55 +0200 Subject: [PATCH] fix paths from git.gutmet.org to fireandbrimst.one/aw --- _examples/annotations/main.go | 2 +- _examples/axes/main.go | 2 +- _examples/axes_labels/main.go | 2 +- _examples/bar_chart/main.go | 2 +- _examples/bar_chart_base_value/main.go | 4 ++-- _examples/basic/main.go | 2 +- _examples/benchmark_line_charts/main.go | 2 +- _examples/css_classes/main.go | 3 ++- _examples/custom_formatters/main.go | 2 +- _examples/custom_padding/main.go | 6 +++--- _examples/custom_ranges/main.go | 2 +- _examples/custom_styles/main.go | 4 ++-- _examples/custom_ticks/main.go | 2 +- _examples/descending/main.go | 2 +- _examples/image_writer/main.go | 2 +- _examples/legend/main.go | 2 +- _examples/legend_left/main.go | 2 +- _examples/linear_regression/main.go | 4 ++-- _examples/min_max/main.go | 4 ++-- _examples/pie_chart/main.go | 2 +- _examples/poly_regression/main.go | 4 ++-- _examples/request_timings/main.go | 4 ++-- _examples/rerender/main.go | 4 ++-- _examples/scatter/main.go | 6 +++--- _examples/simple_moving_average/main.go | 4 ++-- _examples/stacked_bar/main.go | 2 +- _examples/stock_analysis/main.go | 4 ++-- _examples/text_rotation/main.go | 4 ++-- _examples/timeseries/main.go | 2 +- _examples/twoaxis/main.go | 4 ++-- _examples/twopoint/main.go | 2 +- annotation_series.go | 2 +- bar_chart.go | 4 ++-- bollinger_band_series.go | 2 +- box.go | 2 +- chart.go | 4 ++-- colors.go | 2 +- draw.go | 2 +- drawing/drawing.go | 2 +- drawing/free_type_path.go | 4 ++-- drawing/graphic_context.go | 2 +- drawing/painter.go | 6 +++--- drawing/raster_graphic_context.go | 12 ++++++------ drawing/stack_graphic_context.go | 2 +- drawing/text.go | 4 ++-- drawing/util.go | 6 +++--- font.go | 4 ++-- jet.go | 2 +- legend.go | 4 ++-- linear_regression_series.go | 4 ++-- pie_chart.go | 4 ++-- polynomial_regression_series.go | 4 ++-- raster_renderer.go | 6 +++--- renderer.go | 4 ++-- seq/buffer.go | 2 +- seq/time.go | 2 +- seq/times.go | 2 +- sma_series.go | 2 +- stacked_bar_chart.go | 6 +++--- style.go | 6 +++--- text.go | 2 +- tick.go | 2 +- time_series.go | 2 +- value.go | 2 +- value_provider.go | 2 +- vector_renderer.go | 10 +++++----- viridis.go | 2 +- xaxis.go | 8 ++++---- yaxis.go | 8 ++++---- 69 files changed, 120 insertions(+), 119 deletions(-) diff --git a/_examples/annotations/main.go b/_examples/annotations/main.go index 84adbf4..912bfed 100644 --- a/_examples/annotations/main.go +++ b/_examples/annotations/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/axes/main.go b/_examples/axes/main.go index b2b3b53..9da8f70 100644 --- a/_examples/axes/main.go +++ b/_examples/axes/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/axes_labels/main.go b/_examples/axes_labels/main.go index 6fd4cb2..da39433 100644 --- a/_examples/axes_labels/main.go +++ b/_examples/axes_labels/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/bar_chart/main.go b/_examples/bar_chart/main.go index bfc4b85..cd64178 100644 --- a/_examples/bar_chart/main.go +++ b/_examples/bar_chart/main.go @@ -6,7 +6,7 @@ import ( "net/http" "os" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/bar_chart_base_value/main.go b/_examples/bar_chart_base_value/main.go index a03f0c7..d810b78 100644 --- a/_examples/bar_chart_base_value/main.go +++ b/_examples/bar_chart_base_value/main.go @@ -6,8 +6,8 @@ import ( "net/http" "os" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/drawing" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/drawing" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/basic/main.go b/_examples/basic/main.go index 7f4ebce..d70e80c 100644 --- a/_examples/basic/main.go +++ b/_examples/basic/main.go @@ -4,7 +4,7 @@ import ( "log" "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/benchmark_line_charts/main.go b/_examples/benchmark_line_charts/main.go index 57fc3bf..aa18511 100644 --- a/_examples/benchmark_line_charts/main.go +++ b/_examples/benchmark_line_charts/main.go @@ -8,7 +8,7 @@ import ( "strconv" "time" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func random(min, max float64) float64 { diff --git a/_examples/css_classes/main.go b/_examples/css_classes/main.go index 2378c8d..1a50a5e 100644 --- a/_examples/css_classes/main.go +++ b/_examples/css_classes/main.go @@ -2,9 +2,10 @@ package main import ( "fmt" - "git.gutmet.org/go-chart.git" "log" "net/http" + + "git.fireandbrimst.one/aw/go-chart" ) // Note: Additional examples on how to add Stylesheets are in the custom_stylesheets example diff --git a/_examples/custom_formatters/main.go b/_examples/custom_formatters/main.go index 5885d3e..af5f0b3 100644 --- a/_examples/custom_formatters/main.go +++ b/_examples/custom_formatters/main.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/custom_padding/main.go b/_examples/custom_padding/main.go index d240b42..3fd1fbd 100644 --- a/_examples/custom_padding/main.go +++ b/_examples/custom_padding/main.go @@ -3,9 +3,9 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/drawing" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/go-chart/seq" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/custom_ranges/main.go b/_examples/custom_ranges/main.go index e123a48..6ee1650 100644 --- a/_examples/custom_ranges/main.go +++ b/_examples/custom_ranges/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/custom_styles/main.go b/_examples/custom_styles/main.go index 4e93b57..5508fdf 100644 --- a/_examples/custom_styles/main.go +++ b/_examples/custom_styles/main.go @@ -3,8 +3,8 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/drawing" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/drawing" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/custom_ticks/main.go b/_examples/custom_ticks/main.go index acd7dfa..53c44b6 100644 --- a/_examples/custom_ticks/main.go +++ b/_examples/custom_ticks/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/descending/main.go b/_examples/descending/main.go index 44bcf4e..9c3d5c0 100644 --- a/_examples/descending/main.go +++ b/_examples/descending/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/image_writer/main.go b/_examples/image_writer/main.go index 034dd39..fb232bc 100644 --- a/_examples/image_writer/main.go +++ b/_examples/image_writer/main.go @@ -4,7 +4,7 @@ import ( "fmt" "log" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func main() { diff --git a/_examples/legend/main.go b/_examples/legend/main.go index 8594f92..8ba9f07 100644 --- a/_examples/legend/main.go +++ b/_examples/legend/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/legend_left/main.go b/_examples/legend_left/main.go index 18e494a..c7ac24d 100644 --- a/_examples/legend_left/main.go +++ b/_examples/legend_left/main.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/linear_regression/main.go b/_examples/linear_regression/main.go index 10b77b7..2f3ac3b 100644 --- a/_examples/linear_regression/main.go +++ b/_examples/linear_regression/main.go @@ -3,8 +3,8 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/seq" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/min_max/main.go b/_examples/min_max/main.go index 994b469..a182b98 100644 --- a/_examples/min_max/main.go +++ b/_examples/min_max/main.go @@ -3,8 +3,8 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/seq" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/pie_chart/main.go b/_examples/pie_chart/main.go index 4f9b29d..898ff71 100644 --- a/_examples/pie_chart/main.go +++ b/_examples/pie_chart/main.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/poly_regression/main.go b/_examples/poly_regression/main.go index 429a4cb..83f2a38 100644 --- a/_examples/poly_regression/main.go +++ b/_examples/poly_regression/main.go @@ -3,8 +3,8 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/seq" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/request_timings/main.go b/_examples/request_timings/main.go index 41a5bf7..85dafc3 100644 --- a/_examples/request_timings/main.go +++ b/_examples/request_timings/main.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "git.gutmet.org/go-chart.git" - util "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart" + util "git.fireandbrimst.one/aw/go-chart/util" ) func parseInt(str string) int { diff --git a/_examples/rerender/main.go b/_examples/rerender/main.go index 5e818c3..a7efafe 100644 --- a/_examples/rerender/main.go +++ b/_examples/rerender/main.go @@ -6,9 +6,9 @@ import ( "sync" "time" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/util" - chart "git.gutmet.org/go-chart.git" + chart "git.fireandbrimst.one/aw/go-chart" ) var lock sync.Mutex diff --git a/_examples/scatter/main.go b/_examples/scatter/main.go index 93473a4..2bfd3ad 100644 --- a/_examples/scatter/main.go +++ b/_examples/scatter/main.go @@ -6,9 +6,9 @@ import ( _ "net/http/pprof" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/drawing" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/go-chart/seq" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/simple_moving_average/main.go b/_examples/simple_moving_average/main.go index d789861..d47efd0 100644 --- a/_examples/simple_moving_average/main.go +++ b/_examples/simple_moving_average/main.go @@ -3,8 +3,8 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/seq" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/stacked_bar/main.go b/_examples/stacked_bar/main.go index c9e0657..4bcfda3 100644 --- a/_examples/stacked_bar/main.go +++ b/_examples/stacked_bar/main.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/stock_analysis/main.go b/_examples/stock_analysis/main.go index eb93b90..3c4f51c 100644 --- a/_examples/stock_analysis/main.go +++ b/_examples/stock_analysis/main.go @@ -4,8 +4,8 @@ import ( "net/http" "time" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/drawing" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/drawing" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/text_rotation/main.go b/_examples/text_rotation/main.go index d3cfcc3..8530442 100644 --- a/_examples/text_rotation/main.go +++ b/_examples/text_rotation/main.go @@ -3,8 +3,8 @@ package main import ( "net/http" - "git.gutmet.org/go-chart.git" - "git.gutmet.org/go-chart.git/drawing" + "git.fireandbrimst.one/aw/go-chart" + "git.fireandbrimst.one/aw/go-chart/drawing" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/timeseries/main.go b/_examples/timeseries/main.go index 77a198f..cdbbf4a 100644 --- a/_examples/timeseries/main.go +++ b/_examples/timeseries/main.go @@ -4,7 +4,7 @@ import ( "net/http" "time" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/twoaxis/main.go b/_examples/twoaxis/main.go index aa31586..45ec63d 100644 --- a/_examples/twoaxis/main.go +++ b/_examples/twoaxis/main.go @@ -4,8 +4,8 @@ import ( "fmt" "net/http" - "git.gutmet.org/go-chart.git" - util "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart" + util "git.fireandbrimst.one/aw/go-chart/util" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/_examples/twopoint/main.go b/_examples/twopoint/main.go index ec051c8..4752b77 100644 --- a/_examples/twopoint/main.go +++ b/_examples/twopoint/main.go @@ -5,7 +5,7 @@ import ( "log" "os" - "git.gutmet.org/go-chart.git" + "git.fireandbrimst.one/aw/go-chart" ) func main() { diff --git a/annotation_series.go b/annotation_series.go index 71024a5..dd98640 100644 --- a/annotation_series.go +++ b/annotation_series.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) // Interface Assertions. diff --git a/bar_chart.go b/bar_chart.go index 118099f..efd0ad6 100644 --- a/bar_chart.go +++ b/bar_chart.go @@ -6,8 +6,8 @@ import ( "io" "math" - "git.gutmet.org/golang-freetype.git/truetype" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // BarChart is a chart that draws bars on a range. diff --git a/bollinger_band_series.go b/bollinger_band_series.go index ba5e28a..639851e 100644 --- a/bollinger_band_series.go +++ b/bollinger_band_series.go @@ -3,7 +3,7 @@ package chart import ( "fmt" - "git.gutmet.org/go-chart.git/seq" + "git.fireandbrimst.one/aw/go-chart/seq" ) // Interface Assertions. diff --git a/box.go b/box.go index bf6af16..ffe29b0 100644 --- a/box.go +++ b/box.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) var ( diff --git a/chart.go b/chart.go index 1c5495e..522bc7f 100644 --- a/chart.go +++ b/chart.go @@ -6,8 +6,8 @@ import ( "io" "math" - "git.gutmet.org/golang-freetype.git/truetype" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // Chart is what we're drawing. diff --git a/colors.go b/colors.go index b029bd4..0397bfb 100644 --- a/colors.go +++ b/colors.go @@ -1,6 +1,6 @@ package chart -import "git.gutmet.org/go-chart.git/drawing" +import "git.fireandbrimst.one/aw/go-chart/drawing" var ( // ColorWhite is white. diff --git a/draw.go b/draw.go index 5447a45..5689f10 100644 --- a/draw.go +++ b/draw.go @@ -3,7 +3,7 @@ package chart import ( "math" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) var ( diff --git a/drawing/drawing.go b/drawing/drawing.go index c99285c..c6388e8 100644 --- a/drawing/drawing.go +++ b/drawing/drawing.go @@ -3,7 +3,7 @@ package drawing import ( "image/color" - "git.gutmet.org/golang-freetype.git/truetype" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // FillRule defines the type for fill rules diff --git a/drawing/free_type_path.go b/drawing/free_type_path.go index 013b53c..88468b1 100644 --- a/drawing/free_type_path.go +++ b/drawing/free_type_path.go @@ -1,8 +1,8 @@ package drawing import ( - "git.gutmet.org/golang-freetype.git/raster" - "git.gutmet.org/golang-image.git/math/fixed" + "git.fireandbrimst.one/aw/golang-freetype/raster" + "git.fireandbrimst.one/aw/golang-image/math/fixed" ) // FtLineBuilder is a builder for freetype raster glyphs. diff --git a/drawing/graphic_context.go b/drawing/graphic_context.go index ad22e17..ff81eaa 100644 --- a/drawing/graphic_context.go +++ b/drawing/graphic_context.go @@ -4,7 +4,7 @@ import ( "image" "image/color" - "git.gutmet.org/golang-freetype.git/truetype" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // GraphicContext describes the interface for the various backends (images, pdf, opengl, ...) diff --git a/drawing/painter.go b/drawing/painter.go index 847a1eb..96da1f7 100644 --- a/drawing/painter.go +++ b/drawing/painter.go @@ -4,10 +4,10 @@ import ( "image" "image/color" - "git.gutmet.org/golang-image.git/draw" - "git.gutmet.org/golang-image.git/math/f64" + "git.fireandbrimst.one/aw/golang-image/draw" + "git.fireandbrimst.one/aw/golang-image/math/f64" - "git.gutmet.org/golang-freetype.git/raster" + "git.fireandbrimst.one/aw/golang-freetype/raster" ) // Painter implements the freetype raster.Painter and has a SetColor method like the RGBAPainter diff --git a/drawing/raster_graphic_context.go b/drawing/raster_graphic_context.go index fb9a66b..cbd8085 100644 --- a/drawing/raster_graphic_context.go +++ b/drawing/raster_graphic_context.go @@ -6,11 +6,11 @@ import ( "image/color" "math" - "git.gutmet.org/golang-freetype.git/raster" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/golang-image.git/draw" - "git.gutmet.org/golang-image.git/font" - "git.gutmet.org/golang-image.git/math/fixed" + "git.fireandbrimst.one/aw/golang-freetype/raster" + "git.fireandbrimst.one/aw/golang-freetype/truetype" + "git.fireandbrimst.one/aw/golang-image/draw" + "git.fireandbrimst.one/aw/golang-image/font" + "git.fireandbrimst.one/aw/golang-image/math/fixed" ) // NewRasterGraphicContext creates a new Graphic context from an image. @@ -206,7 +206,7 @@ func (rgc *RasterGraphicContext) GetFont() *truetype.Font { return rgc.current.Font } -// SetFontSize sets the font size in points (as in ``a 12 point font''). +// SetFontSize sets the font size in points (as in “a 12 point font”). func (rgc *RasterGraphicContext) SetFontSize(fontSizePoints float64) { rgc.current.FontSizePoints = fontSizePoints rgc.recalc() diff --git a/drawing/stack_graphic_context.go b/drawing/stack_graphic_context.go index 73c92ac..a335957 100644 --- a/drawing/stack_graphic_context.go +++ b/drawing/stack_graphic_context.go @@ -4,7 +4,7 @@ import ( "image" "image/color" - "git.gutmet.org/golang-freetype.git/truetype" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // StackGraphicContext is a context that does thngs. diff --git a/drawing/text.go b/drawing/text.go index 958bf4f..6713d17 100644 --- a/drawing/text.go +++ b/drawing/text.go @@ -1,8 +1,8 @@ package drawing import ( - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/golang-image.git/math/fixed" + "git.fireandbrimst.one/aw/golang-freetype/truetype" + "git.fireandbrimst.one/aw/golang-image/math/fixed" ) // DrawContour draws the given closed contour at the given sub-pixel offset. diff --git a/drawing/util.go b/drawing/util.go index 1e6db8e..5efe09e 100644 --- a/drawing/util.go +++ b/drawing/util.go @@ -3,10 +3,10 @@ package drawing import ( "math" - "git.gutmet.org/golang-image.git/math/fixed" + "git.fireandbrimst.one/aw/golang-image/math/fixed" - "git.gutmet.org/golang-freetype.git/raster" - "git.gutmet.org/golang-freetype.git/truetype" + "git.fireandbrimst.one/aw/golang-freetype/raster" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // PixelsToPoints returns the points for a given number of pixels at a DPI. diff --git a/font.go b/font.go index af88a92..e3856eb 100644 --- a/font.go +++ b/font.go @@ -3,8 +3,8 @@ package chart import ( "sync" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/roboto" + "git.fireandbrimst.one/aw/go-chart/roboto" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) var ( diff --git a/jet.go b/jet.go index 0f0d9c7..4c7621b 100644 --- a/jet.go +++ b/jet.go @@ -1,6 +1,6 @@ package chart -import "git.gutmet.org/go-chart.git/drawing" +import "git.fireandbrimst.one/aw/go-chart/drawing" // Jet is a color map provider based on matlab's jet color map. func Jet(v, vmin, vmax float64) drawing.Color { diff --git a/legend.go b/legend.go index 0998f8e..96dca29 100644 --- a/legend.go +++ b/legend.go @@ -1,8 +1,8 @@ package chart import ( - "git.gutmet.org/go-chart.git/drawing" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/go-chart/util" ) // Legend returns a legend renderable function. diff --git a/linear_regression_series.go b/linear_regression_series.go index 1107961..11706f1 100644 --- a/linear_regression_series.go +++ b/linear_regression_series.go @@ -3,8 +3,8 @@ package chart import ( "fmt" - "git.gutmet.org/go-chart.git/seq" - util "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/seq" + util "git.fireandbrimst.one/aw/go-chart/util" ) // Interface Assertions. diff --git a/pie_chart.go b/pie_chart.go index e53126f..d810482 100644 --- a/pie_chart.go +++ b/pie_chart.go @@ -6,8 +6,8 @@ import ( "io" "math" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) const ( diff --git a/polynomial_regression_series.go b/polynomial_regression_series.go index 7519c8f..e977305 100644 --- a/polynomial_regression_series.go +++ b/polynomial_regression_series.go @@ -4,8 +4,8 @@ import ( "fmt" "math" - "git.gutmet.org/go-chart.git/matrix" - util "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/matrix" + util "git.fireandbrimst.one/aw/go-chart/util" ) // Interface Assertions. diff --git a/raster_renderer.go b/raster_renderer.go index e16f6e4..7fc88e8 100644 --- a/raster_renderer.go +++ b/raster_renderer.go @@ -6,9 +6,9 @@ import ( "io" "math" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/drawing" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // PNG returns a new png/raster renderer. diff --git a/renderer.go b/renderer.go index e49e60d..ecde404 100644 --- a/renderer.go +++ b/renderer.go @@ -3,8 +3,8 @@ package chart import ( "io" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/drawing" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // Renderer represents the basic methods required to draw a chart. diff --git a/seq/buffer.go b/seq/buffer.go index 7d2921f..2b1a45e 100644 --- a/seq/buffer.go +++ b/seq/buffer.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) const ( diff --git a/seq/time.go b/seq/time.go index 893135c..9e672db 100644 --- a/seq/time.go +++ b/seq/time.go @@ -3,7 +3,7 @@ package seq import ( "time" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/util" ) // Time is a utility singleton with helper functions for time seq generation. diff --git a/seq/times.go b/seq/times.go index 06fc864..7fbd73d 100644 --- a/seq/times.go +++ b/seq/times.go @@ -3,7 +3,7 @@ package seq import ( "time" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/util" ) // Assert types implement interfaces. diff --git a/sma_series.go b/sma_series.go index 77c3719..0aa1d40 100644 --- a/sma_series.go +++ b/sma_series.go @@ -3,7 +3,7 @@ package chart import ( "fmt" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) const ( diff --git a/stacked_bar_chart.go b/stacked_bar_chart.go index be991b6..9742c16 100644 --- a/stacked_bar_chart.go +++ b/stacked_bar_chart.go @@ -6,9 +6,9 @@ import ( "io" "math" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/seq" - util "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/seq" + util "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // StackedBar is a bar within a StackedBarChart. diff --git a/style.go b/style.go index 1bbc5e0..f6ab5bb 100644 --- a/style.go +++ b/style.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/drawing" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) const ( diff --git a/text.go b/text.go index 7e60909..6ff3d81 100644 --- a/text.go +++ b/text.go @@ -3,7 +3,7 @@ package chart import ( "strings" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) // TextHorizontalAlign is an enum for the horizontal alignment options. diff --git a/tick.go b/tick.go index 53584b7..4ccc7e7 100644 --- a/tick.go +++ b/tick.go @@ -5,7 +5,7 @@ import ( "math" "strings" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) // TicksProvider is a type that provides ticks. diff --git a/time_series.go b/time_series.go index e93c240..7638aab 100644 --- a/time_series.go +++ b/time_series.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) // Interface Assertions. diff --git a/value.go b/value.go index 73efc20..a79525f 100644 --- a/value.go +++ b/value.go @@ -1,6 +1,6 @@ package chart -import util "git.gutmet.org/go-chart.git/util" +import util "git.fireandbrimst.one/aw/go-chart/util" // Value is a chart value. type Value struct { diff --git a/value_provider.go b/value_provider.go index d99d441..50da775 100644 --- a/value_provider.go +++ b/value_provider.go @@ -1,6 +1,6 @@ package chart -import "git.gutmet.org/go-chart.git/drawing" +import "git.fireandbrimst.one/aw/go-chart/drawing" // ValuesProvider is a type that produces values. type ValuesProvider interface { diff --git a/vector_renderer.go b/vector_renderer.go index c03ae78..360c340 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -7,11 +7,11 @@ import ( "math" "strings" - "git.gutmet.org/golang-image.git/font" + "git.fireandbrimst.one/aw/golang-image/font" - "git.gutmet.org/golang-freetype.git/truetype" - "git.gutmet.org/go-chart.git/drawing" - "git.gutmet.org/go-chart.git/util" + "git.fireandbrimst.one/aw/go-chart/drawing" + "git.fireandbrimst.one/aw/go-chart/util" + "git.fireandbrimst.one/aw/golang-freetype/truetype" ) // SVG returns a new png/raster renderer. @@ -30,7 +30,7 @@ func SVG(width, height int) (Renderer, error) { // SVGWithCSS returns a new png/raster renderer with attached custom CSS // The optional nonce argument sets a CSP nonce. -func SVGWithCSS(css string, nonce string) (func(width, height int)(Renderer, error)) { +func SVGWithCSS(css string, nonce string) func(width, height int) (Renderer, error) { return func(width, height int) (Renderer, error) { buffer := bytes.NewBuffer([]byte{}) canvas := newCanvas(buffer) diff --git a/viridis.go b/viridis.go index b7ce272..7552222 100644 --- a/viridis.go +++ b/viridis.go @@ -1,6 +1,6 @@ package chart -import "git.gutmet.org/go-chart.git/drawing" +import "git.fireandbrimst.one/aw/go-chart/drawing" var viridisColors = [256]drawing.Color{ drawing.Color{R: 0x44, G: 0x1, B: 0x54, A: 0xff}, diff --git a/xaxis.go b/xaxis.go index 9175b1b..8d071c1 100644 --- a/xaxis.go +++ b/xaxis.go @@ -3,7 +3,7 @@ package chart import ( "math" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) // XAxis represents the horizontal axis. @@ -55,9 +55,9 @@ func (xa XAxis) GetTickPosition(defaults ...TickPosition) TickPosition { // GetTicks returns the ticks for a series. // The coalesce priority is: -// - User Supplied Ticks (i.e. Ticks array on the axis itself). -// - Range ticks (i.e. if the range provides ticks). -// - Generating continuous ticks based on minimum spacing and canvas width. +// - User Supplied Ticks (i.e. Ticks array on the axis itself). +// - Range ticks (i.e. if the range provides ticks). +// - Generating continuous ticks based on minimum spacing and canvas width. func (xa XAxis) GetTicks(r Renderer, ra Range, defaults Style, vf ValueFormatter) []Tick { if len(xa.Ticks) > 0 { return xa.Ticks diff --git a/yaxis.go b/yaxis.go index cf87bcb..944c9ef 100644 --- a/yaxis.go +++ b/yaxis.go @@ -3,7 +3,7 @@ package chart import ( "math" - util "git.gutmet.org/go-chart.git/util" + util "git.fireandbrimst.one/aw/go-chart/util" ) // YAxis is a veritcal rule of the range. @@ -60,9 +60,9 @@ func (ya YAxis) GetTickStyle() Style { // GetTicks returns the ticks for a series. // The coalesce priority is: -// - User Supplied Ticks (i.e. Ticks array on the axis itself). -// - Range ticks (i.e. if the range provides ticks). -// - Generating continuous ticks based on minimum spacing and canvas width. +// - User Supplied Ticks (i.e. Ticks array on the axis itself). +// - Range ticks (i.e. if the range provides ticks). +// - Generating continuous ticks based on minimum spacing and canvas width. func (ya YAxis) GetTicks(r Renderer, ra Range, defaults Style, vf ValueFormatter) []Tick { if len(ya.Ticks) > 0 { return ya.Ticks