Documentation ¶
Index ¶
- type Area3DChart
- type AreaChart
- type AreaChartSeries
- func (c AreaChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c AreaChartSeries) InitializeDefaults()
- func (c AreaChartSeries) Properties() drawing.ShapeProperties
- func (c AreaChartSeries) SetText(s string)
- func (c AreaChartSeries) Values() NumberDataSource
- func (c AreaChartSeries) X() *crt.CT_AreaSer
- type Axis
- type Bar3DChart
- type BarChart
- type BarChartSeries
- func (c BarChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c BarChartSeries) InitializeDefaults()
- func (c BarChartSeries) Properties() drawing.ShapeProperties
- func (c BarChartSeries) SetText(s string)
- func (c BarChartSeries) Values() NumberDataSource
- func (c BarChartSeries) X() *crt.CT_BarSer
- type BubbleChart
- type BubbleChartSeries
- func (c BubbleChartSeries) BubbleSizes() NumberDataSource
- func (c BubbleChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c BubbleChartSeries) InitializeDefaults()
- func (c BubbleChartSeries) Properties() drawing.ShapeProperties
- func (c BubbleChartSeries) SetText(s string)
- func (c BubbleChartSeries) Values() NumberDataSource
- func (c BubbleChartSeries) X() *crt.CT_BubbleSer
- type CategoryAxis
- func (c CategoryAxis) AxisID() uint32
- func (c CategoryAxis) InitializeDefaults()
- func (c CategoryAxis) MajorGridLines() GridLines
- func (c CategoryAxis) Properties() drawing.ShapeProperties
- func (c CategoryAxis) SetCrosses(axis Axis)
- func (c CategoryAxis) SetMajorTickMark(m crt.ST_TickMark)
- func (c CategoryAxis) SetMinorTickMark(m crt.ST_TickMark)
- func (c CategoryAxis) SetPosition(p crt.ST_AxPos)
- func (c CategoryAxis) SetTickLabelPosition(p crt.ST_TickLblPos)
- type CategoryAxisDataSource
- type Chart
- func (c Chart) AddArea3DChart() Area3DChart
- func (c Chart) AddAreaChart() AreaChart
- func (c Chart) AddBar3DChart() Bar3DChart
- func (c Chart) AddBarChart() BarChart
- func (c Chart) AddBubbleChart() BubbleChart
- func (c Chart) AddCategoryAxis() CategoryAxis
- func (c Chart) AddDateAxis() DateAxis
- func (c Chart) AddDoughnutChart() DoughnutChart
- func (c Chart) AddLegend() Legend
- func (c Chart) AddLine3DChart() Line3DChart
- func (c Chart) AddLineChart() LineChart
- func (c Chart) AddPie3DChart() Pie3DChart
- func (c Chart) AddPieChart() PieChart
- func (c Chart) AddPieOfPieChart() PieOfPieChart
- func (c Chart) AddRadarChart() RadarChart
- func (c Chart) AddScatterChart() ScatterChart
- func (c Chart) AddSeriesAxis() SeriesAxis
- func (c Chart) AddStockChart() StockChart
- func (c Chart) AddSurface3DChart() Surface3DChart
- func (c Chart) AddSurfaceChart() SurfaceChart
- func (c Chart) AddTitle() Title
- func (c Chart) AddValueAxis() ValueAxis
- func (c Chart) Properties() drawing.ShapeProperties
- func (c Chart) RemoveLegend()
- func (c Chart) RemoveTitle()
- func (c Chart) SetDisplayBlanksAs(v crt.ST_DispBlanksAs)
- func (c Chart) X() *crt.ChartSpace
- type DataLabels
- func (d DataLabels) SetPosition(p crt.ST_DLblPos)
- func (d DataLabels) SetShowCategoryName(b bool)
- func (d DataLabels) SetShowLeaderLines(b bool)
- func (d DataLabels) SetShowLegendKey(b bool)
- func (d DataLabels) SetShowPercent(b bool)
- func (d DataLabels) SetShowSeriesName(b bool)
- func (d DataLabels) SetShowValue(b bool)
- type DateAxis
- func (v DateAxis) AxisID() uint32
- func (v DateAxis) MajorGridLines() GridLines
- func (v DateAxis) Properties() drawing.ShapeProperties
- func (v DateAxis) SetCrosses(axis Axis)
- func (v DateAxis) SetMajorTickMark(m crt.ST_TickMark)
- func (v DateAxis) SetMinorTickMark(m crt.ST_TickMark)
- func (v DateAxis) SetPosition(p crt.ST_AxPos)
- func (v DateAxis) SetTickLabelPosition(p crt.ST_TickLblPos)
- func (v DateAxis) X() *crt.CT_DateAx
- type DoughnutChart
- type GridLines
- type Legend
- type Line3DChart
- type LineChart
- type LineChartSeries
- func (c LineChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c LineChartSeries) Index() uint32
- func (c LineChartSeries) InitializeDefaults()
- func (c LineChartSeries) Labels() DataLabels
- func (c LineChartSeries) Marker() Marker
- func (c LineChartSeries) Order() uint32
- func (c LineChartSeries) Properties() drawing.ShapeProperties
- func (c LineChartSeries) SetIndex(idx uint32)
- func (c LineChartSeries) SetOrder(idx uint32)
- func (c LineChartSeries) SetSmooth(b bool)
- func (c LineChartSeries) SetText(s string)
- func (c LineChartSeries) Values() NumberDataSource
- func (c LineChartSeries) X() *crt.CT_LineSer
- type Marker
- type NumberDataSource
- type Pie3DChart
- type PieChart
- type PieChartSeries
- func (c PieChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c PieChartSeries) InitializeDefaults()
- func (c PieChartSeries) Properties() drawing.ShapeProperties
- func (c PieChartSeries) SetExplosion(v uint32)
- func (c PieChartSeries) SetText(s string)
- func (c PieChartSeries) Values() NumberDataSource
- func (c PieChartSeries) X() *crt.CT_PieSer
- type PieOfPieChart
- type RadarChart
- type RadarChartSeries
- func (c RadarChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c RadarChartSeries) InitializeDefaults()
- func (c RadarChartSeries) Properties() drawing.ShapeProperties
- func (c RadarChartSeries) SetText(s string)
- func (c RadarChartSeries) Values() NumberDataSource
- func (c RadarChartSeries) X() *crt.CT_RadarSer
- type ScatterChart
- type ScatterChartSeries
- func (c ScatterChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c ScatterChartSeries) Index() uint32
- func (c ScatterChartSeries) InitializeDefaults()
- func (c ScatterChartSeries) Labels() DataLabels
- func (c ScatterChartSeries) Marker() Marker
- func (c ScatterChartSeries) Order() uint32
- func (c ScatterChartSeries) Properties() drawing.ShapeProperties
- func (c ScatterChartSeries) SetIndex(idx uint32)
- func (c ScatterChartSeries) SetOrder(idx uint32)
- func (c ScatterChartSeries) SetSmooth(b bool)
- func (c ScatterChartSeries) SetText(s string)
- func (c ScatterChartSeries) Values() NumberDataSource
- func (c ScatterChartSeries) X() *crt.CT_ScatterSer
- type SeriesAxis
- type StockChart
- type Surface3DChart
- type SurfaceChart
- type SurfaceChartSeries
- func (c SurfaceChartSeries) CategoryAxis() CategoryAxisDataSource
- func (c SurfaceChartSeries) Index() uint32
- func (c SurfaceChartSeries) InitializeDefaults()
- func (c SurfaceChartSeries) Order() uint32
- func (c SurfaceChartSeries) Properties() drawing.ShapeProperties
- func (c SurfaceChartSeries) SetIndex(idx uint32)
- func (c SurfaceChartSeries) SetOrder(idx uint32)
- func (c SurfaceChartSeries) SetText(s string)
- func (c SurfaceChartSeries) Values() NumberDataSource
- func (c SurfaceChartSeries) X() *crt.CT_SurfaceSer
- type Title
- type ValueAxis
- func (v ValueAxis) AxisID() uint32
- func (v ValueAxis) MajorGridLines() GridLines
- func (v ValueAxis) Properties() drawing.ShapeProperties
- func (v ValueAxis) SetCrosses(axis Axis)
- func (v ValueAxis) SetMajorTickMark(m crt.ST_TickMark)
- func (v ValueAxis) SetMinorTickMark(m crt.ST_TickMark)
- func (v ValueAxis) SetPosition(p crt.ST_AxPos)
- func (v ValueAxis) SetTickLabelPosition(p crt.ST_TickLblPos)
- func (v ValueAxis) X() *crt.CT_ValAx
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 (c Area3DChart) AddAxis(axis Axis)
func (Area3DChart) AddSeries ¶
func (c Area3DChart) AddSeries() AreaChartSeries
AddSeries adds a default series to an area chart.
func (Area3DChart) InitializeDefaults ¶
func (c Area3DChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (Area3DChart) X ¶
func (c Area3DChart) X() *crt.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) AddSeries ¶
func (c AreaChart) AddSeries() AreaChartSeries
AddSeries adds a default series to an area chart.
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 (c AreaChartSeries) CategoryAxis() CategoryAxisDataSource
CategoryAxis returns the category data source.
func (AreaChartSeries) InitializeDefaults ¶
func (c AreaChartSeries) InitializeDefaults()
InitializeDefaults initializes an area series to the default values.
func (AreaChartSeries) Properties ¶
func (c AreaChartSeries) Properties() drawing.ShapeProperties
Properties returns the bar chart series shape properties.
func (AreaChartSeries) SetText ¶
func (c AreaChartSeries) SetText(s string)
SetText sets the series text.
func (AreaChartSeries) Values ¶
func (c AreaChartSeries) Values() NumberDataSource
Values returns the value data source.
func (AreaChartSeries) X ¶
func (c AreaChartSeries) X() *crt.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)
NullAxis is a null axis with an ID of zero
type Bar3DChart ¶
type Bar3DChart struct {
// contains filtered or unexported fields
}
Bar3DChart is a 3D bar chart.
func (Bar3DChart) AddAxis ¶
func (c Bar3DChart) AddAxis(axis Axis)
func (Bar3DChart) AddSeries ¶
func (c Bar3DChart) AddSeries() BarChartSeries
AddSeries adds a default series to a bar chart.
func (Bar3DChart) InitializeDefaults ¶
func (c Bar3DChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (Bar3DChart) SetDirection ¶
func (c Bar3DChart) SetDirection(d crt.ST_BarDir)
SetDirection changes the direction of the bar chart (bar or column).
func (Bar3DChart) X ¶
func (c Bar3DChart) X() *crt.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) AddSeries ¶
func (c BarChart) AddSeries() BarChartSeries
AddSeries adds a default series to a bar chart.
func (BarChart) InitializeDefaults ¶
func (c BarChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (BarChart) SetDirection ¶
SetDirection changes the direction of the bar chart (bar or column).
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 (c BarChartSeries) CategoryAxis() CategoryAxisDataSource
CategoryAxis returns the category data source.
func (BarChartSeries) InitializeDefaults ¶
func (c BarChartSeries) InitializeDefaults()
InitializeDefaults initializes a bar chart series to the default values.
func (BarChartSeries) Properties ¶
func (c BarChartSeries) Properties() drawing.ShapeProperties
Properties returns the bar chart series shape properties.
func (BarChartSeries) SetText ¶
func (c BarChartSeries) SetText(s string)
SetText sets the series text.
func (BarChartSeries) Values ¶
func (c BarChartSeries) Values() NumberDataSource
Values returns the value data source.
func (BarChartSeries) X ¶
func (c BarChartSeries) X() *crt.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 (c BubbleChart) AddAxis(axis Axis)
func (BubbleChart) AddSeries ¶
func (c BubbleChart) AddSeries() BubbleChartSeries
AddSeries adds a default series to a Bubble chart.
func (BubbleChart) InitializeDefaults ¶
func (c BubbleChart) InitializeDefaults()
InitializeDefaults the Bubble chart to its defaults
func (BubbleChart) X ¶
func (c BubbleChart) X() *crt.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 (c BubbleChartSeries) BubbleSizes() NumberDataSource
Values returns the bubble size data source.
func (BubbleChartSeries) CategoryAxis ¶
func (c BubbleChartSeries) CategoryAxis() CategoryAxisDataSource
CategoryAxis returns the category data source.
func (BubbleChartSeries) InitializeDefaults ¶
func (c BubbleChartSeries) InitializeDefaults()
InitializeDefaults initializes a Bubble chart series to the default values.
func (BubbleChartSeries) Properties ¶
func (c BubbleChartSeries) Properties() drawing.ShapeProperties
Properties returns the Bubble chart series shape properties.
func (BubbleChartSeries) SetText ¶
func (c BubbleChartSeries) SetText(s string)
SetText sets the series text.
func (BubbleChartSeries) Values ¶
func (c BubbleChartSeries) Values() NumberDataSource
Values returns the value data source.
func (BubbleChartSeries) X ¶
func (c BubbleChartSeries) X() *crt.CT_BubbleSer
X returns the inner wrapped XML type.
type CategoryAxis ¶
type CategoryAxis struct {
// contains filtered or unexported fields
}
func MakeCategoryAxis ¶
func MakeCategoryAxis(x *crt.CT_CatAx) CategoryAxis
func (CategoryAxis) AxisID ¶
func (c CategoryAxis) AxisID() uint32
func (CategoryAxis) InitializeDefaults ¶
func (c CategoryAxis) InitializeDefaults()
func (CategoryAxis) MajorGridLines ¶
func (c CategoryAxis) MajorGridLines() GridLines
func (CategoryAxis) Properties ¶
func (c CategoryAxis) Properties() drawing.ShapeProperties
func (CategoryAxis) SetCrosses ¶
func (c CategoryAxis) SetCrosses(axis Axis)
func (CategoryAxis) SetMajorTickMark ¶
func (c CategoryAxis) SetMajorTickMark(m crt.ST_TickMark)
func (CategoryAxis) SetMinorTickMark ¶
func (c CategoryAxis) SetMinorTickMark(m crt.ST_TickMark)
func (CategoryAxis) SetPosition ¶
func (c CategoryAxis) SetPosition(p crt.ST_AxPos)
func (CategoryAxis) SetTickLabelPosition ¶
func (c CategoryAxis) SetTickLabelPosition(p crt.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 *crt.CT_AxDataSource) CategoryAxisDataSource
MakeAxisDataSource constructs an AxisDataSource wrapper.
func (CategoryAxisDataSource) SetLabelReference ¶
func (a CategoryAxisDataSource) SetLabelReference(s string)
SetLabelReference is used to set the source data to a range of cells containing strings.
func (CategoryAxisDataSource) SetNumberReference ¶
func (a CategoryAxisDataSource) SetNumberReference(s string)
SetNumberReference is used to set the source data to a range of cells containing numbers.
func (CategoryAxisDataSource) SetValues ¶
func (a 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 *crt.ChartSpace) Chart
func (Chart) AddArea3DChart ¶
func (c Chart) AddArea3DChart() Area3DChart
AddArea3DChart adds a new area chart to a chart.
func (Chart) AddAreaChart ¶
AddAreaChart adds a new area chart to a chart.
func (Chart) AddBar3DChart ¶
func (c Chart) AddBar3DChart() Bar3DChart
AddBar3DChart adds a new 3D bar chart to a chart.
func (Chart) AddBarChart ¶
AddBarChart adds a new bar chart to a chart.
func (Chart) AddBubbleChart ¶
func (c Chart) AddBubbleChart() BubbleChart
AddBubbleChart adds a new bubble chart.
func (Chart) AddCategoryAxis ¶
func (c Chart) AddCategoryAxis() CategoryAxis
AddCategoryAxis adds a category axis.
func (Chart) AddDateAxis ¶
AddDateAxis adds a value axis to the chart.
func (Chart) AddDoughnutChart ¶
func (c Chart) AddDoughnutChart() DoughnutChart
AddDoughnutChart adds a new doughnut (pie with a hole in the center) chart to a chart.
func (Chart) AddLegend ¶
AddLegend adds a legend to a chart, replacing any existing legend.
func (Chart) AddLine3DChart ¶
func (c Chart) AddLine3DChart() Line3DChart
AddLine3DChart adds a new 3D line chart to a chart.
func (Chart) AddLineChart ¶
AddLineChart adds a new line chart to a chart.
func (Chart) AddPie3DChart ¶
func (c Chart) AddPie3DChart() Pie3DChart
AddPie3DChart adds a new pie chart to a chart.
func (Chart) AddPieChart ¶
AddPieChart adds a new pie chart to a chart.
func (Chart) AddPieOfPieChart ¶
func (c Chart) AddPieOfPieChart() PieOfPieChart
AddPieOfPieChart adds a new pie chart to a chart.
func (Chart) AddRadarChart ¶
func (c Chart) AddRadarChart() RadarChart
AddRadarChart adds a new radar chart to a chart.
func (Chart) AddScatterChart ¶
func (c Chart) AddScatterChart() ScatterChart
AddScatterChart adds a scatter (X/Y) chart.
func (Chart) AddSeriesAxis ¶
func (c Chart) AddSeriesAxis() SeriesAxis
func (Chart) AddStockChart ¶
func (c Chart) AddStockChart() StockChart
AddStockChart adds a new stock chart.
func (Chart) AddSurface3DChart ¶
func (c Chart) AddSurface3DChart() Surface3DChart
AddSurface3DChart adds a new 3D surface chart to a chart.
func (Chart) AddSurfaceChart ¶
func (c Chart) AddSurfaceChart() SurfaceChart
AddSurfaceChart adds a new surface chart to a chart.
func (Chart) AddValueAxis ¶
AddValueAxis adds a value axis to the chart.
func (Chart) Properties ¶
func (c Chart) Properties() drawing.ShapeProperties
Properties returns the chart's shape properties.
func (Chart) RemoveLegend ¶
func (c Chart) RemoveLegend()
RemoveLegend removes the legend if the chart has one.
func (Chart) RemoveTitle ¶
func (c Chart) RemoveTitle()
RemoveTitle removes any existing title from the chart.
func (Chart) SetDisplayBlanksAs ¶
func (c Chart) SetDisplayBlanksAs(v crt.ST_DispBlanksAs)
SetDisplayBlanksAs controls how missing values are displayed.
type DataLabels ¶
type DataLabels struct {
// contains filtered or unexported fields
}
func MakeDataLabels ¶
func MakeDataLabels(x *crt.CT_DLbls) DataLabels
func (DataLabels) SetPosition ¶
func (d DataLabels) SetPosition(p crt.ST_DLblPos)
func (DataLabels) SetShowCategoryName ¶
func (d DataLabels) SetShowCategoryName(b bool)
func (DataLabels) SetShowLeaderLines ¶
func (d DataLabels) SetShowLeaderLines(b bool)
func (DataLabels) SetShowLegendKey ¶
func (d DataLabels) SetShowLegendKey(b bool)
func (DataLabels) SetShowPercent ¶
func (d DataLabels) SetShowPercent(b bool)
func (DataLabels) SetShowSeriesName ¶
func (d DataLabels) SetShowSeriesName(b bool)
func (DataLabels) SetShowValue ¶
func (d DataLabels) SetShowValue(b bool)
type DateAxis ¶
type DateAxis struct {
// contains filtered or unexported fields
}
func (DateAxis) Properties ¶
func (v DateAxis) Properties() drawing.ShapeProperties
func (DateAxis) SetMajorTickMark ¶
func (v DateAxis) SetMajorTickMark(m crt.ST_TickMark)
func (DateAxis) SetMinorTickMark ¶
func (v DateAxis) SetMinorTickMark(m crt.ST_TickMark)
func (DateAxis) SetTickLabelPosition ¶
func (v DateAxis) SetTickLabelPosition(p crt.ST_TickLblPos)
type DoughnutChart ¶
type DoughnutChart struct {
// contains filtered or unexported fields
}
DoughnutChart is a Doughnut chart.
func (DoughnutChart) AddSeries ¶
func (c DoughnutChart) AddSeries() PieChartSeries
AddSeries adds a default series to an Doughnut chart.
func (DoughnutChart) InitializeDefaults ¶
func (c DoughnutChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (DoughnutChart) SetHoleSize ¶
func (c DoughnutChart) SetHoleSize(pct uint8)
SetHoleSize controls the hole size in the pie chart and is measured in percent.
func (DoughnutChart) X ¶
func (c DoughnutChart) X() *crt.CT_DoughnutChart
X returns the inner wrapped XML type.
type GridLines ¶
type GridLines struct {
// contains filtered or unexported fields
}
func (GridLines) Properties ¶
func (g GridLines) Properties() drawing.ShapeProperties
func (GridLines) X ¶
func (g GridLines) X() *crt.CT_ChartLines
X returns the inner wrapped XML type.
type Legend ¶
type Legend struct {
// contains filtered or unexported fields
}
func (Legend) Properties ¶
func (l Legend) Properties() drawing.ShapeProperties
func (Legend) SetPosition ¶
func (l Legend) SetPosition(p crt.ST_LegendPos)
type Line3DChart ¶
type Line3DChart struct {
// contains filtered or unexported fields
}
func (Line3DChart) AddAxis ¶
func (c Line3DChart) AddAxis(axis Axis)
AddAxis adds an axis to a line chart.
func (Line3DChart) AddSeries ¶
func (c Line3DChart) AddSeries() LineChartSeries
AddSeries adds a default series to a line chart.
func (Line3DChart) X ¶
func (c Line3DChart) X() *crt.CT_Line3DChart
X returns the inner wrapped XML type.
type LineChart ¶
type LineChart struct {
// contains filtered or unexported fields
}
func (LineChart) AddAxis ¶
AddAxis adds an axis to a line chart.
func (LineChart) AddSeries ¶
func (c LineChart) AddSeries() LineChartSeries
AddSeries adds a default series to a line chart.
type LineChartSeries ¶
type LineChartSeries struct {
// contains filtered or unexported fields
}
LineChartSeries is the data series for a line chart.
func (LineChartSeries) CategoryAxis ¶
func (c LineChartSeries) CategoryAxis() CategoryAxisDataSource
func (LineChartSeries) Index ¶
func (c LineChartSeries) Index() uint32
Index returns the index of the series
func (LineChartSeries) InitializeDefaults ¶
func (c LineChartSeries) InitializeDefaults()
func (LineChartSeries) Labels ¶
func (c LineChartSeries) Labels() DataLabels
Labels returns the data label properties.
func (LineChartSeries) Marker ¶
func (c LineChartSeries) Marker() Marker
Marker returns the marker properties.
func (LineChartSeries) Order ¶
func (c LineChartSeries) Order() uint32
Order returns the order of the series
func (LineChartSeries) Properties ¶
func (c LineChartSeries) Properties() drawing.ShapeProperties
Properties returns the line chart series shape properties.
func (LineChartSeries) SetIndex ¶
func (c LineChartSeries) SetIndex(idx uint32)
SetIndex sets the index of the series
func (LineChartSeries) SetOrder ¶
func (c LineChartSeries) SetOrder(idx uint32)
SetOrder sets the order of the series
func (LineChartSeries) SetSmooth ¶
func (c LineChartSeries) SetSmooth(b bool)
func (LineChartSeries) SetText ¶
func (c LineChartSeries) SetText(s string)
SetText sets the series text
func (LineChartSeries) Values ¶
func (c LineChartSeries) Values() NumberDataSource
func (LineChartSeries) X ¶
func (c LineChartSeries) X() *crt.CT_LineSer
X returns the inner wrapped XML type.
type Marker ¶
type Marker struct {
// contains filtered or unexported fields
}
func (Marker) Properties ¶
func (m Marker) Properties() drawing.ShapeProperties
func (Marker) SetSymbol ¶
func (m Marker) SetSymbol(s crt.ST_MarkerStyle)
type NumberDataSource ¶
type NumberDataSource struct {
// contains filtered or unexported fields
}
func MakeNumberDataSource ¶
func MakeNumberDataSource(x *crt.CT_NumDataSource) NumberDataSource
func (NumberDataSource) CreateEmptyNumberCache ¶
func (n 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 (n NumberDataSource) SetReference(s string)
func (NumberDataSource) SetValues ¶
func (n 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 (c Pie3DChart) AddSeries() PieChartSeries
AddSeries adds a default series to an Pie3D chart.
func (Pie3DChart) InitializeDefaults ¶
func (c Pie3DChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (Pie3DChart) X ¶
func (c Pie3DChart) X() *crt.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 (c PieChart) AddSeries() PieChartSeries
AddSeries adds a default series to an Pie chart.
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 (c PieChartSeries) CategoryAxis() CategoryAxisDataSource
CategoryAxis returns the category data source.
func (PieChartSeries) InitializeDefaults ¶
func (c PieChartSeries) InitializeDefaults()
InitializeDefaults initializes an Pie series to the default values.
func (PieChartSeries) Properties ¶
func (c PieChartSeries) Properties() drawing.ShapeProperties
Properties returns the bar chart series shape properties.
func (PieChartSeries) SetExplosion ¶
func (c PieChartSeries) SetExplosion(v uint32)
SetExplosion sets the value that the segements of the pie are 'exploded' by
func (PieChartSeries) SetText ¶
func (c PieChartSeries) SetText(s string)
SetText sets the series text.
func (PieChartSeries) Values ¶
func (c PieChartSeries) Values() NumberDataSource
Values returns the value data source.
func (PieChartSeries) X ¶
func (c PieChartSeries) X() *crt.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 (c PieOfPieChart) AddSeries() PieChartSeries
AddSeries adds a default series to an Pie chart.
func (PieOfPieChart) InitializeDefaults ¶
func (c PieOfPieChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (PieOfPieChart) SetType ¶
func (c PieOfPieChart) SetType(t crt.ST_OfPieType)
SetType sets the type the secone pie to either pie or bar
func (PieOfPieChart) X ¶
func (c PieOfPieChart) X() *crt.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 (c RadarChart) AddAxis(axis Axis)
func (RadarChart) AddSeries ¶
func (c RadarChart) AddSeries() RadarChartSeries
AddSeries adds a default series to an Radar chart.
func (RadarChart) InitializeDefaults ¶
func (c RadarChart) InitializeDefaults()
InitializeDefaults the bar chart to its defaults
func (RadarChart) X ¶
func (c RadarChart) X() *crt.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 (c RadarChartSeries) CategoryAxis() CategoryAxisDataSource
CategoryAxis returns the category data source.
func (RadarChartSeries) InitializeDefaults ¶
func (c RadarChartSeries) InitializeDefaults()
InitializeDefaults initializes an Radar series to the default values.
func (RadarChartSeries) Properties ¶
func (c RadarChartSeries) Properties() drawing.ShapeProperties
Properties returns the bar chart series shape properties.
func (RadarChartSeries) SetText ¶
func (c RadarChartSeries) SetText(s string)
SetText sets the series text.
func (RadarChartSeries) Values ¶
func (c RadarChartSeries) Values() NumberDataSource
Values returns the value data source.
func (RadarChartSeries) X ¶
func (c RadarChartSeries) X() *crt.CT_RadarSer
X returns the inner wrapped XML type.
type ScatterChart ¶
type ScatterChart struct {
// contains filtered or unexported fields
}
func (ScatterChart) AddAxis ¶
func (c ScatterChart) AddAxis(axis Axis)
AddAxis adds an axis to a Scatter chart.
func (ScatterChart) AddSeries ¶
func (c ScatterChart) AddSeries() ScatterChartSeries
AddSeries adds a default series to a Scatter chart.
func (ScatterChart) InitializeDefaults ¶
func (c ScatterChart) InitializeDefaults()
func (ScatterChart) X ¶
func (c ScatterChart) X() *crt.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 (c ScatterChartSeries) CategoryAxis() CategoryAxisDataSource
func (ScatterChartSeries) Index ¶
func (c ScatterChartSeries) Index() uint32
Index returns the index of the series
func (ScatterChartSeries) InitializeDefaults ¶
func (c ScatterChartSeries) InitializeDefaults()
func (ScatterChartSeries) Labels ¶
func (c ScatterChartSeries) Labels() DataLabels
Labels returns the data label properties.
func (ScatterChartSeries) Marker ¶
func (c ScatterChartSeries) Marker() Marker
Marker returns the marker properties.
func (ScatterChartSeries) Order ¶
func (c ScatterChartSeries) Order() uint32
Order returns the order of the series
func (ScatterChartSeries) Properties ¶
func (c ScatterChartSeries) Properties() drawing.ShapeProperties
Properties returns the line chart series shape properties.
func (ScatterChartSeries) SetIndex ¶
func (c ScatterChartSeries) SetIndex(idx uint32)
SetIndex sets the index of the series
func (ScatterChartSeries) SetOrder ¶
func (c ScatterChartSeries) SetOrder(idx uint32)
SetOrder sets the order of the series
func (ScatterChartSeries) SetSmooth ¶
func (c ScatterChartSeries) SetSmooth(b bool)
func (ScatterChartSeries) SetText ¶
func (c ScatterChartSeries) SetText(s string)
SetText sets the series text
func (ScatterChartSeries) Values ¶
func (c ScatterChartSeries) Values() NumberDataSource
func (ScatterChartSeries) X ¶
func (c ScatterChartSeries) X() *crt.CT_ScatterSer
X returns the inner wrapped XML type.
type SeriesAxis ¶
type SeriesAxis struct {
// contains filtered or unexported fields
}
func MakeSeriesAxis ¶
func MakeSeriesAxis(x *crt.CT_SerAx) SeriesAxis
func (SeriesAxis) AxisID ¶
func (s SeriesAxis) AxisID() uint32
func (SeriesAxis) InitializeDefaults ¶
func (s SeriesAxis) InitializeDefaults()
func (SeriesAxis) SetCrosses ¶
func (s SeriesAxis) SetCrosses(axis Axis)
type StockChart ¶
type StockChart struct {
// contains filtered or unexported fields
}
StockChart is a 2D Stock chart.
func (StockChart) AddAxis ¶
func (c StockChart) AddAxis(axis Axis)
func (StockChart) AddSeries ¶
func (c StockChart) AddSeries() LineChartSeries
AddSeries adds a default series to a Stock chart.
func (StockChart) InitializeDefaults ¶
func (c StockChart) InitializeDefaults()
InitializeDefaults the Stock chart to its defaults
func (StockChart) X ¶
func (c StockChart) X() *crt.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 (c Surface3DChart) AddAxis(axis Axis)
AddAxis adds an axis to a Surface chart.
func (Surface3DChart) AddSeries ¶
func (c Surface3DChart) AddSeries() SurfaceChartSeries
AddSeries adds a default series to a Surface chart.
func (Surface3DChart) InitializeDefaults ¶
func (c Surface3DChart) InitializeDefaults()
func (Surface3DChart) X ¶
func (c Surface3DChart) X() *crt.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 (c SurfaceChart) AddAxis(axis Axis)
AddAxis adds an axis to a Surface chart.
func (SurfaceChart) AddSeries ¶
func (c SurfaceChart) AddSeries() SurfaceChartSeries
AddSeries adds a default series to a Surface chart.
func (SurfaceChart) InitializeDefaults ¶
func (c SurfaceChart) InitializeDefaults()
func (SurfaceChart) X ¶
func (c SurfaceChart) X() *crt.CT_SurfaceChart
X returns the inner wrapped XML type.
type SurfaceChartSeries ¶
type SurfaceChartSeries struct {
// contains filtered or unexported fields
}
func (SurfaceChartSeries) CategoryAxis ¶
func (c SurfaceChartSeries) CategoryAxis() CategoryAxisDataSource
func (SurfaceChartSeries) Index ¶
func (c SurfaceChartSeries) Index() uint32
Index returns the index of the series
func (SurfaceChartSeries) InitializeDefaults ¶
func (c SurfaceChartSeries) InitializeDefaults()
func (SurfaceChartSeries) Order ¶
func (c SurfaceChartSeries) Order() uint32
Order returns the order of the series
func (SurfaceChartSeries) Properties ¶
func (c SurfaceChartSeries) Properties() drawing.ShapeProperties
Properties returns the line chart series shape properties.
func (SurfaceChartSeries) SetIndex ¶
func (c SurfaceChartSeries) SetIndex(idx uint32)
SetIndex sets the index of the series
func (SurfaceChartSeries) SetOrder ¶
func (c SurfaceChartSeries) SetOrder(idx uint32)
SetOrder sets the order of the series
func (SurfaceChartSeries) SetText ¶
func (c SurfaceChartSeries) SetText(s string)
SetText sets the series text
func (SurfaceChartSeries) Values ¶
func (c SurfaceChartSeries) Values() NumberDataSource
func (SurfaceChartSeries) X ¶
func (c SurfaceChartSeries) X() *crt.CT_SurfaceSer
X returns the inner wrapped XML type.
type Title ¶
type Title struct {
// contains filtered or unexported fields
}
func (Title) ParagraphProperties ¶
func (t Title) ParagraphProperties() drawing.ParagraphProperties
func (Title) RunProperties ¶
func (t Title) RunProperties() drawing.RunProperties
type ValueAxis ¶
type ValueAxis struct {
// contains filtered or unexported fields
}
func (ValueAxis) Properties ¶
func (v ValueAxis) Properties() drawing.ShapeProperties
func (ValueAxis) SetMajorTickMark ¶
func (v ValueAxis) SetMajorTickMark(m crt.ST_TickMark)
func (ValueAxis) SetMinorTickMark ¶
func (v ValueAxis) SetMinorTickMark(m crt.ST_TickMark)
func (ValueAxis) SetTickLabelPosition ¶
func (v ValueAxis) SetTickLabelPosition(p crt.ST_TickLblPos)
Source Files ¶
- area3dchart.go
- areachart.go
- areachartseries.go
- axis.go
- bar3dchart.go
- barchart.go
- barchartseries.go
- bubblechart.go
- bubblechartseries.go
- categoryaxis.go
- categoryaxisdatasource.go
- chart.go
- chartbase.go
- datalabels.go
- dateaxis.go
- doughnutchart.go
- gridlines.go
- legend.go
- line3dchart.go
- linechart.go
- linechartseries.go
- marker.go
- numberdatasource.go
- pie3dchart.go
- piechart.go
- piechartseries.go
- pieofpiechart.go
- radarchart.go
- radarchartseries.go
- scatterchart.go
- scatterchartseries.go
- seriesaxis.go
- stockchart.go
- surface3dchart.go
- surfacechart.go
- surfacechartseries.go
- title.go
- valueaxis.go