remove Styleshow() from _examples directory

This commit is contained in:
Amid 2022-01-28 15:58:05 +03:30
parent c1468e8ae4
commit 2078f1a09b
2 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@ func main() {
stackedBarChart := chart.StackedBarChart{ stackedBarChart := chart.StackedBarChart{
Title: "Quarterly Sales", Title: "Quarterly Sales",
TitleStyle: chart.StyleShow(), TitleStyle: chart.Style{},
Background: chart.Style{ Background: chart.Style{
Padding: chart.Box{ Padding: chart.Box{
Top: 75, Top: 75,
@ -31,8 +31,8 @@ func main() {
}, },
Width: 800, Width: 800,
Height: 600, Height: 600,
XAxis: chart.StyleShow(), XAxis: chart.Style{},
YAxis: chart.StyleShow(), YAxis: chart.Style{},
BarSpacing: 40, BarSpacing: 40,
IsHorizontal: true, IsHorizontal: true,
Bars: []chart.StackedBar{ Bars: []chart.StackedBar{

View file

@ -23,7 +23,7 @@ func main() {
stackedBarChart := chart.StackedBarChart{ stackedBarChart := chart.StackedBarChart{
Title: "Quarterly Sales", Title: "Quarterly Sales",
TitleStyle: chart.StyleShow(), TitleStyle: chart.Style{},
Background: chart.Style{ Background: chart.Style{
Padding: chart.Box{ Padding: chart.Box{
Top: 100, Top: 100,
@ -31,8 +31,8 @@ func main() {
}, },
Width: 810, Width: 810,
Height: 500, Height: 500,
XAxis: chart.StyleShow(), XAxis: chart.Style{},
YAxis: chart.StyleShow(), YAxis: chart.Style{},
BarSpacing: 50, BarSpacing: 50,
Bars: []chart.StackedBar{ Bars: []chart.StackedBar{
{ {