libxlsxwriter
Data Fields
lxw_chart_options Struct Reference

Options for inserted charts. More...

Detailed Description

Options for modifying charts inserted via worksheet_insert_chart_opt().

Examples
chart_data_labels.c.

Data Fields

int32_t x_offset
 
int32_t y_offset
 
double x_scale
 
double y_scale
 
uint8_t object_position
 

Field Documentation

◆ x_offset

int32_t lxw_chart_options::x_offset

Offset from the left of the cell in pixels.

Examples
chart_data_labels.c.

◆ y_offset

int32_t lxw_chart_options::y_offset

Offset from the top of the cell in pixels.

◆ x_scale

double lxw_chart_options::x_scale

X scale of the chart as a decimal.

◆ y_scale

double lxw_chart_options::y_scale

Y scale of the chart as a decimal.

◆ object_position

uint8_t lxw_chart_options::object_position

Object position - use one of the values of lxw_object_position. See Working with Object Positioning.