chart_title_set_name

@brief Set the title of the chart.

@param chart Pointer to a lxw_chart instance to be configured. @param name The chart title name.

The %chart_title_set_name() function sets the name (title) for the chart. The name is displayed above the chart.

@code chart_title_set_name(chart, "Year End Results"); @endcode

@image html chart_title_set_name.png

The name parameter can also be a formula such as =Sheet1!$A$1 to point to a cell in the workbook that contains the name:

@code chart_title_set_name(chart, "=Sheet1!$B1$1"); @endcode

See also the chart_title_set_name_range() function to see how to set the name formula programmatically.

The Excel default is to have no chart title.

extern (C)
void
chart_title_set_name
(,
const char* name
)

Meta