From cc8d36edd97ec55f1a763a9af6482bb1af0875ea Mon Sep 17 00:00:00 2001 From: Zeni Kim Date: Sun, 27 Oct 2024 21:52:38 -0500 Subject: [PATCH] update url --- LICENSE | 1 + 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/horizontal_stacked_bar/main.go | 4 ++-- examples/image_writer/main.go | 2 +- examples/legend/main.go | 2 +- examples/legend_left/main.go | 2 +- examples/linear_regression/main.go | 2 +- examples/logarithmic_axes/main.go | 2 +- examples/min_max/main.go | 2 +- examples/pie_chart/main.go | 12 ++++++------ 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/stacked_bar_labels/main.go | 4 ++-- 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 +- 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 +- logarithmic_range_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, 105 insertions(+), 104 deletions(-) diff --git a/LICENSE b/LICENSE index 8d9f1c5..a1ec28f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License Copyright (c) 2016 William Charczuk. +Copyright (c) 2024 Zeni Kim. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/annotation_series_test.go b/annotation_series_test.go index 1a33900..251e8f4 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" + "git.smarteching.com/zeni/go-chart/v2/drawing" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestAnnotationSeriesMeasure(t *testing.T) { diff --git a/bar_chart_test.go b/bar_chart_test.go index e62ef83..7bd98ee 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" + "git.smarteching.com/zeni/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..e281e2d 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestBollingerBandSeries(t *testing.T) { diff --git a/box_test.go b/box_test.go index e62d5b7..1670256 100644 --- a/box_test.go +++ b/box_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestBoxClone(t *testing.T) { diff --git a/chart_test.go b/chart_test.go index 8382a4c..8db42fd 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" + "git.smarteching.com/zeni/go-chart/v2/drawing" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestChartGetDPI(t *testing.T) { diff --git a/cmd/chart/main.go b/cmd/chart/main.go index 82ed907..fa41bbe 100644 --- a/cmd/chart/main.go +++ b/cmd/chart/main.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/wcharczuk/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2" ) var ( diff --git a/colors.go b/colors.go index b51f9ea..de542d8 100644 --- a/colors.go +++ b/colors.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "git.smarteching.com/zeni/go-chart/v2/drawing" var ( // ColorWhite is white. diff --git a/concat_series_test.go b/concat_series_test.go index 9424fb2..f4b7491 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestConcatSeries(t *testing.T) { diff --git a/continuous_range_test.go b/continuous_range_test.go index 5d0f436..aaa7ec4 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestRangeTranslate(t *testing.T) { diff --git a/continuous_series_test.go b/continuous_series_test.go index 783c236..ec6193b 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestContinuousSeries(t *testing.T) { diff --git a/donut_chart_test.go b/donut_chart_test.go index 388f65d..0d1946b 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestDonutChart(t *testing.T) { diff --git a/drawing/color_test.go b/drawing/color_test.go index a3abd19..bb01ee1 100644 --- a/drawing/color_test.go +++ b/drawing/color_test.go @@ -6,7 +6,7 @@ import ( "image/color" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestColorFromHex(t *testing.T) { diff --git a/drawing/curve_test.go b/drawing/curve_test.go index 31abe8e..f79cb79 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) type point struct { diff --git a/ema_series_test.go b/ema_series_test.go index 184319b..e1e5831 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) var ( diff --git a/examples/annotations/main.go b/examples/annotations/main.go index 20bf01f..b9d22be 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/axes/main.go b/examples/axes/main.go index a675bde..7847ffa 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 "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/axes_labels/main.go b/examples/axes_labels/main.go index a68ac34..6c9055d 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 "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/bar_chart/main.go b/examples/bar_chart/main.go index 2a7895f..36b45a6 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" + "git.smarteching.com/zeni/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..52fa940 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/basic/main.go b/examples/basic/main.go index aeca5a8..e05df6a 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/benchmark_line_charts/main.go b/examples/benchmark_line_charts/main.go index 1a70417..e79b4d4 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" + "git.smarteching.com/zeni/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..f34a3da 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" + "git.smarteching.com/zeni/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..fbb3317 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/custom_padding/main.go b/examples/custom_padding/main.go index 14c23ec..e0d6452 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/custom_ranges/main.go b/examples/custom_ranges/main.go index 61ef67b..01d3899 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/custom_styles/main.go b/examples/custom_styles/main.go index 08889ea..0ee519a 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/custom_stylesheets/main.go b/examples/custom_stylesheets/main.go index 1af1058..51b8bbf 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" + "git.smarteching.com/zeni/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..9bc5aa8 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/descending/main.go b/examples/descending/main.go index 62ae7f7..2d2e899 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/donut_chart/main.go b/examples/donut_chart/main.go index 8b504ad..3a4e804 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/horizontal_stacked_bar/main.go b/examples/horizontal_stacked_bar/main.go index f078d09..d695b46 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/image_writer/main.go b/examples/image_writer/main.go index 4981d21..ce0a145 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/legend/main.go b/examples/legend/main.go index 83b5665..da4c212 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 "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/legend_left/main.go b/examples/legend_left/main.go index a6dc413..1e87578 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/linear_regression/main.go b/examples/linear_regression/main.go index ebe0125..6f268f0 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 "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/logarithmic_axes/main.go b/examples/logarithmic_axes/main.go index 928ab26..2a19609 100644 --- a/examples/logarithmic_axes/main.go +++ b/examples/logarithmic_axes/main.go @@ -5,7 +5,7 @@ package main import ( "os" - "github.com/wcharczuk/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/min_max/main.go b/examples/min_max/main.go index f2c5479..78e7b1c 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/pie_chart/main.go b/examples/pie_chart/main.go index 5bd7c3f..d43796c 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" + "git.smarteching.com/zeni/go-chart" ) func main() { @@ -13,11 +13,11 @@ func main() { Width: 512, Height: 512, Values: []chart.Value{ - {Value: 5, Label: "Blue"}, - {Value: 5, Label: "Green"}, - {Value: 4, Label: "Gray"}, - {Value: 4, Label: "Orange"}, - {Value: 3, Label: "Deep Blue"}, + {Value: 5, Label: "Blues"}, + {Value: 5, Label: "Greens"}, + {Value: 4, Label: "Grays"}, + {Value: 4, Label: "Oranges"}, + {Value: 3, Label: "Deep Blues"}, {Value: 3, Label: "??"}, {Value: 1, Label: "!!"}, }, diff --git a/examples/poly_regression/main.go b/examples/poly_regression/main.go index 040fcc0..9f797d3 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 "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/request_timings/main.go b/examples/request_timings/main.go index 9ca0159..0290b65 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/rerender/main.go b/examples/rerender/main.go index 155486b..50a960e 100644 --- a/examples/rerender/main.go +++ b/examples/rerender/main.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/wcharczuk/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2" ) var lock sync.Mutex diff --git a/examples/scatter/main.go b/examples/scatter/main.go index b9ce850..c861104 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/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..2d7a03c 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/stacked_bar/main.go b/examples/stacked_bar/main.go index b9537e3..234ada3 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" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/stacked_bar_labels/main.go b/examples/stacked_bar_labels/main.go index 314f1b4..2af9e21 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/stock_analysis/main.go b/examples/stock_analysis/main.go index b7ccadc..4640a59 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/text_rotation/main.go b/examples/text_rotation/main.go index 28fe0ab..da41c50 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" + "git.smarteching.com/zeni/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) func main() { diff --git a/examples/timeseries/main.go b/examples/timeseries/main.go index 1540ccd..61a8fc2 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 "git.smarteching.com/zeni/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..62fce18 100644 --- a/examples/twoaxis/main.go +++ b/examples/twoaxis/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/wcharczuk/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/examples/twopoint/main.go b/examples/twopoint/main.go index ad46905..26a4fa1 100644 --- a/examples/twopoint/main.go +++ b/examples/twopoint/main.go @@ -7,7 +7,7 @@ import ( "log" "os" - "github.com/wcharczuk/go-chart/v2" + "git.smarteching.com/zeni/go-chart/v2" ) func main() { diff --git a/first_value_annotation_test.go b/first_value_annotation_test.go index 3675763..ea1d26d 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestFirstValueAnnotation(t *testing.T) { diff --git a/font.go b/font.go index 401143b..8cb42c4 100644 --- a/font.go +++ b/font.go @@ -3,8 +3,8 @@ package chart import ( "sync" + "git.smarteching.com/zeni/go-chart/v2/roboto" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/roboto" ) var ( diff --git a/grid_line_test.go b/grid_line_test.go index 0e96d91..cc508e1 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestGenerateGridLines(t *testing.T) { diff --git a/histogram_series_test.go b/histogram_series_test.go index ff0ee54..75e7db6 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestHistogramSeries(t *testing.T) { diff --git a/jet.go b/jet.go index cce8c85..a539a29 100644 --- a/jet.go +++ b/jet.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "git.smarteching.com/zeni/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..afc2409 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestLastValueAnnotationSeries(t *testing.T) { diff --git a/legend.go b/legend.go index fbd48ed..a1dec06 100644 --- a/legend.go +++ b/legend.go @@ -1,7 +1,7 @@ package chart import ( - "github.com/wcharczuk/go-chart/v2/drawing" + "git.smarteching.com/zeni/go-chart/v2/drawing" ) // Legend returns a legend renderable function. diff --git a/legend_test.go b/legend_test.go index cfc9cfa..7adbe5d 100644 --- a/legend_test.go +++ b/legend_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/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..0609af8 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestLinearRegressionSeries(t *testing.T) { diff --git a/logarithmic_range_test.go b/logarithmic_range_test.go index 831cfb3..6d3879b 100644 --- a/logarithmic_range_test.go +++ b/logarithmic_range_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestLogRangeTranslate(t *testing.T) { diff --git a/macd_series_test.go b/macd_series_test.go index 6471f6d..28404b1 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) var ( diff --git a/matrix/matrix_test.go b/matrix/matrix_test.go index 17b8be5..3a73cec 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestNew(t *testing.T) { diff --git a/matrix/regression_test.go b/matrix/regression_test.go index d43c0f4..07c868d 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" + "git.smarteching.com/zeni/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..c80d370 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestPercentageDifferenceSeries(t *testing.T) { diff --git a/pie_chart_test.go b/pie_chart_test.go index 1d9f17a..50de754 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestPieChart(t *testing.T) { diff --git a/polynomial_regression_series.go b/polynomial_regression_series.go index 22cd3c1..1187192 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" + "git.smarteching.com/zeni/go-chart/v2/matrix" ) // Interface Assertions. diff --git a/polynomial_regression_test.go b/polynomial_regression_test.go index 8535c74..54bd655 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" + "git.smarteching.com/zeni/go-chart/v2/matrix" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestPolynomialRegression(t *testing.T) { diff --git a/raster_renderer.go b/raster_renderer.go index 4de2655..d209ca9 100644 --- a/raster_renderer.go +++ b/raster_renderer.go @@ -6,8 +6,8 @@ import ( "io" "math" + "git.smarteching.com/zeni/go-chart/v2/drawing" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" ) // PNG returns a new png/raster renderer. diff --git a/renderer.go b/renderer.go index 589c773..b16f5e4 100644 --- a/renderer.go +++ b/renderer.go @@ -3,8 +3,8 @@ package chart import ( "io" + "git.smarteching.com/zeni/go-chart/v2/drawing" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/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..585900b 100644 --- a/seq_test.go +++ b/seq_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestSeqEach(t *testing.T) { diff --git a/sma_series_test.go b/sma_series_test.go index 5de32a9..3951b02 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) type mockValuesProvider struct { diff --git a/stringutil_test.go b/stringutil_test.go index bc22b23..56a60d9 100644 --- a/stringutil_test.go +++ b/stringutil_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestSplitCSV(t *testing.T) { diff --git a/style.go b/style.go index c601d6d..6816cf4 100644 --- a/style.go +++ b/style.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" + "git.smarteching.com/zeni/go-chart/v2/drawing" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" ) const ( diff --git a/style_test.go b/style_test.go index 5cc1c08..5568a92 100644 --- a/style_test.go +++ b/style_test.go @@ -3,9 +3,9 @@ package chart import ( "testing" + "git.smarteching.com/zeni/go-chart/v2/drawing" + "git.smarteching.com/zeni/go-chart/v2/testutil" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/go-chart/v2/drawing" - "github.com/wcharczuk/go-chart/v2/testutil" ) func TestStyleIsZero(t *testing.T) { diff --git a/text_test.go b/text_test.go index 4f1e209..54a0181 100644 --- a/text_test.go +++ b/text_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestTextWrapWord(t *testing.T) { diff --git a/tick_test.go b/tick_test.go index 9ea0ef2..0c28d99 100644 --- a/tick_test.go +++ b/tick_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestGenerateContinuousTicks(t *testing.T) { diff --git a/time_series_test.go b/time_series_test.go index 3f65eaf..142e78a 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestTimeSeriesGetValue(t *testing.T) { diff --git a/value_buffer_test.go b/value_buffer_test.go index e8aa9a0..1b60840 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestBuffer(t *testing.T) { diff --git a/value_formatter_test.go b/value_formatter_test.go index 5ef94a8..46396dd 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" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestTimeValueFormatterWithFormat(t *testing.T) { diff --git a/value_provider.go b/value_provider.go index be985eb..88b719e 100644 --- a/value_provider.go +++ b/value_provider.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "git.smarteching.com/zeni/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..9108bfc 100644 --- a/value_test.go +++ b/value_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestValuesValues(t *testing.T) { diff --git a/vector_renderer.go b/vector_renderer.go index b1f847f..979bea7 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -9,8 +9,8 @@ import ( "golang.org/x/image/font" + "git.smarteching.com/zeni/go-chart/v2/drawing" "github.com/golang/freetype/truetype" - "github.com/wcharczuk/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..e9556d1 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" + "git.smarteching.com/zeni/go-chart/v2/drawing" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestVectorRendererPath(t *testing.T) { diff --git a/viridis.go b/viridis.go index 0611850..81f42a6 100644 --- a/viridis.go +++ b/viridis.go @@ -1,6 +1,6 @@ package chart -import "github.com/wcharczuk/go-chart/v2/drawing" +import "git.smarteching.com/zeni/go-chart/v2/drawing" var viridisColors = [256]drawing.Color{ {R: 0x44, G: 0x1, B: 0x54, A: 0xff}, diff --git a/xaxis_test.go b/xaxis_test.go index 6d05d53..4668851 100644 --- a/xaxis_test.go +++ b/xaxis_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestXAxisGetTicks(t *testing.T) { diff --git a/yaxis_test.go b/yaxis_test.go index 754f4e0..793a651 100644 --- a/yaxis_test.go +++ b/yaxis_test.go @@ -3,7 +3,7 @@ package chart import ( "testing" - "github.com/wcharczuk/go-chart/v2/testutil" + "git.smarteching.com/zeni/go-chart/v2/testutil" ) func TestYAxisGetTicks(t *testing.T) {