deanhiller / databus

time series data in cassandra with visualization(NREL's opensource databus project)
Other
53 stars 21 forks source link

View Chart does not work #9

Closed hopcroft closed 11 years ago

hopcroft commented 11 years ago

In the web interface, the "View Chart" link for a table, linked from the Database Properties page (My Databus -> Databases -> [link to database]), does not work. See attached screenshot.

[Priority 9 high]

view_chart_dnw

deanhiller commented 11 years ago

I believe this only shows the last 2 hours of data so looks broken to users which is a bad thing......Let's use this ticket to code up the chart to make it show the last 1000 data points so users see that it is working. Also if the last 1000 datapoints is 0, let's display something on the screen so the user does not file another ticket like this as well. Lastly, it says 2 Days on the chart so let's fix that one as well. (most likely will assign this issue to Phil).

deanhiller commented 11 years ago

okay, we took one shortcut in adding a message to use view data if you see no lines in the chart but basically now view chart graphs the last 1000 datapoints of the data(we may increase to 30,000 once we have performance fixes in). I also added View Csv and View Json to the page as well and Upload Data is still there too.