CURL语句:
需要在Y轴显示 以上注释的两条线 这个怎么设置呢?
																				GET /cars/transactions/_search
{
   "size" : 0,
   "aggs": {
      "colors": {
         "terms": {
            "field": "color"
         },
         "aggs": {
            
            "make": { 
                "terms": {
                    "field": "make" 
                }
            }
         }
      }
   }
}"aggregations" : {
    "colors" : {
      "doc_count_error_upper_bound" : 0,
      "sum_other_doc_count" : 0,
      "buckets" : [
        {
          "key" : "red",
          "doc_count" : 4,//显示颜色桶的记录数
          "make" : {
            "doc_count_error_upper_bound" : 0,
            "sum_other_doc_count" : 0,
            "buckets" : [//显示颜色制造商嵌套痛的桶个数
              {
                "key" : "honda",
                "doc_count" : 3
              },
              {
                "key" : "bmw",
                "doc_count" : 1
              }
            ]
          }
        }需要在Y轴显示 以上注释的两条线 这个怎么设置呢?

 
	
1 个回复
Netty
赞同来自: