Hello
This visualization don't display the empty buckets ?!
How can i show the empty buckets
it's possible in agreagation histogram but I need to use range!
any solution?!
Thanks
{
"aggs": [
{
"enabled": true,
"id": "1",
"params": {
"customLabel": "NB doc
},
"schema": "metric",
"type": "count"
},
{
"enabled": true,
"id": "2",
"params": {
"customLabel": "doc size",
"field": "doc",
"ranges": [
{
"from": 0,
"to": 10
},
{
"from": 11,
"to": 21
}
]
},
"schema": "segment",
"type": "range"
},
{
"enabled": true,
"id": "3",
"params": {
"customLabel": "Type",
"exclude": "",
"field": "type",
"include": "doc",
"json": "",
"order": "desc",
"orderBy": "1",
"size": 6
},
"schema": "group",
"type": "terms"
}
],
"listeners": {},
"params": {
"addLegend": true,
"addTimeMarker": false,
"addTooltip": true,
"categoryAxes": [
{
"id": "CategoryAxis-1",
"labels": {
"filter": false,
"show": true,
"truncate": 100
},
"position": "bottom",
"scale": {
"type": "linear"
},
"show": true,
"style": {},
"title": {
"text": "doc size"
},
"type": "category"
}
],
"defaultYExtents": false,
"drawLinesBetweenPoints": true,
"grid": {
"categoryLines": false,
"style": {
"color": "#eee"
},
"valueAxis": "ValueAxis-1"
},
"interpolate": "linear",
"legendPosition": "right",
"orderBucketsBySum": false,
"radiusRatio": 9,
"scale": "linear",
"seriesParams": [
{
"data": {
"id": "1",
"label": "NB Doc"
},
"drawLinesBetweenPoints": true,
"mode": "stacked",
"show": "true",
"showCircles": true,
"type": "histogram",
"valueAxis": "ValueAxis-1"
}
],
"setYExtents": false,
"showCircles": true,
"times": [],
"valueAxes": [
{
"id": "ValueAxis-1",
"labels": {
"filter": false,
"rotate": 0,
"show": true,
"truncate": 100
},
"name": "LeftAxis-1",
"position": "left",
"scale": {
"mode": "normal",
"type": "linear"
},
"show": true,
"style": {},
"title": {
"text": "NB Doc"
},
"type": "value"
}
]
},
"title": "display ",
"type": "histogram"
}