From dadc1da7658f04cd255a4851fbc2d9e27b55d6a9 Mon Sep 17 00:00:00 2001 From: Erik Bunn Date: Mon, 27 Jun 2022 15:26:48 +0200 Subject: [PATCH] go.mod replace won't cut it, converting import paths to own version --- .circleci/config.yml | 2 +- README.md | 6 +++--- _examples/horizontal_stacked_bar/main.go | 4 ++-- _examples/stacked_bar_labels/main.go | 4 ++-- annotation_series_test.go | 4 ++-- bar_chart_test.go | 2 +- bollinger_band_series_test.go | 2 +- box_test.go | 2 +- chart_test.go | 4 ++-- cmd/chart/main.go | 2 +- colors.go | 2 +- concat_series_test.go | 2 +- continuous_range_test.go | 2 +- continuous_series_test.go | 2 +- donut_chart_test.go | 2 +- drawing/color_test.go | 2 +- drawing/curve_test.go | 2 +- ema_series_test.go | 2 +- 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 | 2 +- examples/custom_formatters/main.go | 2 +- examples/custom_padding/main.go | 4 ++-- examples/custom_ranges/main.go | 2 +- examples/custom_styles/main.go | 4 ++-- examples/custom_stylesheets/main.go | 2 +- examples/custom_ticks/main.go | 2 +- examples/descending/main.go | 2 +- examples/donut_chart/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 | 2 +- examples/min_max/main.go | 2 +- examples/pie_chart/main.go | 2 +- examples/poly_regression/main.go | 2 +- examples/request_timings/main.go | 2 +- examples/rerender/main.go | 2 +- examples/scatter/main.go | 4 ++-- examples/simple_moving_average/main.go | 2 +- 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 | 2 +- examples/twopoint/main.go | 2 +- first_value_annotation_test.go | 2 +- font.go | 2 +- go.mod | 4 ++-- grid_line_test.go | 2 +- histogram_series_test.go | 2 +- jet.go | 2 +- last_value_annotation_series_test.go | 2 +- legend.go | 2 +- legend_test.go | 2 +- linear_regression_series_test.go | 2 +- macd_series_test.go | 2 +- matrix/matrix_test.go | 2 +- matrix/regression_test.go | 2 +- percent_change_series_test.go | 2 +- pie_chart_test.go | 2 +- polynomial_regression_series.go | 2 +- polynomial_regression_test.go | 4 ++-- raster_renderer.go | 2 +- renderer.go | 2 +- seq_test.go | 2 +- sma_series_test.go | 2 +- stringutil_test.go | 2 +- style.go | 2 +- style_test.go | 4 ++-- text_test.go | 2 +- tick_test.go | 2 +- time_series_test.go | 2 +- value_buffer_test.go | 2 +- value_formatter_test.go | 2 +- value_provider.go | 2 +- value_test.go | 2 +- vector_renderer.go | 2 +- vector_renderer_test.go | 4 ++-- viridis.go | 2 +- xaxis_test.go | 2 +- yaxis_test.go | 2 +- 87 files changed, 103 insertions(+), 103 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 007a11c..bf65ba1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: build: - working_directory: /go/src/github.com/wcharczuk/go-chart + working_directory: /go/src/github.com/ebudan/go-chart docker: - image: circleci/golang:1.15 steps: diff --git a/README.md b/README.md index a0cdbc0..e026e12 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ go-chart ======== -[![CircleCI](https://circleci.com/gh/wcharczuk/go-chart.svg?style=svg)](https://circleci.com/gh/wcharczuk/go-chart) [![Go Report Card](https://goreportcard.com/badge/github.com/wcharczuk/go-chart)](https://goreportcard.com/report/github.com/wcharczuk/go-chart) +[![CircleCI](https://circleci.com/gh/wcharczuk/go-chart.svg?style=svg)](https://circleci.com/gh/wcharczuk/go-chart) [![Go Report Card](https://goreportcard.com/badge/github.com/ebudan/go-chart)](https://goreportcard.com/report/github.com/wcharczuk/go-chart) Package `chart` is a very simple golang native charting library that supports timeseries and continuous line charts. @@ -11,7 +11,7 @@ Master should now be on the v3.x codebase, which overhauls the api significantly To install `chart` run the following: ```bash -> go get -u github.com/wcharczuk/go-chart +> go get -u github.com/ebudan/go-chart ``` Most of the components are interchangeable so feel free to crib whatever you want. @@ -58,7 +58,7 @@ import ( ... "bytes" ... - "github.com/wcharczuk/go-chart" //exposes "chart" + "github.com/ebudan/go-chart" //exposes "chart" ) graph := chart.Chart{ diff --git a/_examples/horizontal_stacked_bar/main.go b/_examples/horizontal_stacked_bar/main.go index 5151524..1bf2073 100644 --- a/_examples/horizontal_stacked_bar/main.go +++ b/_examples/horizontal_stacked_bar/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/_examples/stacked_bar_labels/main.go b/_examples/stacked_bar_labels/main.go index a62103f..78dbd94 100644 --- a/_examples/stacked_bar_labels/main.go +++ b/_examples/stacked_bar_labels/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/annotation_series_test.go b/annotation_series_test.go index 1a33900..8d8b023 100644 --- a/annotation_series_test.go +++ b/annotation_series_test.go @@ -4,8 +4,8 @@ import ( "image/color" "testing" - "github.com/wcharczuk/go-chart/v2/drawing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/testutil" ) func TestAnnotationSeriesMeasure(t *testing.T) { diff --git a/bar_chart_test.go b/bar_chart_test.go index e62ef83..dc993b1 100644 --- a/bar_chart_test.go +++ b/bar_chart_test.go @@ -5,7 +5,7 @@ import ( "math" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestBarChartRender(t *testing.T) { diff --git a/bollinger_band_series_test.go b/bollinger_band_series_test.go index b33b0ec..bf5fe99 100644 --- a/bollinger_band_series_test.go +++ b/bollinger_band_series_test.go @@ -5,7 +5,7 @@ import ( "math" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestBollingerBandSeries(t *testing.T) { diff --git a/box_test.go b/box_test.go index e62d5b7..ff64ba5 100644 --- a/box_test.go +++ b/box_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestBoxClone(t *testing.T) { diff --git a/chart_test.go b/chart_test.go index 8026848..0eacdd6 100644 --- a/chart_test.go +++ b/chart_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/wcharczuk/go-chart/v2/drawing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/testutil" ) func TestChartGetDPI(t *testing.T) { diff --git a/cmd/chart/main.go b/cmd/chart/main.go index 82ed907..462e640 100644 --- a/cmd/chart/main.go +++ b/cmd/chart/main.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) var ( diff --git a/colors.go b/colors.go index b51f9ea..fdf2645 100644 --- a/colors.go +++ b/colors.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "github.com/ebudan/go-chart/v2/drawing" var ( // ColorWhite is white. diff --git a/concat_series_test.go b/concat_series_test.go index 9424fb2..4e85884 100644 --- a/concat_series_test.go +++ b/concat_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestConcatSeries(t *testing.T) { diff --git a/continuous_range_test.go b/continuous_range_test.go index 5d0f436..698f0ff 100644 --- a/continuous_range_test.go +++ b/continuous_range_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestRangeTranslate(t *testing.T) { diff --git a/continuous_series_test.go b/continuous_series_test.go index 783c236..a56463d 100644 --- a/continuous_series_test.go +++ b/continuous_series_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestContinuousSeries(t *testing.T) { diff --git a/donut_chart_test.go b/donut_chart_test.go index 388f65d..7585745 100644 --- a/donut_chart_test.go +++ b/donut_chart_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestDonutChart(t *testing.T) { diff --git a/drawing/color_test.go b/drawing/color_test.go index 15c3244..53999ff 100644 --- a/drawing/color_test.go +++ b/drawing/color_test.go @@ -5,7 +5,7 @@ import ( "image/color" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestColorFromHex(t *testing.T) { diff --git a/drawing/curve_test.go b/drawing/curve_test.go index 31abe8e..83d18c8 100644 --- a/drawing/curve_test.go +++ b/drawing/curve_test.go @@ -3,7 +3,7 @@ package drawing import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) type point struct { diff --git a/ema_series_test.go b/ema_series_test.go index 184319b..cdc996c 100644 --- a/ema_series_test.go +++ b/ema_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) var ( diff --git a/examples/annotations/main.go b/examples/annotations/main.go index 20bf01f..167bcfd 100644 --- a/examples/annotations/main.go +++ b/examples/annotations/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/axes/main.go b/examples/axes/main.go index a675bde..35237dd 100644 --- a/examples/axes/main.go +++ b/examples/axes/main.go @@ -5,7 +5,7 @@ package main import ( "os" - chart "github.com/wcharczuk/go-chart/v2" + chart "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/axes_labels/main.go b/examples/axes_labels/main.go index a68ac34..8d57e49 100644 --- a/examples/axes_labels/main.go +++ b/examples/axes_labels/main.go @@ -5,7 +5,7 @@ package main import ( "os" - chart "github.com/wcharczuk/go-chart/v2" + chart "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/bar_chart/main.go b/examples/bar_chart/main.go index 2a7895f..e13af1f 100644 --- a/examples/bar_chart/main.go +++ b/examples/bar_chart/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/bar_chart_base_value/main.go b/examples/bar_chart_base_value/main.go index f17b6b8..3ab336f 100644 --- a/examples/bar_chart_base_value/main.go +++ b/examples/bar_chart_base_value/main.go @@ -5,8 +5,8 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/examples/basic/main.go b/examples/basic/main.go index aeca5a8..3b33aa0 100644 --- a/examples/basic/main.go +++ b/examples/basic/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/benchmark_line_charts/main.go b/examples/benchmark_line_charts/main.go index 1a70417..48d4330 100644 --- a/examples/benchmark_line_charts/main.go +++ b/examples/benchmark_line_charts/main.go @@ -8,7 +8,7 @@ import ( "os" "time" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func random(min, max float64) float64 { diff --git a/examples/css_classes/main.go b/examples/css_classes/main.go index b5e65cf..a2b79f9 100644 --- a/examples/css_classes/main.go +++ b/examples/css_classes/main.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) // 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 d2b6b90..5bea20c 100644 --- a/examples/custom_formatters/main.go +++ b/examples/custom_formatters/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/custom_padding/main.go b/examples/custom_padding/main.go index 14c23ec..371160b 100644 --- a/examples/custom_padding/main.go +++ b/examples/custom_padding/main.go @@ -5,8 +5,8 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/examples/custom_ranges/main.go b/examples/custom_ranges/main.go index 61ef67b..994915d 100644 --- a/examples/custom_ranges/main.go +++ b/examples/custom_ranges/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/custom_styles/main.go b/examples/custom_styles/main.go index 08889ea..d84f6f8 100644 --- a/examples/custom_styles/main.go +++ b/examples/custom_styles/main.go @@ -5,8 +5,8 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/examples/custom_stylesheets/main.go b/examples/custom_stylesheets/main.go index 1af1058..3964570 100644 --- a/examples/custom_stylesheets/main.go +++ b/examples/custom_stylesheets/main.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) const style = "svg .background { fill: white; }" + diff --git a/examples/custom_ticks/main.go b/examples/custom_ticks/main.go index f95f64d..82a61c6 100644 --- a/examples/custom_ticks/main.go +++ b/examples/custom_ticks/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/descending/main.go b/examples/descending/main.go index 62ae7f7..9f09f7b 100644 --- a/examples/descending/main.go +++ b/examples/descending/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/donut_chart/main.go b/examples/donut_chart/main.go index 8b504ad..fb665f5 100644 --- a/examples/donut_chart/main.go +++ b/examples/donut_chart/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/image_writer/main.go b/examples/image_writer/main.go index 4981d21..ea3d788 100644 --- a/examples/image_writer/main.go +++ b/examples/image_writer/main.go @@ -4,7 +4,7 @@ import ( "fmt" "log" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/legend/main.go b/examples/legend/main.go index 83b5665..1cb4ce9 100644 --- a/examples/legend/main.go +++ b/examples/legend/main.go @@ -5,7 +5,7 @@ package main import ( "os" - chart "github.com/wcharczuk/go-chart/v2" + chart "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/legend_left/main.go b/examples/legend_left/main.go index a6dc413..f9ced5a 100644 --- a/examples/legend_left/main.go +++ b/examples/legend_left/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/linear_regression/main.go b/examples/linear_regression/main.go index ebe0125..029b785 100644 --- a/examples/linear_regression/main.go +++ b/examples/linear_regression/main.go @@ -5,7 +5,7 @@ package main import ( "os" - chart "github.com/wcharczuk/go-chart/v2" + chart "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/min_max/main.go b/examples/min_max/main.go index f2c5479..9115fa8 100644 --- a/examples/min_max/main.go +++ b/examples/min_max/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/pie_chart/main.go b/examples/pie_chart/main.go index 5bd7c3f..c27b725 100644 --- a/examples/pie_chart/main.go +++ b/examples/pie_chart/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/poly_regression/main.go b/examples/poly_regression/main.go index 040fcc0..76e0205 100644 --- a/examples/poly_regression/main.go +++ b/examples/poly_regression/main.go @@ -5,7 +5,7 @@ package main import ( "os" - chart "github.com/wcharczuk/go-chart/v2" + chart "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/request_timings/main.go b/examples/request_timings/main.go index 9ca0159..2d2d459 100644 --- a/examples/request_timings/main.go +++ b/examples/request_timings/main.go @@ -9,7 +9,7 @@ import ( "strconv" "time" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/rerender/main.go b/examples/rerender/main.go index 155486b..f766409 100644 --- a/examples/rerender/main.go +++ b/examples/rerender/main.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) var lock sync.Mutex diff --git a/examples/scatter/main.go b/examples/scatter/main.go index b9ce850..e174f2b 100644 --- a/examples/scatter/main.go +++ b/examples/scatter/main.go @@ -6,8 +6,8 @@ import ( _ "net/http/pprof" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) 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 742d15c..43edddf 100644 --- a/examples/simple_moving_average/main.go +++ b/examples/simple_moving_average/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/stacked_bar/main.go b/examples/stacked_bar/main.go index b9537e3..e5e27e7 100644 --- a/examples/stacked_bar/main.go +++ b/examples/stacked_bar/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/stock_analysis/main.go b/examples/stock_analysis/main.go index b7ccadc..b07f36d 100644 --- a/examples/stock_analysis/main.go +++ b/examples/stock_analysis/main.go @@ -6,8 +6,8 @@ import ( "os" "time" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/examples/text_rotation/main.go b/examples/text_rotation/main.go index 28fe0ab..122ec63 100644 --- a/examples/text_rotation/main.go +++ b/examples/text_rotation/main.go @@ -5,8 +5,8 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2" + "github.com/ebudan/go-chart/v2/drawing" ) func main() { diff --git a/examples/timeseries/main.go b/examples/timeseries/main.go index 1540ccd..1be8812 100644 --- a/examples/timeseries/main.go +++ b/examples/timeseries/main.go @@ -4,7 +4,7 @@ import ( "net/http" "time" - chart "github.com/wcharczuk/go-chart/v2" + chart "github.com/ebudan/go-chart/v2" ) func drawChart(res http.ResponseWriter, req *http.Request) { diff --git a/examples/twoaxis/main.go b/examples/twoaxis/main.go index d86f362..24aeb4c 100644 --- a/examples/twoaxis/main.go +++ b/examples/twoaxis/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/examples/twopoint/main.go b/examples/twopoint/main.go index ad46905..b319fd6 100644 --- a/examples/twopoint/main.go +++ b/examples/twopoint/main.go @@ -7,7 +7,7 @@ import ( "log" "os" - "github.com/wcharczuk/go-chart/v2" + "github.com/ebudan/go-chart/v2" ) func main() { diff --git a/first_value_annotation_test.go b/first_value_annotation_test.go index 3675763..6309ea5 100644 --- a/first_value_annotation_test.go +++ b/first_value_annotation_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestFirstValueAnnotation(t *testing.T) { diff --git a/font.go b/font.go index 401143b..b7089ca 100644 --- a/font.go +++ b/font.go @@ -4,7 +4,7 @@ import ( "sync" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/roboto" + "github.com/ebudan/go-chart/v2/roboto" ) var ( diff --git a/go.mod b/go.mod index 425f876..6b8b797 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.15 require ( github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 - github.com/wcharczuk/go-chart/v2 v2.1.0 // indirect + github.com/ebudan/go-chart/v2 v2.1.0 // indirect golang.org/x/image v0.0.0-20200927104501-e162460cd6b5 ) -replace github.com/wcharczuk/go-chart/v2 => ./ +replace github.com/ebudan/go-chart/v2 => ./ diff --git a/grid_line_test.go b/grid_line_test.go index 0e96d91..195ac28 100644 --- a/grid_line_test.go +++ b/grid_line_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestGenerateGridLines(t *testing.T) { diff --git a/histogram_series_test.go b/histogram_series_test.go index ff0ee54..1feb8a1 100644 --- a/histogram_series_test.go +++ b/histogram_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestHistogramSeries(t *testing.T) { diff --git a/jet.go b/jet.go index cce8c85..dbcf86c 100644 --- a/jet.go +++ b/jet.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "github.com/ebudan/go-chart/v2/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/last_value_annotation_series_test.go b/last_value_annotation_series_test.go index 59fc1b3..f791acf 100644 --- a/last_value_annotation_series_test.go +++ b/last_value_annotation_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestLastValueAnnotationSeries(t *testing.T) { diff --git a/legend.go b/legend.go index fbd48ed..8c2b5ce 100644 --- a/legend.go +++ b/legend.go @@ -1,7 +1,7 @@ package chart import ( - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/drawing" ) // Legend returns a legend renderable function. diff --git a/legend_test.go b/legend_test.go index cfc9cfa..c667447 100644 --- a/legend_test.go +++ b/legend_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestLegend(t *testing.T) { diff --git a/linear_regression_series_test.go b/linear_regression_series_test.go index 3c13d1c..49f2dbb 100644 --- a/linear_regression_series_test.go +++ b/linear_regression_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestLinearRegressionSeries(t *testing.T) { diff --git a/macd_series_test.go b/macd_series_test.go index 6471f6d..5030c03 100644 --- a/macd_series_test.go +++ b/macd_series_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) var ( diff --git a/matrix/matrix_test.go b/matrix/matrix_test.go index 17b8be5..6741294 100644 --- a/matrix/matrix_test.go +++ b/matrix/matrix_test.go @@ -3,7 +3,7 @@ package matrix import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestNew(t *testing.T) { diff --git a/matrix/regression_test.go b/matrix/regression_test.go index d43c0f4..e754fcb 100644 --- a/matrix/regression_test.go +++ b/matrix/regression_test.go @@ -3,7 +3,7 @@ package matrix import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestPoly(t *testing.T) { diff --git a/percent_change_series_test.go b/percent_change_series_test.go index dbc9413..c86ccf1 100644 --- a/percent_change_series_test.go +++ b/percent_change_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestPercentageDifferenceSeries(t *testing.T) { diff --git a/pie_chart_test.go b/pie_chart_test.go index 1d9f17a..f593ff2 100644 --- a/pie_chart_test.go +++ b/pie_chart_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestPieChart(t *testing.T) { diff --git a/polynomial_regression_series.go b/polynomial_regression_series.go index 22cd3c1..9a150fc 100644 --- a/polynomial_regression_series.go +++ b/polynomial_regression_series.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - "github.com/wcharczuk/go-chart/v2/matrix" + "github.com/ebudan/go-chart/v2/matrix" ) // Interface Assertions. diff --git a/polynomial_regression_test.go b/polynomial_regression_test.go index 8535c74..add8199 100644 --- a/polynomial_regression_test.go +++ b/polynomial_regression_test.go @@ -3,8 +3,8 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/matrix" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/matrix" + "github.com/ebudan/go-chart/v2/testutil" ) func TestPolynomialRegression(t *testing.T) { diff --git a/raster_renderer.go b/raster_renderer.go index 4fdc5b3..e3b8db2 100644 --- a/raster_renderer.go +++ b/raster_renderer.go @@ -7,7 +7,7 @@ import ( "math" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/drawing" ) // PNG returns a new png/raster renderer. diff --git a/renderer.go b/renderer.go index 589c773..77b8d3b 100644 --- a/renderer.go +++ b/renderer.go @@ -4,7 +4,7 @@ import ( "io" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/drawing" ) // Renderer represents the basic methods required to draw a chart. diff --git a/seq_test.go b/seq_test.go index 3cd7f9c..5d54d8d 100644 --- a/seq_test.go +++ b/seq_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestSeqEach(t *testing.T) { diff --git a/sma_series_test.go b/sma_series_test.go index 5de32a9..8c77da4 100644 --- a/sma_series_test.go +++ b/sma_series_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) type mockValuesProvider struct { diff --git a/stringutil_test.go b/stringutil_test.go index bc22b23..11bada2 100644 --- a/stringutil_test.go +++ b/stringutil_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestSplitCSV(t *testing.T) { diff --git a/style.go b/style.go index c601d6d..1f6c9c2 100644 --- a/style.go +++ b/style.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/drawing" ) const ( diff --git a/style_test.go b/style_test.go index 5cc1c08..a9cf9e3 100644 --- a/style_test.go +++ b/style_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/testutil" ) func TestStyleIsZero(t *testing.T) { diff --git a/text_test.go b/text_test.go index 4f1e209..3f04c8b 100644 --- a/text_test.go +++ b/text_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestTextWrapWord(t *testing.T) { diff --git a/tick_test.go b/tick_test.go index 9ea0ef2..a5b4316 100644 --- a/tick_test.go +++ b/tick_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestGenerateContinuousTicks(t *testing.T) { diff --git a/time_series_test.go b/time_series_test.go index 3f65eaf..7e6a7b3 100644 --- a/time_series_test.go +++ b/time_series_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestTimeSeriesGetValue(t *testing.T) { diff --git a/value_buffer_test.go b/value_buffer_test.go index e8aa9a0..1793647 100644 --- a/value_buffer_test.go +++ b/value_buffer_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestBuffer(t *testing.T) { diff --git a/value_formatter_test.go b/value_formatter_test.go index d9ffaef..2a1daac 100644 --- a/value_formatter_test.go +++ b/value_formatter_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestTimeValueFormatterWithFormat(t *testing.T) { diff --git a/value_provider.go b/value_provider.go index be985eb..f8a485f 100644 --- a/value_provider.go +++ b/value_provider.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "github.com/ebudan/go-chart/v2/drawing" // ValuesProvider is a type that produces values. type ValuesProvider interface { diff --git a/value_test.go b/value_test.go index 1c12ce7..35ae807 100644 --- a/value_test.go +++ b/value_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestValuesValues(t *testing.T) { diff --git a/vector_renderer.go b/vector_renderer.go index eb2fc83..2c6e31f 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -10,7 +10,7 @@ import ( "golang.org/x/image/font" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/drawing" ) // SVG returns a new png/raster renderer. diff --git a/vector_renderer_test.go b/vector_renderer_test.go index 019c6b9..86c0ac3 100644 --- a/vector_renderer_test.go +++ b/vector_renderer_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/wcharczuk/go-chart/v2/drawing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/drawing" + "github.com/ebudan/go-chart/v2/testutil" ) func TestVectorRendererPath(t *testing.T) { diff --git a/viridis.go b/viridis.go index 4234319..17beea7 100644 --- a/viridis.go +++ b/viridis.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "github.com/ebudan/go-chart/v2/drawing" var viridisColors = [256]drawing.Color{ drawing.Color{R: 0x44, G: 0x1, B: 0x54, A: 0xff}, diff --git a/xaxis_test.go b/xaxis_test.go index 6d05d53..6aa44da 100644 --- a/xaxis_test.go +++ b/xaxis_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestXAxisGetTicks(t *testing.T) { diff --git a/yaxis_test.go b/yaxis_test.go index 754f4e0..5aebcfc 100644 --- a/yaxis_test.go +++ b/yaxis_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "github.com/ebudan/go-chart/v2/testutil" ) func TestYAxisGetTicks(t *testing.T) {