How do I shorten the x-axis labels on the bar chart?

Example: Our demo site has an option ‘Dinosaur ride’. The bar chart on the sample output is labelled ‘Dinosaur’ (the word ride has been omitted).

This is achieved by using the ‘show values’ function in Gravity Forms.

Within Gravity Forms, navigate to the ‘Form Editor’, open the specific field, and configure as shown below. (Note a ‘Product Pricing’ type field is shown, and several other Gravity Forms field types work in a similar way).

shortenlabel

Then when using Gravity Forms, insert the shortcode with label value matching the value set.

[gf_chart_data type="bars" form_id="6" field_id="4" field_values="Dinosaur,Leopard,Etchings,Poetry" xlabel="Tour choice" ylabel="Booked"]