You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: spreadsheet.go
    path of file: ./repos/unioffice/spreadsheet
    
    the code of the file until where you have to start completion: //
// Copyright 2020 FoxyUtils ehf. All rights reserved.
//
// This is a commercial product and requires a license to operate.
// A trial license can be obtained at https://unidoc.io
//
// DO NOT EDIT: generated by unitwist Go source code obfuscator.
//
// Use of this source code is governed by the UniDoc End User License Agreement
// terms that can be accessed at https://unidoc.io/eula/

// Copyright 2017 FoxyUtils ehf. All rights reserved.
//
// Use of this software package and source code is governed by the terms of the
// UniDoc End User License Agreement (EULA) that is available at:
// https://unidoc.io/eula/
// A trial license code for evaluation can be obtained at https://unidoc.io.
package spreadsheet ;import (_cf "archive/zip";_cc "bytes";_fg "errors";_ddg "fmt";_d "github.com/unidoc/unioffice";_ab "github.com/unidoc/unioffice/chart";_fa "github.com/unidoc/unioffice/color";_aga "github.com/unidoc/unioffice/common";_b "github.com/unidoc/unioffice/common/logger";
_bg "github.com/unidoc/unioffice/common/tempstorage";_fd "github.com/unidoc/unioffice/internal/license";_dg "github.com/unidoc/unioffice/measurement";_eed "github.com/unidoc/unioffice/schema/soo/dml";_dc "github.com/unidoc/unioffice/schema/soo/dml/chart";
_be "github.com/unidoc/unioffice/schema/soo/dml/spreadsheetDrawing";_abd "github.com/unidoc/unioffice/schema/soo/pkg/relationships";_gb "github.com/unidoc/unioffice/schema/soo/sml";_ee "github.com/unidoc/unioffice/spreadsheet/format";_ce "github.com/unidoc/uniof
    
func (_bcffg Drawing )AddChart (at AnchorType )(_ab .Chart ,Anchor ){_fgfec :=_dc .NewChartSpace ();_bcffg ._edd ._egaa =append (_bcffg ._edd ._egaa ,_fgfec );_gdcd :=_d .AbsoluteFilename (_d .DocTypeSpreadsheet ,_d .ChartContentType ,len (_bcffg ._edd ._egaa ));
_bcffg ._edd .ContentTypes .AddOverride (_gdcd ,_d .ChartContentType );var _caae string ;for _cdff ,_cfbe :=range _bcffg ._edd ._fcadf {if _cfbe ==_bcffg ._agda {_egf :=_d .RelativeFilename (_d .DocTypeSpreadsheet ,_d .DrawingType ,_d .ChartType ,len (_bcffg ._edd ._egaa ));
_gedc :=_bcffg ._edd ._egbg [_cdff ].AddRelationship (_egf ,_d .ChartType );_caae =_gedc .ID ();break ;};};var _gdab Anchor ;var _bfcc *_be .CT_GraphicalObjectFrame ;switch at {case AnchorTypeAbsolute :_gbcd :=_gadd ();_bcffg ._agda .EG_Anchor =append (_bcffg ._agda .EG_Anchor ,&_be .EG_Anchor {AbsoluteAnchor :_gbcd });
_gbcd .Choice =&_be .EG_ObjectChoicesChoice {};_gbcd .Choice .GraphicFrame =_be .NewCT_GraphicalObjectFrame ();_bfcc =_gbcd .Choice .GraphicFrame ;_gdab =AbsoluteAnchor {_gbcd };case AnchorTypeOneCell :_edac :=_aceb ();_bcffg ._agda .EG_Anchor =append (_bcffg ._agda .EG_Anchor ,&_be .EG_Anchor {OneCellAnchor :_edac });
_edac .Choice =&_be .EG_ObjectChoicesChoice {};_edac .Choice .GraphicFrame =_be .NewCT_GraphicalObjectFrame ();_bfcc =_edac .Choice .GraphicFrame ;_gdab =OneCellAnchor {_edac };case AnchorTypeTwoCell :_dcge :=_gceg ();_bcffg ._agda .EG_Anchor =append (_bcffg ._agda .EG_Anchor ,&_be .EG_Anchor {TwoCellAnchor :_dcge });
_dcge .Choice =&_be .EG_ObjectChoicesChoice {};_dcge .Choice .GraphicFrame =_be .NewCT_GraphicalObjectFrame ();_bfcc =_dcge .Choice .GraphicFrame ;_gdab =TwoCellAnchor {_dcge };};_bfcc .NvGraphicFramePr =_be .NewCT_GraphicalObjectFrameNonVisual ();_bfcc .NvGraphicFramePr .CNvPr .IdAttr =uint32 (len (_bcffg ._agda .EG_Anchor ));
_bfcc .NvGraphicFramePr .CNvPr .NameAttr ="\u0043\u0068\u0061r\u0074";_bfcc .Graphic =_eed .NewGraphic ();_bfcc .Graphic .GraphicData .UriAttr ="\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0063\u0068\u0065\u006d\u0061\u0073\u002eo\u0070\u0065\u006e\u0078\u006d\u006c\u0066\u006f\u0072\u006d\u0061\u0074\u0073.\u006f\u0072\u0067\u002f\u0064\u0072\u0061\u0077\u0069\u006e\u0067\u006dl/\u0032\u0030\u0030\u0036\u002f\u0063\u0068\u0061\u0072\u0074";
_dabb :=_dc .NewChart ();_dabb .IdAttr =_caae ;_bfcc .Graphic .GraphicData .Any =[]_d .Any {_dabb };_dabe :=_ab .MakeChart (_fgfec );_dabe .Properties ().SetSolidFill (_fa .White );_dabe .SetDisplayBlanksAs (_dc .ST_DispBlanksAsGap );return _dabe ,_gdab ;
};