mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
Remove unnecessary axis labels from chart radar example.
This commit is contained in:
parent
c20b7fc9df
commit
2a2ea84c20
1 changed files with 7 additions and 12 deletions
|
|
@ -69,10 +69,9 @@ int main() {
|
|||
chart_series_set_values(series, "Sheet1", 1, 2, 6, 2); /* "=Sheet1!$C$2:$C$7" */
|
||||
chart_series_set_name_range(series, "Sheet1", 0, 2); /* "=Sheet1!$C$1" */
|
||||
|
||||
/* Add a chart title and some axis labels. */
|
||||
chart_title_set_name(chart, "Results of sample analysis");
|
||||
chart_axis_set_name(chart->x_axis, "Test number");
|
||||
chart_axis_set_name(chart->y_axis, "Sample length (mm)");
|
||||
/* Add a chart title. */
|
||||
chart_title_set_name(chart, "Results of sample analysis");
|
||||
|
||||
|
||||
/* Set an Excel chart style. */
|
||||
chart_set_style(chart, 11);
|
||||
|
|
@ -98,10 +97,8 @@ int main() {
|
|||
/* Set the name for the series instead of the default "Series 2". */
|
||||
chart_series_set_name(series, "=Sheet1!$C$1");
|
||||
|
||||
/* Add a chart title and some axis labels. */
|
||||
chart_title_set_name(chart, "Results of sample analysis");
|
||||
chart_axis_set_name(chart->x_axis, "Test number");
|
||||
chart_axis_set_name(chart->y_axis, "Sample length (mm)");
|
||||
/* Add a chart title. */
|
||||
chart_title_set_name(chart, "Results of sample analysis");
|
||||
|
||||
/* Set an Excel chart style. */
|
||||
chart_set_style(chart, 12);
|
||||
|
|
@ -127,10 +124,8 @@ int main() {
|
|||
/* Set the name for the series instead of the default "Series 2". */
|
||||
chart_series_set_name(series, "=Sheet1!$C$1");
|
||||
|
||||
/* Add a chart title and some axis labels. */
|
||||
chart_title_set_name(chart, "Results of sample analysis");
|
||||
chart_axis_set_name(chart->x_axis, "Test number");
|
||||
chart_axis_set_name(chart->y_axis, "Sample length (mm)");
|
||||
/* Add a chart title. */
|
||||
chart_title_set_name(chart, "Results of sample analysis");
|
||||
|
||||
/* Set an Excel chart style. */
|
||||
chart_set_style(chart, 13);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue