GSS-Cogs / chart-builder

The Chart Builder is a proof-of-concept app to understand the feasibility of using a CSV file (or SPARQL query) to generate and customise a chart or data visualisation
https://chart-builder-no4vxskx7a-nw.a.run.app
2 stars 0 forks source link

Restrict or manage the length of axis tick labels to prevent them distorting the display of the chart #56

Closed charlesons closed 2 years ago

charlesons commented 2 years ago

The Plotly API seems not to offer any control over tick label lengths:

https://stackoverflow.com/questions/66504218/is-it-possible-to-limit-or-truncate-the-characters-of-the-tick-label-in-plotly

Implemented a function to truncate the x series labels and an associated property in the chart properties configurator for the user to specify the max label length.

nosnickid commented 2 years ago

Looks good to me