google / google-visualization-issues

288 stars 35 forks source link

Bug: Maximum axis value label should always be visible #1931

Open orwant opened 9 years ago

orwant commented 9 years ago
The label gets replaced with ellipsis when certain chartArea options are applied, which
in my opinion doesn't make sense in any scenario.

What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.

Demonstration on codepen: http://codepen.io/anon/pen/emxYoG

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
BarChart

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)
YES

What operating system and browser are you using?
OSX 10.9.5, Firefox 36, Chrome 41

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by simon.harte@namics.com on 2015-03-23 15:52:54

orwant commented 9 years ago
You are correct that we have no way in the corecharts to determine the width of the
axis labels and size the chart so they fit.  The new 'material' charts do support this
feature, however.  See https://developers.google.com/chart/interactive/docs/gallery/barchart#Material
Here is an example: http://jsfiddle.net/dlaliberte/6jrs6ndf/

Original issue reported on code.google.com by dlaliberte@google.com on 2015-03-24 12:47:01