libxlsxwriter

chart_column.c

chart_set_style void chart_set_style(lxw_chart *chart, uint8_t style_id) Set the chart style type.

workbook_close lxw_error workbook_close(lxw_workbook *workbook) Close the Workbook object and write the XLSX file.

chart_series_set_name void chart_series_set_name(lxw_chart_series *series, const char *name) Set the name of a chart series range.

chart_axis_set_name void chart_axis_set_name(lxw_chart_axis *axis, const char *name) Set the name caption of the an axis.

chart_add_series lxw_chart_series * chart_add_series(lxw_chart *chart, const char *categories, const char *values) Add a data series to a chart.

workbook_new lxw_workbook * workbook_new(const char *filename) Create a new workbook object.

chart_series_set_categories void chart_series_set_categories(lxw_chart_series *series, const char *sheetname, lxw_row_t first_row, lxw_col_t first_col, lxw_row_t last_row, lxw_col_t last_col) Set a series "categories" range using row and column values.

format_set_bold void format_set_bold(lxw_format *format) Turn on bold for the format font.

lxw_worksheet Struct to represent an Excel worksheet. Definition: worksheet.h:1603

lxw_format Struct to represent the formatting properties of an Excel format. Definition: format.h:358

lxw_chart Struct to represent an Excel chart. Definition: chart.h:1086

worksheet_insert_chart lxw_error worksheet_insert_chart(lxw_worksheet *worksheet, lxw_row_t row, lxw_col_t col, lxw_chart *chart) Insert a chart object into a worksheet.

lxw_chart_series Struct to represent an Excel chart data series. Definition: chart.h:957

lxw_workbook Struct to represent an Excel workbook. Definition: workbook.h:273

chart_title_set_name void chart_title_set_name(lxw_chart *chart, const char *name) Set the title of the chart.

worksheet_write_string lxw_error worksheet_write_string(lxw_worksheet *worksheet, lxw_row_t row, lxw_col_t col, const char *string, lxw_format *format) Write a string to a worksheet cell.

worksheet_write_number lxw_error worksheet_write_number(lxw_worksheet *worksheet, lxw_row_t row, lxw_col_t col, double number, lxw_format *format) Write a number to a worksheet cell.

CELL #define CELL(cell) Convert an Excel A1 cell string into a (row, col) pair. Definition: utility.h:45

workbook_add_worksheet lxw_worksheet * workbook_add_worksheet(lxw_workbook *workbook, const char *sheetname) Add a new worksheet to a workbook.

chart_series_set_values void chart_series_set_values(lxw_chart_series *series, const char *sheetname, lxw_row_t first_row, lxw_col_t first_col, lxw_row_t last_row, lxw_col_t last_col) Set a series "values" range using row and column values.

workbook_add_chart lxw_chart * workbook_add_chart(lxw_workbook *workbook, uint8_t chart_type) Create a new chart to be added to a worksheet:

workbook_add_format lxw_format * workbook_add_format(lxw_workbook *workbook) Create a new Format object to formats cells in worksheets.