Skip to content

Commit

Permalink
Removing compare feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jul 30, 2015
1 parent 374802e commit 5e8fcab
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fabmanager create-admin
# Start the web server
python run.py
```

After installation, you should be able to point your browser to the right
Expand All @@ -80,3 +81,13 @@ the credential you entered while creating the admin account, and navigate to
`Menu -> Admin -> Refresh Metadata`. This action should bring in all of
your datasources for Panoramix to be aware of, and they should show up in
`Menu -> Datasources`, from where you can start playing with your data!

Configuration
-------------
* From the UI, enter the information about your clusters in the
``Admin->Clusters`` menu by hitting the + sign.

* Once the Druid cluster connection information is entered, hit the
``Admin->Refresh Metadata`` menu item to populate

* Navigate to your datasources
4 changes: 0 additions & 4 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@
* Add verbose_name and label method to metrics and columns
* csv
* Save / bookmark / url shortener
* on save, process metadata / generate metrics

* multi cluster

2 changes: 1 addition & 1 deletion app/templates/panoramix/viz_highcharts.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% if form.compare %}
<div>{{ form.compare.label }}: {{ form.compare(class_="form-control") }}</div>
{% endif %}
{% if form.compare %}
{% if form.rolling_type %}
<div class="row">
<span class="col col-sm-5">{{ form.rolling_type.label }}: {{ form.rolling_type(class_="form-control select2") }}</span>
<span class="col col-sm-4">{{ form.rolling_periods.label }}: {{ form.rolling_periods(class_="form-control") }}</span>
Expand Down
2 changes: 1 addition & 1 deletion app/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def render(self):
def form_class(self):
return form_factory(self.datasource, request.args,
extra_fields_dict={
'compare': TextField('Period Compare',),
#'compare': TextField('Period Compare',),
'rolling_type': SelectField(
'Rolling',
choices=[(s, s) for s in ['mean', 'sum', 'std']]),
Expand Down

0 comments on commit 5e8fcab

Please sign in to comment.