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{
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{

View file

@ -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{
{