chart

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: AGPL-3.0 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 (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

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 (c AreaChart) AddAxis(axis Axis)

func (AreaChart) AddSeries

func (c AreaChart) AddSeries() AreaChartSeries

AddSeries adds a default series to an area chart.

func (AreaChart) InitializeDefaults

func (c AreaChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (AreaChart) X

func (c AreaChart) X() *crt.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 (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

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) AddAxis

func (c BarChart) AddAxis(axis Axis)

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

func (c BarChart) SetDirection(d crt.ST_BarDir)

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

func (BarChart) X

func (c BarChart) X() *crt.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 (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

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

Values returns the value data source.

func (BubbleChartSeries) X

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

func (c Chart) AddAreaChart() AreaChart

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

func (c Chart) AddBarChart() BarChart

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

func (c Chart) AddDateAxis() DateAxis

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

func (c Chart) AddLegend() Legend

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

func (c Chart) AddLineChart() LineChart

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

func (c Chart) AddPieChart() PieChart

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) AddTitle

func (c Chart) AddTitle() Title

AddTitle sets a new title on the chart.

func (Chart) AddValueAxis

func (c Chart) AddValueAxis() ValueAxis

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.

func (Chart) X

func (c Chart) X() *crt.ChartSpace

X returns the inner wrapped XML type.

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) AxisID

func (v DateAxis) AxisID() uint32

func (DateAxis) MajorGridLines

func (v DateAxis) MajorGridLines() GridLines

func (DateAxis) Properties

func (v DateAxis) Properties() drawing.ShapeProperties

func (DateAxis) SetCrosses

func (v DateAxis) SetCrosses(axis Axis)

func (DateAxis) SetMajorTickMark

func (v DateAxis) SetMajorTickMark(m crt.ST_TickMark)

func (DateAxis) SetMinorTickMark

func (v DateAxis) SetMinorTickMark(m crt.ST_TickMark)

func (DateAxis) SetPosition

func (v DateAxis) SetPosition(p crt.ST_AxPos)

func (DateAxis) SetTickLabelPosition

func (v DateAxis) SetTickLabelPosition(p crt.ST_TickLblPos)

func (DateAxis) X

func (v DateAxis) X() *crt.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 (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

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 MakeLegend

func MakeLegend(l *crt.CT_Legend) Legend

func (Legend) InitializeDefaults

func (l Legend) InitializeDefaults()

func (Legend) Properties

func (l Legend) Properties() drawing.ShapeProperties

func (Legend) SetOverlay

func (l Legend) SetOverlay(b bool)

func (Legend) SetPosition

func (l Legend) SetPosition(p crt.ST_LegendPos)

func (Legend) X

func (l Legend) X() *crt.CT_Legend

X returns the inner wrapped XML type.

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

X returns the inner wrapped XML type.

type LineChart

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

func (LineChart) AddAxis

func (c LineChart) AddAxis(axis Axis)

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.

func (LineChart) X

func (c LineChart) X() *crt.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 (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

X returns the inner wrapped XML type.

type Marker

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

func MakeMarker

func MakeMarker(x *crt.CT_Marker) Marker

func (Marker) Properties

func (m Marker) Properties() drawing.ShapeProperties

func (Marker) SetSize

func (m Marker) SetSize(sz uint8)

func (Marker) SetSymbol

func (m Marker) SetSymbol(s crt.ST_MarkerStyle)

func (Marker) X

func (m Marker) X() *crt.CT_Marker

X returns the inner wrapped XML type.

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.

func (PieChart) InitializeDefaults

func (c PieChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (PieChart) X

func (c PieChart) X() *crt.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 (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

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

Values returns the value data source.

func (RadarChartSeries) X

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

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

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 (ScatterChartSeries) X

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)

func (SeriesAxis) X

func (s SeriesAxis) X() *crt.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 (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

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

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

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 (SurfaceChartSeries) X

X returns the inner wrapped XML type.

type Title

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

func MakeTitle

func MakeTitle(x *crt.CT_Title) Title

func (Title) InitializeDefaults

func (t Title) InitializeDefaults()

func (Title) ParagraphProperties

func (t Title) ParagraphProperties() drawing.ParagraphProperties

func (Title) RunProperties

func (t Title) RunProperties() drawing.RunProperties

func (Title) SetText

func (t Title) SetText(s string)

func (Title) X

func (t Title) X() *crt.CT_Title

X returns the inner wrapped XML type.

type ValueAxis

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

func MakeValueAxis

func MakeValueAxis(x *crt.CT_ValAx) ValueAxis

func (ValueAxis) AxisID

func (v ValueAxis) AxisID() uint32

func (ValueAxis) MajorGridLines

func (v ValueAxis) MajorGridLines() GridLines

func (ValueAxis) Properties

func (v ValueAxis) Properties() drawing.ShapeProperties

func (ValueAxis) SetCrosses

func (v ValueAxis) SetCrosses(axis Axis)

func (ValueAxis) SetMajorTickMark

func (v ValueAxis) SetMajorTickMark(m crt.ST_TickMark)

func (ValueAxis) SetMinorTickMark

func (v ValueAxis) SetMinorTickMark(m crt.ST_TickMark)

func (ValueAxis) SetPosition

func (v ValueAxis) SetPosition(p crt.ST_AxPos)

func (ValueAxis) SetTickLabelPosition

func (v ValueAxis) SetTickLabelPosition(p crt.ST_TickLblPos)

func (ValueAxis) X

func (v ValueAxis) X() *crt.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