Change x / y label texts in a bar chart

You can change the x label in a bar chart to set x_label_text in the options form. The default label is X Label. Similarly, y_label_text is the option name of y label text.

If your chart is the sales by day of the week, x label may be Day and y label be Sales. Then the label options are like this.

x_label_text = Day
y_label_text = Sales

Here is the data of above chart.

Mon 23
Tue 56
Wed 41
Thu 76
Fri 89

Bar chart

Chart