[#287] Add view.flot.js.

Allows flot to be used for graphs as well as
flotr2.
Based on view.graph.js in the ckan-updates branch.
This commit is contained in:
John Glover
2013-01-09 15:53:44 +01:00
parent 896686c466
commit 8439cc5522
7 changed files with 4599 additions and 0 deletions

26
css/flot.css Normal file
View File

@@ -0,0 +1,26 @@
.recline-graph .graph {
height: 500px;
overflow: hidden;
}
.recline-graph .legend table {
width: auto;
margin-bottom: 0;
}
.recline-graph .legend td {
padding: 5px;
line-height: 13px;
}
.recline-graph .graph .alert {
width: 450px;
}
#recline-graph-tooltip {
position: absolute;
background-color: #FEE !important;
color: #000000 !important;
opacity: 0.8 !important;
border: 1px solid #fdd !important;
}