javascript - amcharts: legend's parts overlap -


i have stock chart , first legend's item ohlc displayed this:

o:60.11, h:70.11, l:40.11, c:50.11 

other legend's items short this

55.11 

if want legend items not overlap, need set legend.valuewidth or legend.spacing long needed first item not overlap second. other items has same space not needed , sometime legend on 2 rows.

what want achieve every legend item have space needs or set extraspace first item.

keep legend div separate chart div , add legend div chart

chart.addlegend(legend, "legenddiv"); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -