What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

Possible Duplicate:
Which component Stack Overflow uses to generate graphs/charts ?

When I go to the reputation tab of my profile, I see a nice graph of my reputation. I was reading in a post somewhere that the StackOverflow engine uses jQuery. What do you use for the chart?

I'm guessing flot?

If so, what plugin do you use for the drag selection?

share|improve this question

marked as duplicate by jjnguy, waiwai933, Ladybug Killer, ChrisF, Grace Note Jul 19 '10 at 0:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

Yes, it is flot, and as far as I know, the drag selection is an in-built feature of the library.

You may want to check out this example:

http://people.iola.dk/olau/flot/examples/selection.html

var options = {
    series: {
        lines: { show: true },
        points: { show: true }
    },
    legend: { noColumns: 2 },
    xaxis: { tickDecimals: 0 },
    yaxis: { min: 0 },
    selection: { mode: "x" }   // This is the key to enable selection
};

// ..

var plot = $.plot(placeholder, data, options);
share|improve this answer

Not the answer you're looking for? Browse other questions tagged .