chart

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Area3DChart

type Area3DChart struct {
	// contains filtered or unexported fields
}

Area3DChart is an area chart that has a shaded area underneath a curve.

func (Area3DChart) AddAxis

func (_a Area3DChart) AddAxis(axis Axis)

func (Area3DChart) AddSeries

func (_ee Area3DChart) AddSeries() AreaChartSeries

AddSeries adds a default series to an area chart.

func (Area3DChart) InitializeDefaults

func (_dag Area3DChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (Area3DChart) X

func (_e Area3DChart) X() *_c.CT_Area3DChart

X returns the inner wrapped XML type.

type AreaChart

type AreaChart struct {
	// contains filtered or unexported fields
}

AreaChart is an area chart that has a shaded area underneath a curve.

func (AreaChart) AddAxis

func (_fe AreaChart) AddAxis(axis Axis)

func (AreaChart) AddSeries

func (_cf AreaChart) AddSeries() AreaChartSeries

AddSeries adds a default series to an area chart.

func (AreaChart) InitializeDefaults

func (_ec AreaChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (AreaChart) X

func (_bc AreaChart) X() *_c.CT_AreaChart

X returns the inner wrapped XML type.

type AreaChartSeries

type AreaChartSeries struct {
	// contains filtered or unexported fields
}

AreaChartSeries is a series to be used on an area chart.

func (AreaChartSeries) CategoryAxis

func (_gf AreaChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (AreaChartSeries) InitializeDefaults

func (_dcf AreaChartSeries) InitializeDefaults()

InitializeDefaults initializes an area series to the default values.

func (AreaChartSeries) Properties

func (_be AreaChartSeries) Properties() _da.ShapeProperties

Properties returns the bar chart series shape properties.

func (AreaChartSeries) SetText

func (_fb AreaChartSeries) SetText(s string)

SetText sets the series text.

func (AreaChartSeries) Values

func (_gab AreaChartSeries) Values() NumberDataSource

Values returns the value data source.

func (AreaChartSeries) X

func (_ce AreaChartSeries) X() *_c.CT_AreaSer

X returns the inner wrapped XML type.

type Axis

type Axis interface{ AxisID() uint32 }

Axis is the interface implemented by different axes when assigning to a chart.

var NullAxis Axis = nullAxis(0)

type Bar3DChart

type Bar3DChart struct {
	// contains filtered or unexported fields
}

Bar3DChart is a 3D bar chart.

func (Bar3DChart) AddAxis

func (_gag Bar3DChart) AddAxis(axis Axis)

func (Bar3DChart) AddSeries

func (_ef Bar3DChart) AddSeries() BarChartSeries

AddSeries adds a default series to a bar chart.

func (Bar3DChart) InitializeDefaults

func (_ccf Bar3DChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (Bar3DChart) SetDirection

func (_ab Bar3DChart) SetDirection(d _c.ST_BarDir)

SetDirection changes the direction of the bar chart (bar or column).

func (Bar3DChart) X

func (_ffe Bar3DChart) X() *_c.CT_Bar3DChart

X returns the inner wrapped XML type.

type BarChart

type BarChart struct {
	// contains filtered or unexported fields
}

BarChart is a 2D bar chart.

func (BarChart) AddAxis

func (_caa BarChart) AddAxis(axis Axis)

func (BarChart) AddSeries

func (_dd BarChart) AddSeries() BarChartSeries

AddSeries adds a default series to a bar chart.

func (BarChart) InitializeDefaults

func (_eb BarChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (BarChart) SetDirection

func (_fc BarChart) SetDirection(d _c.ST_BarDir)

SetDirection changes the direction of the bar chart (bar or column).

func (BarChart) X

func (_cca BarChart) X() *_c.CT_BarChart

X returns the inner wrapped XML type.

type BarChartSeries

type BarChartSeries struct {
	// contains filtered or unexported fields
}

BarChartSeries is a series to be used on a bar chart.

func (BarChartSeries) CategoryAxis

func (_agg BarChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (BarChartSeries) InitializeDefaults

func (_eef BarChartSeries) InitializeDefaults()

InitializeDefaults initializes a bar chart series to the default values.

func (BarChartSeries) Properties

func (_db BarChartSeries) Properties() _da.ShapeProperties

Properties returns the bar chart series shape properties.

func (BarChartSeries) SetText

func (_eaa BarChartSeries) SetText(s string)

SetText sets the series text.

func (BarChartSeries) Values

func (_bff BarChartSeries) Values() NumberDataSource

Values returns the value data source.

func (BarChartSeries) X

func (_gc BarChartSeries) X() *_c.CT_BarSer

X returns the inner wrapped XML type.

type BubbleChart

type BubbleChart struct {
	// contains filtered or unexported fields
}

BubbleChart is a 2D Bubble chart.

func (BubbleChart) AddAxis

func (_dgb BubbleChart) AddAxis(axis Axis)

func (BubbleChart) AddSeries

func (_gg BubbleChart) AddSeries() BubbleChartSeries

AddSeries adds a default series to a Bubble chart.

func (BubbleChart) InitializeDefaults

func (_fg BubbleChart) InitializeDefaults()

InitializeDefaults the Bubble chart to its defaults

func (BubbleChart) X

func (_cb BubbleChart) X() *_c.CT_BubbleChart

X returns the inner wrapped XML type.

type BubbleChartSeries

type BubbleChartSeries struct {
	// contains filtered or unexported fields
}

BubbleChartSeries is a series to be used on a Bubble chart.

func (BubbleChartSeries) BubbleSizes

func (_abf BubbleChartSeries) BubbleSizes() NumberDataSource

Values returns the bubble size data source.

func (BubbleChartSeries) CategoryAxis

func (_gcc BubbleChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (BubbleChartSeries) InitializeDefaults

func (_bbe BubbleChartSeries) InitializeDefaults()

InitializeDefaults initializes a Bubble chart series to the default values.

func (BubbleChartSeries) Properties

func (_aec BubbleChartSeries) Properties() _da.ShapeProperties

Properties returns the Bubble chart series shape properties.

func (BubbleChartSeries) SetText

func (_ae BubbleChartSeries) SetText(s string)

SetText sets the series text.

func (BubbleChartSeries) Values

func (_aa BubbleChartSeries) Values() NumberDataSource

Values returns the value data source.

func (BubbleChartSeries) X

func (_cab BubbleChartSeries) X() *_c.CT_BubbleSer

X returns the inner wrapped XML type.

type CategoryAxis

type CategoryAxis struct {
	// contains filtered or unexported fields
}

func MakeCategoryAxis

func MakeCategoryAxis(x *_c.CT_CatAx) CategoryAxis

func (CategoryAxis) AxisID

func (_gagf CategoryAxis) AxisID() uint32

func (CategoryAxis) InitializeDefaults

func (_aece CategoryAxis) InitializeDefaults()

func (CategoryAxis) MajorGridLines

func (_aeg CategoryAxis) MajorGridLines() GridLines

func (CategoryAxis) Properties

func (_bd CategoryAxis) Properties() _da.ShapeProperties

func (CategoryAxis) SetCrosses

func (_feg CategoryAxis) SetCrosses(axis Axis)

func (CategoryAxis) SetMajorTickMark

func (_de CategoryAxis) SetMajorTickMark(m _c.ST_TickMark)

func (CategoryAxis) SetMinorTickMark

func (_aggb CategoryAxis) SetMinorTickMark(m _c.ST_TickMark)

func (CategoryAxis) SetPosition

func (_bdd CategoryAxis) SetPosition(p _c.ST_AxPos)

func (CategoryAxis) SetTickLabelPosition

func (_bgg CategoryAxis) SetTickLabelPosition(p _c.ST_TickLblPos)

type CategoryAxisDataSource

type CategoryAxisDataSource struct {
	// contains filtered or unexported fields
}

CategoryAxisDataSource specifies the data for an axis. It's commonly used with SetReference to set the axis data to a range of cells.

func MakeAxisDataSource

func MakeAxisDataSource(x *_c.CT_AxDataSource) CategoryAxisDataSource

MakeAxisDataSource constructs an AxisDataSource wrapper.

func (CategoryAxisDataSource) SetLabelReference

func (_ggg CategoryAxisDataSource) SetLabelReference(s string)

SetLabelReference is used to set the source data to a range of cells containing strings.

func (CategoryAxisDataSource) SetNumberReference

func (_acg CategoryAxisDataSource) SetNumberReference(s string)

SetNumberReference is used to set the source data to a range of cells containing numbers.

func (CategoryAxisDataSource) SetValues

func (_cac CategoryAxisDataSource) SetValues(v []string)

SetValues is used to set the source data to a set of values.

type Chart

type Chart struct {
	// contains filtered or unexported fields
}

Chart is a generic chart.

func MakeChart

func MakeChart(x *_c.ChartSpace) Chart

func (Chart) AddArea3DChart

func (_fd Chart) AddArea3DChart() Area3DChart

AddArea3DChart adds a new area chart to a chart.

func (Chart) AddAreaChart

func (_bgf Chart) AddAreaChart() AreaChart

AddAreaChart adds a new area chart to a chart.

func (Chart) AddBar3DChart

func (_bdb Chart) AddBar3DChart() Bar3DChart

AddBar3DChart adds a new 3D bar chart to a chart.

func (Chart) AddBarChart

func (_ecb Chart) AddBarChart() BarChart

AddBarChart adds a new bar chart to a chart.

func (Chart) AddBubbleChart

func (_dae Chart) AddBubbleChart() BubbleChart

AddBubbleChart adds a new bubble chart.

func (Chart) AddCategoryAxis

func (_fdg Chart) AddCategoryAxis() CategoryAxis

AddCategoryAxis adds a category axis.

func (Chart) AddDateAxis

func (_bgfc Chart) AddDateAxis() DateAxis

AddDateAxis adds a value axis to the chart.

func (Chart) AddDoughnutChart

func (_aca Chart) AddDoughnutChart() DoughnutChart

AddDoughnutChart adds a new doughnut (pie with a hole in the center) chart to a chart.

func (Chart) AddLegend

func (_bggg Chart) AddLegend() Legend

AddLegend adds a legend to a chart, replacing any existing legend.

func (Chart) AddLine3DChart

func (_aba Chart) AddLine3DChart() Line3DChart

AddLine3DChart adds a new 3D line chart to a chart.

func (Chart) AddLineChart

func (_eg Chart) AddLineChart() LineChart

AddLineChart adds a new line chart to a chart.

func (Chart) AddPie3DChart

func (_dec Chart) AddPie3DChart() Pie3DChart

AddPie3DChart adds a new pie chart to a chart.

func (Chart) AddPieChart

func (_ega Chart) AddPieChart() PieChart

AddPieChart adds a new pie chart to a chart.

func (Chart) AddPieOfPieChart

func (_ed Chart) AddPieOfPieChart() PieOfPieChart

AddPieOfPieChart adds a new pie chart to a chart.

func (Chart) AddRadarChart

func (_bfc Chart) AddRadarChart() RadarChart

AddRadarChart adds a new radar chart to a chart.

func (Chart) AddScatterChart

func (_eeg Chart) AddScatterChart() ScatterChart

AddScatterChart adds a scatter (X/Y) chart.

func (Chart) AddSeriesAxis

func (_cdb Chart) AddSeriesAxis() SeriesAxis

func (Chart) AddStockChart

func (_bgb Chart) AddStockChart() StockChart

AddStockChart adds a new stock chart.

func (Chart) AddSurface3DChart

func (_cgf Chart) AddSurface3DChart() Surface3DChart

AddSurface3DChart adds a new 3D surface chart to a chart.

func (Chart) AddSurfaceChart

func (_gea Chart) AddSurfaceChart() SurfaceChart

AddSurfaceChart adds a new surface chart to a chart.

func (Chart) AddTitle

func (_gga Chart) AddTitle() Title

AddTitle sets a new title on the chart.

func (Chart) AddValueAxis

func (_fgb Chart) AddValueAxis() ValueAxis

AddValueAxis adds a value axis to the chart.

func (Chart) Properties

func (_fcbc Chart) Properties() _da.ShapeProperties

Properties returns the chart's shape properties.

func (Chart) RemoveLegend

func (_gcbe Chart) RemoveLegend()

RemoveLegend removes the legend if the chart has one.

func (Chart) RemoveTitle

func (_cge Chart) RemoveTitle()

RemoveTitle removes any existing title from the chart.

func (Chart) SetDisplayBlanksAs

func (_bbc Chart) SetDisplayBlanksAs(v _c.ST_DispBlanksAs)

SetDisplayBlanksAs controls how missing values are displayed.

func (Chart) X

func (_fbg Chart) X() *_c.ChartSpace

X returns the inner wrapped XML type.

type DataLabels

type DataLabels struct {
	// contains filtered or unexported fields
}

func MakeDataLabels

func MakeDataLabels(x *_c.CT_DLbls) DataLabels

func (DataLabels) SetPosition

func (_acae DataLabels) SetPosition(p _c.ST_DLblPos)

func (DataLabels) SetShowCategoryName

func (_efa DataLabels) SetShowCategoryName(b bool)

func (DataLabels) SetShowLeaderLines

func (_bef DataLabels) SetShowLeaderLines(b bool)

func (DataLabels) SetShowLegendKey

func (_dea DataLabels) SetShowLegendKey(b bool)

func (DataLabels) SetShowPercent

func (_gec DataLabels) SetShowPercent(b bool)

func (DataLabels) SetShowSeriesName

func (_fcc DataLabels) SetShowSeriesName(b bool)

func (DataLabels) SetShowValue

func (_fbd DataLabels) SetShowValue(b bool)

type DateAxis

type DateAxis struct {
	// contains filtered or unexported fields
}

func (DateAxis) AxisID

func (_gac DateAxis) AxisID() uint32

func (DateAxis) MajorGridLines

func (_cbb DateAxis) MajorGridLines() GridLines

func (DateAxis) Properties

func (_bddg DateAxis) Properties() _da.ShapeProperties

func (DateAxis) SetCrosses

func (_gfb DateAxis) SetCrosses(axis Axis)

func (DateAxis) SetMajorTickMark

func (_fca DateAxis) SetMajorTickMark(m _c.ST_TickMark)

func (DateAxis) SetMinorTickMark

func (_aed DateAxis) SetMinorTickMark(m _c.ST_TickMark)

func (DateAxis) SetPosition

func (_eaae DateAxis) SetPosition(p _c.ST_AxPos)

func (DateAxis) SetTickLabelPosition

func (_fac DateAxis) SetTickLabelPosition(p _c.ST_TickLblPos)

func (DateAxis) X

func (_caf DateAxis) X() *_c.CT_DateAx

X returns the inner wrapped XML type.

type DoughnutChart

type DoughnutChart struct {
	// contains filtered or unexported fields
}

DoughnutChart is a Doughnut chart.

func (DoughnutChart) AddSeries

func (_deb DoughnutChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Doughnut chart.

func (DoughnutChart) InitializeDefaults

func (_eeed DoughnutChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (DoughnutChart) SetHoleSize

func (_bde DoughnutChart) SetHoleSize(pct uint8)

SetHoleSize controls the hole size in the pie chart and is measured in percent.

func (DoughnutChart) X

func (_fbcc DoughnutChart) X() *_c.CT_DoughnutChart

X returns the inner wrapped XML type.

type GridLines

type GridLines struct {
	// contains filtered or unexported fields
}

func (GridLines) Properties

func (_dbf GridLines) Properties() _da.ShapeProperties

func (GridLines) X

func (_efac GridLines) X() *_c.CT_ChartLines

X returns the inner wrapped XML type.

type Legend

type Legend struct {
	// contains filtered or unexported fields
}

func MakeLegend

func MakeLegend(l *_c.CT_Legend) Legend

func (Legend) InitializeDefaults

func (_efc Legend) InitializeDefaults()

func (Legend) Properties

func (_ddb Legend) Properties() _da.ShapeProperties

func (Legend) SetOverlay

func (_fba Legend) SetOverlay(b bool)

func (Legend) SetPosition

func (_eff Legend) SetPosition(p _c.ST_LegendPos)

func (Legend) X

func (_eac Legend) X() *_c.CT_Legend

X returns the inner wrapped XML type.

type Line3DChart

type Line3DChart struct {
	// contains filtered or unexported fields
}

func (Line3DChart) AddAxis

func (_gfc Line3DChart) AddAxis(axis Axis)

AddAxis adds an axis to a line chart.

func (Line3DChart) AddSeries

func (_abdf Line3DChart) AddSeries() LineChartSeries

AddSeries adds a default series to a line chart.

func (Line3DChart) X

func (_cbc Line3DChart) X() *_c.CT_Line3DChart

X returns the inner wrapped XML type.

type LineChart

type LineChart struct {
	// contains filtered or unexported fields
}

func (LineChart) AddAxis

func (_dff LineChart) AddAxis(axis Axis)

AddAxis adds an axis to a line chart.

func (LineChart) AddSeries

func (_fdf LineChart) AddSeries() LineChartSeries

AddSeries adds a default series to a line chart.

func (LineChart) X

func (_abfe LineChart) X() *_c.CT_LineChart

X returns the inner wrapped XML type.

type LineChartSeries

type LineChartSeries struct {
	// contains filtered or unexported fields
}

LineChartSeries is the data series for a line chart.

func (LineChartSeries) CategoryAxis

func (_bcdf LineChartSeries) CategoryAxis() CategoryAxisDataSource

func (LineChartSeries) Index

func (_aag LineChartSeries) Index() uint32

Index returns the index of the series

func (LineChartSeries) InitializeDefaults

func (_ffeg LineChartSeries) InitializeDefaults()

func (LineChartSeries) Labels

func (_edef LineChartSeries) Labels() DataLabels

Labels returns the data label properties.

func (LineChartSeries) Marker

func (_abg LineChartSeries) Marker() Marker

Marker returns the marker properties.

func (LineChartSeries) Order

func (_dfff LineChartSeries) Order() uint32

Order returns the order of the series

func (LineChartSeries) Properties

func (_gfe LineChartSeries) Properties() _da.ShapeProperties

Properties returns the line chart series shape properties.

func (LineChartSeries) SetIndex

func (_dacg LineChartSeries) SetIndex(idx uint32)

SetIndex sets the index of the series

func (LineChartSeries) SetOrder

func (_fcbce LineChartSeries) SetOrder(idx uint32)

SetOrder sets the order of the series

func (LineChartSeries) SetSmooth

func (_dgdd LineChartSeries) SetSmooth(b bool)

func (LineChartSeries) SetText

func (_geg LineChartSeries) SetText(s string)

SetText sets the series text

func (LineChartSeries) Values

func (_faa LineChartSeries) Values() NumberDataSource

func (LineChartSeries) X

func (_eae LineChartSeries) X() *_c.CT_LineSer

X returns the inner wrapped XML type.

type Marker

type Marker struct {
	// contains filtered or unexported fields
}

func MakeMarker

func MakeMarker(x *_c.CT_Marker) Marker

func (Marker) Properties

func (_gfcc Marker) Properties() _da.ShapeProperties

func (Marker) SetSize

func (_ccfb Marker) SetSize(sz uint8)

func (Marker) SetSymbol

func (_cdg Marker) SetSymbol(s _c.ST_MarkerStyle)

func (Marker) X

func (_dcbg Marker) X() *_c.CT_Marker

X returns the inner wrapped XML type.

type NumberDataSource

type NumberDataSource struct {
	// contains filtered or unexported fields
}

func MakeNumberDataSource

func MakeNumberDataSource(x *_c.CT_NumDataSource) NumberDataSource

func (NumberDataSource) CreateEmptyNumberCache

func (_dbdb NumberDataSource) CreateEmptyNumberCache()

CreateEmptyNumberCache creates an empty number cache, which is used sometimes to increase file format compatibility. It should actually contain the computed cell data, but just creating an empty one is good enough.

func (NumberDataSource) SetReference

func (_cdd NumberDataSource) SetReference(s string)

func (NumberDataSource) SetValues

func (_fbce NumberDataSource) SetValues(v []float64)

SetValues sets values directly on a source.

type Pie3DChart

type Pie3DChart struct {
	// contains filtered or unexported fields
}

Pie3DChart is a Pie3D chart.

func (Pie3DChart) AddSeries

func (_dbe Pie3DChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Pie3D chart.

func (Pie3DChart) InitializeDefaults

func (_gbca Pie3DChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (Pie3DChart) X

func (_gae Pie3DChart) X() *_c.CT_Pie3DChart

X returns the inner wrapped XML type.

type PieChart

type PieChart struct {
	// contains filtered or unexported fields
}

PieChart is a Pie chart.

func (PieChart) AddSeries

func (_ddda PieChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Pie chart.

func (PieChart) InitializeDefaults

func (_aab PieChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (PieChart) X

func (_dbg PieChart) X() *_c.CT_PieChart

X returns the inner wrapped XML type.

type PieChartSeries

type PieChartSeries struct {
	// contains filtered or unexported fields
}

PieChartSeries is a series to be used on an Pie chart.

func (PieChartSeries) CategoryAxis

func (_egg PieChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (PieChartSeries) InitializeDefaults

func (_dbee PieChartSeries) InitializeDefaults()

InitializeDefaults initializes an Pie series to the default values.

func (PieChartSeries) Properties

func (_dcd PieChartSeries) Properties() _da.ShapeProperties

Properties returns the bar chart series shape properties.

func (PieChartSeries) SetExplosion

func (_dgc PieChartSeries) SetExplosion(v uint32)

SetExplosion sets the value that the segements of the pie are 'exploded' by

func (PieChartSeries) SetText

func (_gbf PieChartSeries) SetText(s string)

SetText sets the series text.

func (PieChartSeries) Values

func (_fde PieChartSeries) Values() NumberDataSource

Values returns the value data source.

func (PieChartSeries) X

func (_bbd PieChartSeries) X() *_c.CT_PieSer

X returns the inner wrapped XML type.

type PieOfPieChart

type PieOfPieChart struct {
	// contains filtered or unexported fields
}

PieOfPieChart is a Pie chart with an extra Pie chart.

func (PieOfPieChart) AddSeries

func (_egba PieOfPieChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Pie chart.

func (PieOfPieChart) InitializeDefaults

func (_ebf PieOfPieChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (PieOfPieChart) SetType

func (_edee PieOfPieChart) SetType(t _c.ST_OfPieType)

SetType sets the type the secone pie to either pie or bar

func (PieOfPieChart) X

func (_afc PieOfPieChart) X() *_c.CT_OfPieChart

X returns the inner wrapped XML type.

type RadarChart

type RadarChart struct {
	// contains filtered or unexported fields
}

RadarChart is an Radar chart that has a shaded Radar underneath a curve.

func (RadarChart) AddAxis

func (_bbeg RadarChart) AddAxis(axis Axis)

func (RadarChart) AddSeries

func (_aeb RadarChart) AddSeries() RadarChartSeries

AddSeries adds a default series to an Radar chart.

func (RadarChart) InitializeDefaults

func (_aga RadarChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (RadarChart) X

func (_cedb RadarChart) X() *_c.CT_RadarChart

X returns the inner wrapped XML type.

type RadarChartSeries

type RadarChartSeries struct {
	// contains filtered or unexported fields
}

RadarChartSeries is a series to be used on an Radar chart.

func (RadarChartSeries) CategoryAxis

func (_effa RadarChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (RadarChartSeries) InitializeDefaults

func (_eaf RadarChartSeries) InitializeDefaults()

InitializeDefaults initializes an Radar series to the default values.

func (RadarChartSeries) Properties

func (_fbfc RadarChartSeries) Properties() _da.ShapeProperties

Properties returns the bar chart series shape properties.

func (RadarChartSeries) SetText

func (_cgg RadarChartSeries) SetText(s string)

SetText sets the series text.

func (RadarChartSeries) Values

func (_gbfa RadarChartSeries) Values() NumberDataSource

Values returns the value data source.

func (RadarChartSeries) X

func (_beg RadarChartSeries) X() *_c.CT_RadarSer

X returns the inner wrapped XML type.

type ScatterChart

type ScatterChart struct {
	// contains filtered or unexported fields
}

func (ScatterChart) AddAxis

func (_cacd ScatterChart) AddAxis(axis Axis)

AddAxis adds an axis to a Scatter chart.

func (ScatterChart) AddSeries

func (_edag ScatterChart) AddSeries() ScatterChartSeries

AddSeries adds a default series to a Scatter chart.

func (ScatterChart) InitializeDefaults

func (_cfa ScatterChart) InitializeDefaults()

func (ScatterChart) X

func (_bdab ScatterChart) X() *_c.CT_ScatterChart

X returns the inner wrapped XML type.

type ScatterChartSeries

type ScatterChartSeries struct {
	// contains filtered or unexported fields
}

ScatterChartSeries is the data series for a scatter chart.

func (ScatterChartSeries) CategoryAxis

func (_dcgd ScatterChartSeries) CategoryAxis() CategoryAxisDataSource

func (ScatterChartSeries) Index

func (_aff ScatterChartSeries) Index() uint32

Index returns the index of the series

func (ScatterChartSeries) InitializeDefaults

func (_bfe ScatterChartSeries) InitializeDefaults()

func (ScatterChartSeries) Labels

func (_faf ScatterChartSeries) Labels() DataLabels

Labels returns the data label properties.

func (ScatterChartSeries) Marker

func (_gbg ScatterChartSeries) Marker() Marker

Marker returns the marker properties.

func (ScatterChartSeries) Order

func (_fgg ScatterChartSeries) Order() uint32

Order returns the order of the series

func (ScatterChartSeries) Properties

func (_aac ScatterChartSeries) Properties() _da.ShapeProperties

Properties returns the line chart series shape properties.

func (ScatterChartSeries) SetIndex

func (_gacd ScatterChartSeries) SetIndex(idx uint32)

SetIndex sets the index of the series

func (ScatterChartSeries) SetOrder

func (_bfbg ScatterChartSeries) SetOrder(idx uint32)

SetOrder sets the order of the series

func (ScatterChartSeries) SetSmooth

func (_addb ScatterChartSeries) SetSmooth(b bool)

func (ScatterChartSeries) SetText

func (_bce ScatterChartSeries) SetText(s string)

SetText sets the series text

func (ScatterChartSeries) Values

func (_bebe ScatterChartSeries) Values() NumberDataSource

func (ScatterChartSeries) X

X returns the inner wrapped XML type.

type SeriesAxis

type SeriesAxis struct {
	// contains filtered or unexported fields
}

func MakeSeriesAxis

func MakeSeriesAxis(x *_c.CT_SerAx) SeriesAxis

func (SeriesAxis) AxisID

func (_cde SeriesAxis) AxisID() uint32

func (SeriesAxis) InitializeDefaults

func (_dbab SeriesAxis) InitializeDefaults()

func (SeriesAxis) SetCrosses

func (_ffeb SeriesAxis) SetCrosses(axis Axis)

func (SeriesAxis) X

func (_egf SeriesAxis) X() *_c.CT_SerAx

X returns the inner wrapped XML type.

type StockChart

type StockChart struct {
	// contains filtered or unexported fields
}

StockChart is a 2D Stock chart.

func (StockChart) AddAxis

func (_dgg StockChart) AddAxis(axis Axis)

func (StockChart) AddSeries

func (_ccb StockChart) AddSeries() LineChartSeries

AddSeries adds a default series to a Stock chart.

func (StockChart) InitializeDefaults

func (_fcbg StockChart) InitializeDefaults()

InitializeDefaults the Stock chart to its defaults

func (StockChart) X

func (_fgff StockChart) X() *_c.CT_StockChart

X returns the inner wrapped XML type.

type Surface3DChart

type Surface3DChart struct {
	// contains filtered or unexported fields
}

Surface3DChart is a 3D view of a surface chart.

func (Surface3DChart) AddAxis

func (_afe Surface3DChart) AddAxis(axis Axis)

AddAxis adds an axis to a Surface chart.

func (Surface3DChart) AddSeries

func (_cdc Surface3DChart) AddSeries() SurfaceChartSeries

AddSeries adds a default series to a Surface chart.

func (Surface3DChart) InitializeDefaults

func (_cabb Surface3DChart) InitializeDefaults()

func (Surface3DChart) X

func (_cabd Surface3DChart) X() *_c.CT_Surface3DChart

X returns the inner wrapped XML type.

type SurfaceChart

type SurfaceChart struct {
	// contains filtered or unexported fields
}

SurfaceChart is a 3D surface chart, viewed from the top-down.

func (SurfaceChart) AddAxis

func (_gbga SurfaceChart) AddAxis(axis Axis)

AddAxis adds an axis to a Surface chart.

func (SurfaceChart) AddSeries

func (_aedc SurfaceChart) AddSeries() SurfaceChartSeries

AddSeries adds a default series to a Surface chart.

func (SurfaceChart) InitializeDefaults

func (_bedb SurfaceChart) InitializeDefaults()

func (SurfaceChart) X

func (_gef SurfaceChart) X() *_c.CT_SurfaceChart

X returns the inner wrapped XML type.

type SurfaceChartSeries

type SurfaceChartSeries struct {
	// contains filtered or unexported fields
}

func (SurfaceChartSeries) CategoryAxis

func (_gaba SurfaceChartSeries) CategoryAxis() CategoryAxisDataSource

func (SurfaceChartSeries) Index

func (_eegb SurfaceChartSeries) Index() uint32

Index returns the index of the series

func (SurfaceChartSeries) InitializeDefaults

func (_bbg SurfaceChartSeries) InitializeDefaults()

func (SurfaceChartSeries) Order

func (_dagf SurfaceChartSeries) Order() uint32

Order returns the order of the series

func (SurfaceChartSeries) Properties

func (_bcca SurfaceChartSeries) Properties() _da.ShapeProperties

Properties returns the line chart series shape properties.

func (SurfaceChartSeries) SetIndex

func (_dbga SurfaceChartSeries) SetIndex(idx uint32)

SetIndex sets the index of the series

func (SurfaceChartSeries) SetOrder

func (_edf SurfaceChartSeries) SetOrder(idx uint32)

SetOrder sets the order of the series

func (SurfaceChartSeries) SetText

func (_edac SurfaceChartSeries) SetText(s string)

SetText sets the series text

func (SurfaceChartSeries) Values

func (_ffff SurfaceChartSeries) Values() NumberDataSource

func (SurfaceChartSeries) X

func (_efad SurfaceChartSeries) X() *_c.CT_SurfaceSer

X returns the inner wrapped XML type.

type Title

type Title struct {
	// contains filtered or unexported fields
}

func MakeTitle

func MakeTitle(x *_c.CT_Title) Title

func (Title) InitializeDefaults

func (_aebc Title) InitializeDefaults()

func (Title) ParagraphProperties

func (_daeg Title) ParagraphProperties() _da.ParagraphProperties

func (Title) RunProperties

func (_fdfg Title) RunProperties() _da.RunProperties

func (Title) SetText

func (_cad Title) SetText(s string)

func (Title) X

func (_cgd Title) X() *_c.CT_Title

X returns the inner wrapped XML type.

type ValueAxis

type ValueAxis struct {
	// contains filtered or unexported fields
}

func MakeValueAxis

func MakeValueAxis(x *_c.CT_ValAx) ValueAxis

func (ValueAxis) AxisID

func (_afce ValueAxis) AxisID() uint32

func (ValueAxis) MajorGridLines

func (_bcg ValueAxis) MajorGridLines() GridLines

func (ValueAxis) Properties

func (_bbcg ValueAxis) Properties() _da.ShapeProperties

func (ValueAxis) SetCrosses

func (_addg ValueAxis) SetCrosses(axis Axis)

func (ValueAxis) SetMajorTickMark

func (_bdae ValueAxis) SetMajorTickMark(m _c.ST_TickMark)

func (ValueAxis) SetMinorTickMark

func (_agcf ValueAxis) SetMinorTickMark(m _c.ST_TickMark)

func (ValueAxis) SetPosition

func (_ddba ValueAxis) SetPosition(p _c.ST_AxPos)

func (ValueAxis) SetTickLabelPosition

func (_gde ValueAxis) SetTickLabelPosition(p _c.ST_TickLblPos)

func (ValueAxis) X

func (_eab ValueAxis) X() *_c.CT_ValAx

X returns the inner wrapped XML type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL