faheem801 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Scroll-bar in Bar Graph Legend #423

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I am plotting real-time data on bar-graph so the problem is that when I put 
large amount of data (around 100 entries), the legend starts appearing on top 
of the chart and most of the items appear with black color

So is there any way to put scroll bar in legend area?

Browsers: IE8 & Firebox

Thanks 

LEGEND OPTIONS:

var options = {
     series: {stack: 0, lines: {show: false, steps: false},
     bars: {show: true, barWidth: 0.6, align: 'center'}},
     legend: {noColumns: 4, position: "nw"},
     selection: {mode: "x"},                             
     xaxis: {ticks: xaxisList},
     grid: {hoverable: true, autoHighlight: true},
     pan: {interactive: true},
     yaxis: {min: 0, tickDecimals: 0, overflow: scroll}                    
};

Original issue reported on code.google.com by ali.nawa...@gmail.com on 27 Sep 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Hi, you can modify the HTMl generated by Flot yourself, just inspect it with 
Firebug and add the necessary CSS to the classes. In the future, I recommend 
you try the mailing list/forum for this kind of question, this issue tracker is 
more for discussing actual bugs in Flot.

Original comment by olau%iol...@gtempaccount.com on 14 Dec 2010 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:52