@@ -237,7 +237,7 @@ func TestAddChart(t *testing.T) {
237
237
{sheetName : "Sheet2" , cell : "P1" , opts : & Chart {Type : Line3D , Series : series2 , Format : format , Legend : ChartLegend {Position : "top" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "3D Line Chart" }}, PlotArea : plotArea , ShowBlanksAs : "zero" , XAxis : ChartAxis {MajorGridLines : true , MinorGridLines : true , TickLabelSkip : 1 , NumFmt : ChartNumFmt {CustomNumFmt : "General" }}, YAxis : ChartAxis {MajorGridLines : true , MinorGridLines : true , MajorUnit : 1 , NumFmt : ChartNumFmt {CustomNumFmt : "General" }}}},
238
238
{sheetName : "Sheet2" , cell : "X1" , opts : & Chart {Type : Scatter , Series : series , Format : format , Legend : ChartLegend {Position : "bottom" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "Scatter Chart" }}, PlotArea : plotArea , ShowBlanksAs : "zero" }},
239
239
{sheetName : "Sheet2" , cell : "P16" , opts : & Chart {Type : Doughnut , Series : series3 , Format : format , Legend : ChartLegend {Position : "right" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "Doughnut Chart" }}, PlotArea : ChartPlotArea {ShowBubbleSize : false , ShowCatName : false , ShowLeaderLines : false , ShowPercent : true , ShowSerName : false , ShowVal : false }, ShowBlanksAs : "zero" , HoleSize : 30 }},
240
- {sheetName : "Sheet2" , cell : "X16" , opts : & Chart {Type : Line , Series : series2 , Format : format , Legend : ChartLegend {Position : "top" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "Line Chart" }}, PlotArea : plotArea , ShowBlanksAs : "zero" , XAxis : ChartAxis {MajorGridLines : true , MinorGridLines : true , TickLabelSkip : 1 }, YAxis : ChartAxis {MajorGridLines : true , MinorGridLines : true , MajorUnit : 1 }}},
240
+ {sheetName : "Sheet2" , cell : "X16" , opts : & Chart {Type : Line , Series : series2 , Format : format , Legend : ChartLegend {Position : "top" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "Line Chart" }}, PlotArea : plotArea , ShowBlanksAs : "zero" , XAxis : ChartAxis {MajorGridLines : true , MinorGridLines : true , TickLabelSkip : 1 , TickLabelPosition : ChartTickLabelLow }, YAxis : ChartAxis {MajorGridLines : true , MinorGridLines : true , MajorUnit : 1 }}},
241
241
{sheetName : "Sheet2" , cell : "P32" , opts : & Chart {Type : Pie3D , Series : series3 , Format : format , Legend : ChartLegend {Position : "bottom" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "3D Column Chart" }}, PlotArea : plotArea , ShowBlanksAs : "zero" }},
242
242
{sheetName : "Sheet2" , cell : "X32" , opts : & Chart {Type : Pie , Series : series3 , Format : format , Legend : ChartLegend {Position : "bottom" , ShowLegendKey : false }, Title : []RichTextRun {{Text : "Pie Chart" }}, PlotArea : ChartPlotArea {ShowBubbleSize : true , ShowCatName : false , ShowLeaderLines : false , ShowPercent : true , ShowSerName : false , ShowVal : false , NumFmt : ChartNumFmt {CustomNumFmt : "0.00%;0;;" }}, ShowBlanksAs : "gap" }},
243
243
// bar series chart
0 commit comments