From f6d9d1edca96a79293d006043cdd664667cd2c11 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Mon, 11 Sep 2023 12:27:27 -0400 Subject: [PATCH] fixing some issues with examples --- .../horizontal_stacked_bar/main.go | 0 .../horizontal_stacked_bar/output.png | Bin examples/logarithmic_axes/main.go | 4 ++-- {_examples => examples}/stacked_bar_labels/main.go | 0 .../stacked_bar_labels/output.png | Bin 5 files changed, 2 insertions(+), 2 deletions(-) rename {_examples => examples}/horizontal_stacked_bar/main.go (100%) rename {_examples => examples}/horizontal_stacked_bar/output.png (100%) rename {_examples => examples}/stacked_bar_labels/main.go (100%) rename {_examples => examples}/stacked_bar_labels/output.png (100%) diff --git a/_examples/horizontal_stacked_bar/main.go b/examples/horizontal_stacked_bar/main.go similarity index 100% rename from _examples/horizontal_stacked_bar/main.go rename to examples/horizontal_stacked_bar/main.go diff --git a/_examples/horizontal_stacked_bar/output.png b/examples/horizontal_stacked_bar/output.png similarity index 100% rename from _examples/horizontal_stacked_bar/output.png rename to examples/horizontal_stacked_bar/output.png diff --git a/examples/logarithmic_axes/main.go b/examples/logarithmic_axes/main.go index 9f329c8..928ab26 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" + "github.com/wcharczuk/go-chart/v2" ) func main() { @@ -31,7 +31,7 @@ func main() { YAxis: chart.YAxis{ Style: chart.Shown(), NameStyle: chart.Shown(), - Range: &chart.LogarithmicRange{}, + Range: &chart.LogarithmicRange{}, }, } diff --git a/_examples/stacked_bar_labels/main.go b/examples/stacked_bar_labels/main.go similarity index 100% rename from _examples/stacked_bar_labels/main.go rename to examples/stacked_bar_labels/main.go diff --git a/_examples/stacked_bar_labels/output.png b/examples/stacked_bar_labels/output.png similarity index 100% rename from _examples/stacked_bar_labels/output.png rename to examples/stacked_bar_labels/output.png