From 2078f1a09ba5cf93d139c030b7714c6251b57107 Mon Sep 17 00:00:00 2001 From: Amid Date: Fri, 28 Jan 2022 15:58:05 +0330 Subject: [PATCH] remove Styleshow() from _examples directory --- _examples/horizontal_stacked_bar/main.go | 6 +++--- _examples/stacked_bar_labels/main.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_examples/horizontal_stacked_bar/main.go b/_examples/horizontal_stacked_bar/main.go index 5151524..9c27ccb 100644 --- a/_examples/horizontal_stacked_bar/main.go +++ b/_examples/horizontal_stacked_bar/main.go @@ -23,7 +23,7 @@ func main() { stackedBarChart := chart.StackedBarChart{ Title: "Quarterly Sales", - TitleStyle: chart.StyleShow(), + TitleStyle: chart.Style{}, Background: chart.Style{ Padding: chart.Box{ Top: 75, @@ -31,8 +31,8 @@ func main() { }, Width: 800, Height: 600, - XAxis: chart.StyleShow(), - YAxis: chart.StyleShow(), + XAxis: chart.Style{}, + YAxis: chart.Style{}, BarSpacing: 40, IsHorizontal: true, Bars: []chart.StackedBar{ diff --git a/_examples/stacked_bar_labels/main.go b/_examples/stacked_bar_labels/main.go index a62103f..6058334 100644 --- a/_examples/stacked_bar_labels/main.go +++ b/_examples/stacked_bar_labels/main.go @@ -23,7 +23,7 @@ func main() { stackedBarChart := chart.StackedBarChart{ Title: "Quarterly Sales", - TitleStyle: chart.StyleShow(), + TitleStyle: chart.Style{}, Background: chart.Style{ Padding: chart.Box{ Top: 100, @@ -31,8 +31,8 @@ func main() { }, Width: 810, Height: 500, - XAxis: chart.StyleShow(), - YAxis: chart.StyleShow(), + XAxis: chart.Style{}, + YAxis: chart.Style{}, BarSpacing: 50, Bars: []chart.StackedBar{ {