libxlsxwriter
Loading...
Searching...
No Matches
Data Fields
lxw_chart_data_label Struct Reference

Struct to represent an Excel chart data label. More...

Detailed Description

The lxw_chart_data_label struct is used to represent a data label in a chart series so that custom properties can be set for it.

Examples
chart_data_labels.c.

Data Fields

const char * value
 
uint8_t hide
 
lxw_chart_fontfont
 
lxw_chart_lineline
 
lxw_chart_fillfill
 
lxw_chart_patternpattern
 

Field Documentation

◆ value

const char* lxw_chart_data_label::value

The string or formula value for the data label. See Custom Chart Data Labels.

Examples
chart_data_labels.c.

◆ hide

uint8_t lxw_chart_data_label::hide

Option to hide/delete the data label from the chart series. See Custom Chart Data Labels.

Examples
chart_data_labels.c.

◆ font

lxw_chart_font* lxw_chart_data_label::font

The font properties for the chart data label. Chart formatting: Fonts.

◆ line

lxw_chart_line* lxw_chart_data_label::line

The line/border for the chart data label. See Chart formatting: Line.

◆ fill

lxw_chart_fill* lxw_chart_data_label::fill

The fill for the chart data label. See Chart formatting: Fill.

◆ pattern

lxw_chart_pattern* lxw_chart_data_label::pattern

The pattern for the chart data label. See Chart formatting: Pattern.