Comments (6)
No date histogram is not in the library. but you can make a widget base on the actual component of elastic ui by creating a histogram aggregation and associate the result with a charting library.
For the multi-select checklist yes it narrows the checklist based on the selection. You can change this by adding or eui-or-filter to container of the result of the aggregation.
Here is an example with both a histogram aggregation and a checklist that does not change when selecting one of its elements. I'm using to have a list of price intervals with their doc count.
<div class="form-group wrapper-sm" eui-aggregation="ejs.HistogramAggregation('price90').field('price').interval('50000').minDocCount(0)" eui-filter-self="false" eui-or-filter >
<div ng-repeat="bucket in aggResult.buckets ">
<div class="checkbox" eui-filter="ejs.RangeFilter('price').from(bucket.key).to(aggResult.buckets[$index + 1].key)">
<label class="i-checks">
<input type="checkbox" ng-model="filter.enabled" >
<i></i>
</label>
<span class="m-r-n-sm">
<small><span ng-bind-html="bucket.key | number"></span> <span ng-bind="currency"></span>-<span ng-bind-html="aggResult.buckets[$index + 1].key | number"></span> <span ng-bind="currency"></span></small>
<span class="badge bg-success"><span ng-bind-html="bucket.doc_count | number"></span></span> </span>
</div>
</div>
</div>
from elasticui.
Thanks @mastermind1981, I've worked the histogram routine you posted into a sleek time range selector. Much appreciated!
from elasticui.
Great guys! Would love to see any screenshots if possible to see what you've been building
from elasticui.
Happy to share screenshots privately -- is there an email I can send them to?
from elasticui.
Yep, pre @ sign: yousef
domain after @: tweetbeam.com
from elasticui.
Closing this issue. I welcome any date-histogram widget additions to the demo + widgets :)
from elasticui.
Related Issues (20)
- multiple items cannot be selected using eui-checklist widget
- Input search does not refresh the search when the clean icon is clicked
- Partial search HOT 1
- Impossible to use more than one searchbox HOT 1
- Top level filter parameter deprecated in ES 5
- checkbox does not filter
- Hello!
- is it possible to use ElasticUI with elasticsearch 5.x? HOT 6
- Has "ElasticUI" been tested with partial files?
- change indexVM.page in controlle HOT 1
- How do I add some logic to eui-query? HOT 1
- Default to AND operator in searchbox HOT 1
- Term Aggregation - Custom order
- Sort HOT 1
- Is it possible to add custom parameter to a url?
- Multilanguage, translate ... change the {{bucket.key}} on the fly
- Access Control with POST/GET/DELETE/...
- Space issue in Single Select and Checkbox HOT 2
- UseCase Searchbox to filter only one facet
- jsfiddle Demo does not work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticui.