-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working checkpoint before classifying Viz
- Loading branch information
1 parent
447eefc
commit 9f12046
Showing
8 changed files
with
448 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
pydruid | ||
python-dateutil | ||
flask | ||
flask-bootstrap | ||
pandas | ||
pandas-highcharts | ||
pydruid | ||
python-dateutil | ||
wtforms | ||
flask-bootstrap |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends "panoramix/datasource.html" %} | ||
{% block viz %} | ||
<div id="chart"></div> | ||
{% endblock %} | ||
|
||
{% block scripts %} | ||
{{ super() }} | ||
<script src="{{ url_for("static", filename="highcharts.js") }}"></script> | ||
<script> | ||
$( document ).ready(function() { | ||
Highcharts.setOptions({ | ||
colors: [ | ||
"#FF5A5F", "#007A87", "#7B0051", "#00D1C1", "#8CE071", "#FFB400", | ||
"#FFAA91", "#B4A76C", "#9CA299", "#565A5C" | ||
], | ||
}); | ||
$("#viz_type").click(function(){ | ||
$("#queryform").submit(); | ||
}) | ||
{% if chart_js %} | ||
{{ chart_js|safe }} | ||
{% endif %} | ||
}); | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% extends "panoramix/datasource.html" %} | ||
{% block viz %} | ||
{{ table|safe }} | ||
{% endblock %} | ||
|
||
{% block scripts %} | ||
{{ super() }} | ||
{% endblock %} |