highstock - How to align highcharts legend to bottom right? -
i'm trying align legend @ bottom right in highstock. used work until forced upgrade highstock 1.3.4.
the problem navigator covering legend. not ideal:
i'm aligning legend follows:
$(function () { $('#container').highcharts('stockchart', { chart: { }, legend: { enabled: true, floating: true, verticalalign: 'bottom', align: 'right' }, rangeselector: { selected: 1 }, series: [{ name: 'usd eur', data: usdeur }] }); });
how can navigator not cover legend?
in addition specifying alignment of legend, can offset using x , y offsets. instance, in case move down bit this:
legend: { enabled: true, floating: true, verticalalign: 'bottom', align:'right', y:40 },
the other legend options specified here: http://api.highcharts.com/highcharts#legend.y
Comments
Post a Comment