[ckan-dev] Data viewer oddities
Mark Wainwright
mark.wainwright at okfn.org
Mon Apr 16 09:14:45 UTC 2012
There seem to be a few bugs in the data viewer, which I had a quick
play with when Jonathan Gray asked via Twitter: "how can I reload a
graph? E.g. if I want to see date on the x axis for the gold example?
http://thedatahub.org/dataset/gold-prices"
(i) I believe the answer to J's question should be that it
automatically reloads when you choose a new variable, and I believe
also that it actually does this; but I suspect that Jonathan is not
seeing it happen because the labelling of the axes is completely
wrong, and doesn't change when he changes the variable from '__id__'
to 'date' (the shape of the graph is the same).
But besides the axis-labelling problems, there are other problems with this.
(ii) Try plotting 'date' against '__id__'. The graph should be a
straight line, but it is blank.
(iii) Most strangely, try plotting __id__ against __id__. The result
is a graph that wiggles up and down in a mystifying way - it is not
the prices data, but nor is it the straight line one would naturally
expect!
Mark
--
Mark Wainwright, CKAN Community Co-ordinator
Open Knowledge Foundation http://okfn.org/
Skype: m.wainwright
More information about the ckan-dev
mailing list