@@ -219,7 +219,7 @@ func TestAddChart(t *testing.T) {
219
219
sheetName , cell string
220
220
opts * Chart
221
221
}{
222
- {sheetName : "Sheet1" , cell : "P1" , opts : & Chart {Type : Col , Series : series , Format : format , Legend : ChartLegend {Position : "none" , ShowLegendKey : true }, Title : []RichTextRun {{Text : "2D Column Chart" }}, PlotArea : plotArea , Border : ChartLine {Type : ChartLineNone }, ShowBlanksAs : "zero" , XAxis : ChartAxis {Font : Font {Bold : true , Italic : true , Underline : "dbl" , Family : "Times New Roman" , Size : 15 , Strike : true , Color : "000000" }, Title : []RichTextRun {{Text : "Primary Horizontal Axis Title" }}}, YAxis : ChartAxis {Font : Font {Bold : false , Italic : false , Underline : "sng" , Color : "777777" }, Title : []RichTextRun {{Text : "Primary Vertical Axis Title" , Font : & Font {Color : "777777" , Bold : true , Italic : true , Size : 12 }}}}}},
222
+ {sheetName : "Sheet1" , cell : "P1" , opts : & Chart {Type : Col , Series : series , Format : format , Legend : ChartLegend {Position : "none" , ShowLegendKey : true }, Title : []RichTextRun {{Text : "2D Column Chart" , Font : & Font { Size : 11 , Family : "Calibri" } }}, PlotArea : plotArea , Border : ChartLine {Type : ChartLineNone }, ShowBlanksAs : "zero" , XAxis : ChartAxis {Font : Font {Bold : true , Italic : true , Underline : "dbl" , Family : "Times New Roman" , Size : 15 , Strike : true , Color : "000000" }, Title : []RichTextRun {{Text : "Primary Horizontal Axis Title" }}}, YAxis : ChartAxis {Font : Font {Bold : false , Italic : false , Underline : "sng" , Color : "777777" }, Title : []RichTextRun {{Text : "Primary Vertical Axis Title" , Font : & Font {Color : "777777" , Bold : true , Italic : true , Size : 12 }}}}}},
223
223
{sheetName : "Sheet1" , cell : "X1" , opts : & Chart {Type : ColStacked , Series : series , Format : format , Legend : legend , Title : []RichTextRun {{Text : "2D Stacked Column Chart" }}, PlotArea : plotArea , Fill : Fill {Type : "pattern" , Pattern : 1 }, Border : ChartLine {Type : ChartLineAutomatic }, ShowBlanksAs : "zero" , GapWidth : uintPtr (10 ), Overlap : intPtr (100 )}},
224
224
{sheetName : "Sheet1" , cell : "P16" , opts : & Chart {Type : ColPercentStacked , Series : series , Format : format , Legend : legend , Title : []RichTextRun {{Text : "100% Stacked Column Chart" }}, PlotArea : plotArea , Fill : Fill {Type : "pattern" , Color : []string {"EEEEEE" }, Pattern : 1 }, Border : ChartLine {Type : ChartLineSolid , Width : 2 }, ShowBlanksAs : "zero" , XAxis : ChartAxis {Alignment : Alignment {Vertical : "wordArtVertRtl" , TextRotation : 0 }}}},
225
225
{sheetName : "Sheet1" , cell : "X16" , opts : & Chart {Type : Col3DClustered , Series : series , Format : format , Legend : ChartLegend {Position : "bottom" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "3D Clustered Column Chart" }}, PlotArea : plotArea , ShowBlanksAs : "zero" }},
0 commit comments