Hello,
is there any documentation available to build Flot graph similar to what we can find in the SO profile/reputation tab?
from the source code I can see that data is queried at this address: /users/rep-graph/341106/" + ranges.xaxis.from.toFixed(1) + "/" + ranges.xaxis.to.toFixed(1)
but I don't know the values from
and to
fields in the URL can accept.
EDIT:
In this graph, we can see that two points are highlighted, and the result is that two question are listed on the side, which means that the plotted values are linked with user-defined data.
However, if I consider pkh's example, only the points (and a label) are provided to Flot:
label: "United States",
data: [[1990, 18.9], [1991, 18.7] ....
So I'd like to see 1) how to link data with points 2) how to update a panel according to graph selection [but maybe this part is not actually done by Flot itself]