Remove unnecessary axis labels from chart radar example.

This commit is contained in:
John McNamara 2023-02-19 14:16:03 +00:00
parent c20b7fc9df
commit 2a2ea84c20

View file

@ -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);