Skip to content

Commit

Permalink
a not bad start of using nvd3,
Browse files Browse the repository at this point in the history
need to check source code of nvd3, even d3 these days
make sure to handle the graph side as perfectly as i can
  • Loading branch information
litaotao committed Oct 26, 2015
1 parent c9d5f55 commit 04a9289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dashboard/static/js/dash-0.1.0.js
Expand Up @@ -133,7 +133,7 @@ function getValue(){

$.getJSON(url, function(data){
// console.log(data);
var jsonData = $.parseJSON(data.data)
var jsonData = $.parseJSON(data.data);
localKeyValue[key] = jsonData;
parseTable(jsonData, "#value");
})
Expand Down Expand Up @@ -204,7 +204,7 @@ function parseTable(data, selector){
indexes.push(index);
})

for (var row = 0; row < 200; row++) {
for (var row = 0; row < 20; row++) {
var tr = genElement("tr");
var th = genElement("th");
th.innerText = indexes[row];
Expand Down
2 changes: 1 addition & 1 deletion dashboard/static/js/dash.vis-0.1.0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 04a9289

Please sign in to comment.