Skip to content

Commit

Permalink
Merge pull request #6 from gwintzer/removeMetricsSchema
Browse files Browse the repository at this point in the history
Remove metrics schema
  • Loading branch information
gwintzer authored Feb 5, 2018
2 parents 33073c0 + 419f3f7 commit 9d3da71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.idea/
bower_components
/build/
deps
deps
npm-debug.log
18 changes: 9 additions & 9 deletions public/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ function HtmlVisProvider(Private) {
template: mainTemplate
},
editorConfig: {
optionsTemplate: optionsTemplate,
schemas: new Schemas([{
group: 'metrics',
name: 'metric',
title: 'Metric',
min: 1,
aggFilter: ['!derivative', '!geo_centroid']
}]),
}
optionsTemplate: optionsTemplate
},
options: {
showTimePicker: false,
},
requestHandler: 'none',
responseHandler: 'none',
implementsRenderComplete: true

});
}
VisTypesRegistryProvider.register(HtmlVisProvider);

0 comments on commit 9d3da71

Please sign in to comment.