java - Google Chart's Column Annotations don't Fit -


http://s18.postimg.org/oex83yh61/screen_shot_2015_04_26_at_2_48_07_pm.png

i trying create annotated stacked column chart google's chart api. however, cannot annotations display properly. when annotation big sit inside column, apparently supposed display on top (which has here, columns 1,2,3 , 7). however, instead of doing consistently many annotations represent '...' (which useless).

all annotations 2-3 digit numbers, there no reason them not fit. known bug? there workaround formatting annotations? have tried adjusting font-size same behaviour occurs until font imperceptibly small (1 or 2pt).

this used work in image charts api, trying move new api , can't past annotation issue. hugely appreciated.

i figured out finally, interested trick use combochart. instead of directly annotating columns, add invisible line series same data (linewidth: 0), , annotate line.

this jsfiddle andrew gallant illustrates... http://jfiddle.net/asgallant/qjqnx/

with little manipulation, can made work stacked column charts well.

furthermore, if want rid of tick marks can use javascript set svg rect elements of width=1 have width=0


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -