unioffice: github.com/unidoc/unioffice/chart Index | Files

package chart

import "github.com/unidoc/unioffice/chart"

Index

Package 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

type Area3DChart Uses

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

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

func (Area3DChart) AddAxis Uses

func (c Area3DChart) AddAxis(axis Axis)

func (Area3DChart) AddSeries Uses

func (c Area3DChart) AddSeries() AreaChartSeries

AddSeries adds a default series to an area chart.

func (Area3DChart) InitializeDefaults Uses

func (c Area3DChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (Area3DChart) X Uses

func (c Area3DChart) X() *crt.CT_Area3DChart

X returns the inner wrapped XML type.

type AreaChart Uses

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

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

func (AreaChart) AddAxis Uses

func (c AreaChart) AddAxis(axis Axis)

func (AreaChart) AddSeries Uses

func (c AreaChart) AddSeries() AreaChartSeries

AddSeries adds a default series to an area chart.

func (AreaChart) InitializeDefaults Uses

func (c AreaChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (AreaChart) X Uses

func (c AreaChart) X() *crt.CT_AreaChart

X returns the inner wrapped XML type.

type AreaChartSeries Uses

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

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

func (AreaChartSeries) CategoryAxis Uses

func (c AreaChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (AreaChartSeries) InitializeDefaults Uses

func (c AreaChartSeries) InitializeDefaults()

InitializeDefaults initializes an area series to the default values.

func (AreaChartSeries) Properties Uses

func (c AreaChartSeries) Properties() drawing.ShapeProperties

Properties returns the bar chart series shape properties.

func (AreaChartSeries) SetText Uses

func (c AreaChartSeries) SetText(s string)

SetText sets the series text.

func (AreaChartSeries) Values Uses

func (c AreaChartSeries) Values() NumberDataSource

Values returns the value data source.

func (AreaChartSeries) X Uses

func (c AreaChartSeries) X() *crt.CT_AreaSer

X returns the inner wrapped XML type.

type Axis Uses

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 Uses

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

Bar3DChart is a 3D bar chart.

func (Bar3DChart) AddAxis Uses

func (c Bar3DChart) AddAxis(axis Axis)

func (Bar3DChart) AddSeries Uses

func (c Bar3DChart) AddSeries() BarChartSeries

AddSeries adds a default series to a bar chart.

func (Bar3DChart) InitializeDefaults Uses

func (c Bar3DChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (Bar3DChart) SetDirection Uses

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

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

func (Bar3DChart) X Uses

func (c Bar3DChart) X() *crt.CT_Bar3DChart

X returns the inner wrapped XML type.

type BarChart Uses

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

BarChart is a 2D bar chart.

func (BarChart) AddAxis Uses

func (c BarChart) AddAxis(axis Axis)

func (BarChart) AddSeries Uses

func (c BarChart) AddSeries() BarChartSeries

AddSeries adds a default series to a bar chart.

func (BarChart) InitializeDefaults Uses

func (c BarChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (BarChart) SetDirection Uses

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

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

func (BarChart) X Uses

func (c BarChart) X() *crt.CT_BarChart

X returns the inner wrapped XML type.

type BarChartSeries Uses

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

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

func (BarChartSeries) CategoryAxis Uses

func (c BarChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (BarChartSeries) InitializeDefaults Uses

func (c BarChartSeries) InitializeDefaults()

InitializeDefaults initializes a bar chart series to the default values.

func (BarChartSeries) Properties Uses

func (c BarChartSeries) Properties() drawing.ShapeProperties

Properties returns the bar chart series shape properties.

func (BarChartSeries) SetText Uses

func (c BarChartSeries) SetText(s string)

SetText sets the series text.

func (BarChartSeries) Values Uses

func (c BarChartSeries) Values() NumberDataSource

Values returns the value data source.

func (BarChartSeries) X Uses

func (c BarChartSeries) X() *crt.CT_BarSer

X returns the inner wrapped XML type.

type BubbleChart Uses

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

BubbleChart is a 2D Bubble chart.

func (BubbleChart) AddAxis Uses

func (c BubbleChart) AddAxis(axis Axis)

func (BubbleChart) AddSeries Uses

func (c BubbleChart) AddSeries() BubbleChartSeries

AddSeries adds a default series to a Bubble chart.

func (BubbleChart) InitializeDefaults Uses

func (c BubbleChart) InitializeDefaults()

InitializeDefaults the Bubble chart to its defaults

func (BubbleChart) X Uses

func (c BubbleChart) X() *crt.CT_BubbleChart

X returns the inner wrapped XML type.

type BubbleChartSeries Uses

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

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

func (BubbleChartSeries) BubbleSizes Uses

func (c BubbleChartSeries) BubbleSizes() NumberDataSource

Values returns the bubble size data source.

func (BubbleChartSeries) CategoryAxis Uses

func (c BubbleChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (BubbleChartSeries) InitializeDefaults Uses

func (c BubbleChartSeries) InitializeDefaults()

InitializeDefaults initializes a Bubble chart series to the default values.

func (BubbleChartSeries) Properties Uses

func (c BubbleChartSeries) Properties() drawing.ShapeProperties

Properties returns the Bubble chart series shape properties.

func (BubbleChartSeries) SetText Uses

func (c BubbleChartSeries) SetText(s string)

SetText sets the series text.

func (BubbleChartSeries) Values Uses

func (c BubbleChartSeries) Values() NumberDataSource

Values returns the value data source.

func (BubbleChartSeries) X Uses

func (c BubbleChartSeries) X() *crt.CT_BubbleSer

X returns the inner wrapped XML type.

type CategoryAxis Uses

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

func MakeCategoryAxis Uses

func MakeCategoryAxis(x *crt.CT_CatAx) CategoryAxis

func (CategoryAxis) AxisID Uses

func (c CategoryAxis) AxisID() uint32

func (CategoryAxis) InitializeDefaults Uses

func (c CategoryAxis) InitializeDefaults()

func (CategoryAxis) MajorGridLines Uses

func (c CategoryAxis) MajorGridLines() GridLines

func (CategoryAxis) Properties Uses

func (c CategoryAxis) Properties() drawing.ShapeProperties

func (CategoryAxis) SetCrosses Uses

func (c CategoryAxis) SetCrosses(axis Axis)

func (CategoryAxis) SetMajorTickMark Uses

func (c CategoryAxis) SetMajorTickMark(m crt.ST_TickMark)

func (CategoryAxis) SetMinorTickMark Uses

func (c CategoryAxis) SetMinorTickMark(m crt.ST_TickMark)

func (CategoryAxis) SetPosition Uses

func (c CategoryAxis) SetPosition(p crt.ST_AxPos)

func (CategoryAxis) SetTickLabelPosition Uses

func (c CategoryAxis) SetTickLabelPosition(p crt.ST_TickLblPos)

type CategoryAxisDataSource Uses

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 Uses

func MakeAxisDataSource(x *crt.CT_AxDataSource) CategoryAxisDataSource

MakeAxisDataSource constructs an AxisDataSource wrapper.

func (CategoryAxisDataSource) SetLabelReference Uses

func (a CategoryAxisDataSource) SetLabelReference(s string)

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

func (CategoryAxisDataSource) SetNumberReference Uses

func (a CategoryAxisDataSource) SetNumberReference(s string)

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

func (CategoryAxisDataSource) SetValues Uses

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

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

type Chart Uses

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

Chart is a generic chart.

func MakeChart Uses

func MakeChart(x *crt.ChartSpace) Chart

func (Chart) AddArea3DChart Uses

func (c Chart) AddArea3DChart() Area3DChart

AddArea3DChart adds a new area chart to a chart.

func (Chart) AddAreaChart Uses

func (c Chart) AddAreaChart() AreaChart

AddAreaChart adds a new area chart to a chart.

func (Chart) AddBar3DChart Uses

func (c Chart) AddBar3DChart() Bar3DChart

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

func (Chart) AddBarChart Uses

func (c Chart) AddBarChart() BarChart

AddBarChart adds a new bar chart to a chart.

func (Chart) AddBubbleChart Uses

func (c Chart) AddBubbleChart() BubbleChart

AddBubbleChart adds a new bubble chart.

func (Chart) AddCategoryAxis Uses

func (c Chart) AddCategoryAxis() CategoryAxis

AddCategoryAxis adds a category axis.

func (Chart) AddDateAxis Uses

func (c Chart) AddDateAxis() DateAxis

AddDateAxis adds a value axis to the chart.

func (Chart) AddDoughnutChart Uses

func (c Chart) AddDoughnutChart() DoughnutChart

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

func (Chart) AddLegend Uses

func (c Chart) AddLegend() Legend

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

func (Chart) AddLine3DChart Uses

func (c Chart) AddLine3DChart() Line3DChart

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

func (Chart) AddLineChart Uses

func (c Chart) AddLineChart() LineChart

AddLineChart adds a new line chart to a chart.

func (Chart) AddPie3DChart Uses

func (c Chart) AddPie3DChart() Pie3DChart

AddPie3DChart adds a new pie chart to a chart.

func (Chart) AddPieChart Uses

func (c Chart) AddPieChart() PieChart

AddPieChart adds a new pie chart to a chart.

func (Chart) AddPieOfPieChart Uses

func (c Chart) AddPieOfPieChart() PieOfPieChart

AddPieOfPieChart adds a new pie chart to a chart.

func (Chart) AddRadarChart Uses

func (c Chart) AddRadarChart() RadarChart

AddRadarChart adds a new radar chart to a chart.

func (Chart) AddScatterChart Uses

func (c Chart) AddScatterChart() ScatterChart

AddScatterChart adds a scatter (X/Y) chart.

func (Chart) AddSeriesAxis Uses

func (c Chart) AddSeriesAxis() SeriesAxis

func (Chart) AddStockChart Uses

func (c Chart) AddStockChart() StockChart

AddStockChart adds a new stock chart.

func (Chart) AddSurface3DChart Uses

func (c Chart) AddSurface3DChart() Surface3DChart

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

func (Chart) AddSurfaceChart Uses

func (c Chart) AddSurfaceChart() SurfaceChart

AddSurfaceChart adds a new surface chart to a chart.

func (Chart) AddTitle Uses

func (c Chart) AddTitle() Title

AddTitle sets a new title on the chart.

func (Chart) AddValueAxis Uses

func (c Chart) AddValueAxis() ValueAxis

AddValueAxis adds a value axis to the chart.

func (Chart) Properties Uses

func (c Chart) Properties() drawing.ShapeProperties

Properties returns the chart's shape properties.

func (Chart) RemoveLegend Uses

func (c Chart) RemoveLegend()

RemoveLegend removes the legend if the chart has one.

func (Chart) RemoveTitle Uses

func (c Chart) RemoveTitle()

RemoveTitle removes any existing title from the chart.

func (Chart) SetDisplayBlanksAs Uses

func (c Chart) SetDisplayBlanksAs(v crt.ST_DispBlanksAs)

SetDisplayBlanksAs controls how missing values are displayed.

func (Chart) X Uses

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

X returns the inner wrapped XML type.

type DataLabels Uses

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

func MakeDataLabels Uses

func MakeDataLabels(x *crt.CT_DLbls) DataLabels

func (DataLabels) SetPosition Uses

func (d DataLabels) SetPosition(p crt.ST_DLblPos)

func (DataLabels) SetShowCategoryName Uses

func (d DataLabels) SetShowCategoryName(b bool)

func (DataLabels) SetShowLeaderLines Uses

func (d DataLabels) SetShowLeaderLines(b bool)

func (DataLabels) SetShowLegendKey Uses

func (d DataLabels) SetShowLegendKey(b bool)

func (DataLabels) SetShowPercent Uses

func (d DataLabels) SetShowPercent(b bool)

func (DataLabels) SetShowSeriesName Uses

func (d DataLabels) SetShowSeriesName(b bool)

func (DataLabels) SetShowValue Uses

func (d DataLabels) SetShowValue(b bool)

type DateAxis Uses

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

func (DateAxis) AxisID Uses

func (v DateAxis) AxisID() uint32

func (DateAxis) MajorGridLines Uses

func (v DateAxis) MajorGridLines() GridLines

func (DateAxis) Properties Uses

func (v DateAxis) Properties() drawing.ShapeProperties

func (DateAxis) SetCrosses Uses

func (v DateAxis) SetCrosses(axis Axis)

func (DateAxis) SetMajorTickMark Uses

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

func (DateAxis) SetMinorTickMark Uses

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

func (DateAxis) SetPosition Uses

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

func (DateAxis) SetTickLabelPosition Uses

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

func (DateAxis) X Uses

func (v DateAxis) X() *crt.CT_DateAx

X returns the inner wrapped XML type.

type DoughnutChart Uses

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

DoughnutChart is a Doughnut chart.

func (DoughnutChart) AddSeries Uses

func (c DoughnutChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Doughnut chart.

func (DoughnutChart) InitializeDefaults Uses

func (c DoughnutChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (DoughnutChart) SetHoleSize Uses

func (c DoughnutChart) SetHoleSize(pct uint8)

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

func (DoughnutChart) X Uses

func (c DoughnutChart) X() *crt.CT_DoughnutChart

X returns the inner wrapped XML type.

type GridLines Uses

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

func (GridLines) Properties Uses

func (g GridLines) Properties() drawing.ShapeProperties

func (GridLines) X Uses

func (g GridLines) X() *crt.CT_ChartLines

X returns the inner wrapped XML type.

type Legend Uses

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

func MakeLegend Uses

func MakeLegend(l *crt.CT_Legend) Legend

func (Legend) InitializeDefaults Uses

func (l Legend) InitializeDefaults()

func (Legend) Properties Uses

func (l Legend) Properties() drawing.ShapeProperties

func (Legend) SetOverlay Uses

func (l Legend) SetOverlay(b bool)

func (Legend) SetPosition Uses

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

func (Legend) X Uses

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

X returns the inner wrapped XML type.

type Line3DChart Uses

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

func (Line3DChart) AddAxis Uses

func (c Line3DChart) AddAxis(axis Axis)

AddAxis adds an axis to a line chart.

func (Line3DChart) AddSeries Uses

func (c Line3DChart) AddSeries() LineChartSeries

AddSeries adds a default series to a line chart.

func (Line3DChart) X Uses

func (c Line3DChart) X() *crt.CT_Line3DChart

X returns the inner wrapped XML type.

type LineChart Uses

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

func (LineChart) AddAxis Uses

func (c LineChart) AddAxis(axis Axis)

AddAxis adds an axis to a line chart.

func (LineChart) AddSeries Uses

func (c LineChart) AddSeries() LineChartSeries

AddSeries adds a default series to a line chart.

func (LineChart) X Uses

func (c LineChart) X() *crt.CT_LineChart

X returns the inner wrapped XML type.

type LineChartSeries Uses

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

LineChartSeries is the data series for a line chart.

func (LineChartSeries) CategoryAxis Uses

func (c LineChartSeries) CategoryAxis() CategoryAxisDataSource

func (LineChartSeries) Index Uses

func (c LineChartSeries) Index() uint32

Index returns the index of the series

func (LineChartSeries) InitializeDefaults Uses

func (c LineChartSeries) InitializeDefaults()

func (LineChartSeries) Labels Uses

func (c LineChartSeries) Labels() DataLabels

Labels returns the data label properties.

func (LineChartSeries) Marker Uses

func (c LineChartSeries) Marker() Marker

Marker returns the marker properties.

func (LineChartSeries) Order Uses

func (c LineChartSeries) Order() uint32

Order returns the order of the series

func (LineChartSeries) Properties Uses

func (c LineChartSeries) Properties() drawing.ShapeProperties

Properties returns the line chart series shape properties.

func (LineChartSeries) SetIndex Uses

func (c LineChartSeries) SetIndex(idx uint32)

SetIndex sets the index of the series

func (LineChartSeries) SetOrder Uses

func (c LineChartSeries) SetOrder(idx uint32)

SetOrder sets the order of the series

func (LineChartSeries) SetSmooth Uses

func (c LineChartSeries) SetSmooth(b bool)

func (LineChartSeries) SetText Uses

func (c LineChartSeries) SetText(s string)

SetText sets the series text

func (LineChartSeries) Values Uses

func (c LineChartSeries) Values() NumberDataSource

func (LineChartSeries) X Uses

func (c LineChartSeries) X() *crt.CT_LineSer

X returns the inner wrapped XML type.

type Marker Uses

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

func MakeMarker Uses

func MakeMarker(x *crt.CT_Marker) Marker

func (Marker) Properties Uses

func (m Marker) Properties() drawing.ShapeProperties

func (Marker) SetSize Uses

func (m Marker) SetSize(sz uint8)

func (Marker) SetSymbol Uses

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

func (Marker) X Uses

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

X returns the inner wrapped XML type.

type NumberDataSource Uses

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

func MakeNumberDataSource Uses

func MakeNumberDataSource(x *crt.CT_NumDataSource) NumberDataSource

func (NumberDataSource) CreateEmptyNumberCache Uses

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 Uses

func (n NumberDataSource) SetReference(s string)

func (NumberDataSource) SetValues Uses

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

SetValues sets values directly on a source.

type Pie3DChart Uses

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

Pie3DChart is a Pie3D chart.

func (Pie3DChart) AddSeries Uses

func (c Pie3DChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Pie3D chart.

func (Pie3DChart) InitializeDefaults Uses

func (c Pie3DChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (Pie3DChart) X Uses

func (c Pie3DChart) X() *crt.CT_Pie3DChart

X returns the inner wrapped XML type.

type PieChart Uses

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

PieChart is a Pie chart.

func (PieChart) AddSeries Uses

func (c PieChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Pie chart.

func (PieChart) InitializeDefaults Uses

func (c PieChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (PieChart) X Uses

func (c PieChart) X() *crt.CT_PieChart

X returns the inner wrapped XML type.

type PieChartSeries Uses

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

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

func (PieChartSeries) CategoryAxis Uses

func (c PieChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (PieChartSeries) InitializeDefaults Uses

func (c PieChartSeries) InitializeDefaults()

InitializeDefaults initializes an Pie series to the default values.

func (PieChartSeries) Properties Uses

func (c PieChartSeries) Properties() drawing.ShapeProperties

Properties returns the bar chart series shape properties.

func (PieChartSeries) SetExplosion Uses

func (c PieChartSeries) SetExplosion(v uint32)

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

func (PieChartSeries) SetText Uses

func (c PieChartSeries) SetText(s string)

SetText sets the series text.

func (PieChartSeries) Values Uses

func (c PieChartSeries) Values() NumberDataSource

Values returns the value data source.

func (PieChartSeries) X Uses

func (c PieChartSeries) X() *crt.CT_PieSer

X returns the inner wrapped XML type.

type PieOfPieChart Uses

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

PieOfPieChart is a Pie chart with an extra Pie chart.

func (PieOfPieChart) AddSeries Uses

func (c PieOfPieChart) AddSeries() PieChartSeries

AddSeries adds a default series to an Pie chart.

func (PieOfPieChart) InitializeDefaults Uses

func (c PieOfPieChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (PieOfPieChart) SetType Uses

func (c PieOfPieChart) SetType(t crt.ST_OfPieType)

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

func (PieOfPieChart) X Uses

func (c PieOfPieChart) X() *crt.CT_OfPieChart

X returns the inner wrapped XML type.

type RadarChart Uses

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

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

func (RadarChart) AddAxis Uses

func (c RadarChart) AddAxis(axis Axis)

func (RadarChart) AddSeries Uses

func (c RadarChart) AddSeries() RadarChartSeries

AddSeries adds a default series to an Radar chart.

func (RadarChart) InitializeDefaults Uses

func (c RadarChart) InitializeDefaults()

InitializeDefaults the bar chart to its defaults

func (RadarChart) X Uses

func (c RadarChart) X() *crt.CT_RadarChart

X returns the inner wrapped XML type.

type RadarChartSeries Uses

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

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

func (RadarChartSeries) CategoryAxis Uses

func (c RadarChartSeries) CategoryAxis() CategoryAxisDataSource

CategoryAxis returns the category data source.

func (RadarChartSeries) InitializeDefaults Uses

func (c RadarChartSeries) InitializeDefaults()

InitializeDefaults initializes an Radar series to the default values.

func (RadarChartSeries) Properties Uses

func (c RadarChartSeries) Properties() drawing.ShapeProperties

Properties returns the bar chart series shape properties.

func (RadarChartSeries) SetText Uses

func (c RadarChartSeries) SetText(s string)

SetText sets the series text.

func (RadarChartSeries) Values Uses

func (c RadarChartSeries) Values() NumberDataSource

Values returns the value data source.

func (RadarChartSeries) X Uses

func (c RadarChartSeries) X() *crt.CT_RadarSer

X returns the inner wrapped XML type.

type ScatterChart Uses

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

func (ScatterChart) AddAxis Uses

func (c ScatterChart) AddAxis(axis Axis)

AddAxis adds an axis to a Scatter chart.

func (ScatterChart) AddSeries Uses

func (c ScatterChart) AddSeries() ScatterChartSeries

AddSeries adds a default series to a Scatter chart.

func (ScatterChart) InitializeDefaults Uses

func (c ScatterChart) InitializeDefaults()

func (ScatterChart) X Uses

func (c ScatterChart) X() *crt.CT_ScatterChart

X returns the inner wrapped XML type.

type ScatterChartSeries Uses

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

ScatterChartSeries is the data series for a scatter chart.

func (ScatterChartSeries) CategoryAxis Uses

func (c ScatterChartSeries) CategoryAxis() CategoryAxisDataSource

func (ScatterChartSeries) Index Uses

func (c ScatterChartSeries) Index() uint32

Index returns the index of the series

func (ScatterChartSeries) InitializeDefaults Uses

func (c ScatterChartSeries) InitializeDefaults()

func (ScatterChartSeries) Labels Uses

func (c ScatterChartSeries) Labels() DataLabels

Labels returns the data label properties.

func (ScatterChartSeries) Marker Uses

func (c ScatterChartSeries) Marker() Marker

Marker returns the marker properties.

func (ScatterChartSeries) Order Uses

func (c ScatterChartSeries) Order() uint32

Order returns the order of the series

func (ScatterChartSeries) Properties Uses

func (c ScatterChartSeries) Properties() drawing.ShapeProperties

Properties returns the line chart series shape properties.

func (ScatterChartSeries) SetIndex Uses

func (c ScatterChartSeries) SetIndex(idx uint32)

SetIndex sets the index of the series

func (ScatterChartSeries) SetOrder Uses

func (c ScatterChartSeries) SetOrder(idx uint32)

SetOrder sets the order of the series

func (ScatterChartSeries) SetSmooth Uses

func (c ScatterChartSeries) SetSmooth(b bool)

func (ScatterChartSeries) SetText Uses

func (c ScatterChartSeries) SetText(s string)

SetText sets the series text

func (ScatterChartSeries) Values Uses

func (c ScatterChartSeries) Values() NumberDataSource

func (ScatterChartSeries) X Uses

func (c ScatterChartSeries) X() *crt.CT_ScatterSer

X returns the inner wrapped XML type.

type SeriesAxis Uses

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

func MakeSeriesAxis Uses

func MakeSeriesAxis(x *crt.CT_SerAx) SeriesAxis

func (SeriesAxis) AxisID Uses

func (s SeriesAxis) AxisID() uint32

func (SeriesAxis) InitializeDefaults Uses

func (s SeriesAxis) InitializeDefaults()

func (SeriesAxis) SetCrosses Uses

func (s SeriesAxis) SetCrosses(axis Axis)

func (SeriesAxis) X Uses

func (s SeriesAxis) X() *crt.CT_SerAx

X returns the inner wrapped XML type.

type StockChart Uses

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

StockChart is a 2D Stock chart.

func (StockChart) AddAxis Uses

func (c StockChart) AddAxis(axis Axis)

func (StockChart) AddSeries Uses

func (c StockChart) AddSeries() LineChartSeries

AddSeries adds a default series to a Stock chart.

func (StockChart) InitializeDefaults Uses

func (c StockChart) InitializeDefaults()

InitializeDefaults the Stock chart to its defaults

func (StockChart) X Uses

func (c StockChart) X() *crt.CT_StockChart

X returns the inner wrapped XML type.

type Surface3DChart Uses

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

Surface3DChart is a 3D view of a surface chart.

func (Surface3DChart) AddAxis Uses

func (c Surface3DChart) AddAxis(axis Axis)

AddAxis adds an axis to a Surface chart.

func (Surface3DChart) AddSeries Uses

func (c Surface3DChart) AddSeries() SurfaceChartSeries

AddSeries adds a default series to a Surface chart.

func (Surface3DChart) InitializeDefaults Uses

func (c Surface3DChart) InitializeDefaults()

func (Surface3DChart) X Uses

func (c Surface3DChart) X() *crt.CT_Surface3DChart

X returns the inner wrapped XML type.

type SurfaceChart Uses

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

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

func (SurfaceChart) AddAxis Uses

func (c SurfaceChart) AddAxis(axis Axis)

AddAxis adds an axis to a Surface chart.

func (SurfaceChart) AddSeries Uses

func (c SurfaceChart) AddSeries() SurfaceChartSeries

AddSeries adds a default series to a Surface chart.

func (SurfaceChart) InitializeDefaults Uses

func (c SurfaceChart) InitializeDefaults()

func (SurfaceChart) X Uses

func (c SurfaceChart) X() *crt.CT_SurfaceChart

X returns the inner wrapped XML type.

type SurfaceChartSeries Uses

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

func (SurfaceChartSeries) CategoryAxis Uses

func (c SurfaceChartSeries) CategoryAxis() CategoryAxisDataSource

func (SurfaceChartSeries) Index Uses

func (c SurfaceChartSeries) Index() uint32

Index returns the index of the series

func (SurfaceChartSeries) InitializeDefaults Uses

func (c SurfaceChartSeries) InitializeDefaults()

func (SurfaceChartSeries) Order Uses

func (c SurfaceChartSeries) Order() uint32

Order returns the order of the series

func (SurfaceChartSeries) Properties Uses

func (c SurfaceChartSeries) Properties() drawing.ShapeProperties

Properties returns the line chart series shape properties.

func (SurfaceChartSeries) SetIndex Uses

func (c SurfaceChartSeries) SetIndex(idx uint32)

SetIndex sets the index of the series

func (SurfaceChartSeries) SetOrder Uses

func (c SurfaceChartSeries) SetOrder(idx uint32)

SetOrder sets the order of the series

func (SurfaceChartSeries) SetText Uses

func (c SurfaceChartSeries) SetText(s string)

SetText sets the series text

func (SurfaceChartSeries) Values Uses

func (c SurfaceChartSeries) Values() NumberDataSource

func (SurfaceChartSeries) X Uses

func (c SurfaceChartSeries) X() *crt.CT_SurfaceSer

X returns the inner wrapped XML type.

type Title Uses

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

func MakeTitle Uses

func MakeTitle(x *crt.CT_Title) Title

func (Title) InitializeDefaults Uses

func (t Title) InitializeDefaults()

func (Title) ParagraphProperties Uses

func (t Title) ParagraphProperties() drawing.ParagraphProperties

func (Title) RunProperties Uses

func (t Title) RunProperties() drawing.RunProperties

func (Title) SetText Uses

func (t Title) SetText(s string)

func (Title) X Uses

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

X returns the inner wrapped XML type.

type ValueAxis Uses

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

func MakeValueAxis Uses

func MakeValueAxis(x *crt.CT_ValAx) ValueAxis

func (ValueAxis) AxisID Uses

func (v ValueAxis) AxisID() uint32

func (ValueAxis) MajorGridLines Uses

func (v ValueAxis) MajorGridLines() GridLines

func (ValueAxis) Properties Uses

func (v ValueAxis) Properties() drawing.ShapeProperties

func (ValueAxis) SetCrosses Uses

func (v ValueAxis) SetCrosses(axis Axis)

func (ValueAxis) SetMajorTickMark Uses

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

func (ValueAxis) SetMinorTickMark Uses

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

func (ValueAxis) SetPosition Uses

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

func (ValueAxis) SetTickLabelPosition Uses

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

func (ValueAxis) X Uses

func (v ValueAxis) X() *crt.CT_ValAx

X returns the inner wrapped XML type.

Package chart imports 8 packages (graph) and is imported by 7 packages. Updated 2019-08-19. Refresh now. Tools for package owners.