-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Heapmap] using histogram, sort by value not key #34505
Copy link
Copy link
Open
Labels
Feature:HeatmapHeatmap visualizationHeatmap visualizationFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultNew value added to drive a business resultimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.Addressing this issue will have a high level of impact on the quality/strength of our product.
Metadata
Metadata
Assignees
Labels
Feature:HeatmapHeatmap visualizationHeatmap visualizationFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultNew value added to drive a business resultimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.Addressing this issue will have a high level of impact on the quality/strength of our product.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the feature:

In the following xy data, I have all the data to be the same value (4 in this case), just x and y at various places.
Using heapmap, I can plot x y chart with buckets to be histogram field x and y.
As can be seen from the image, x-axis are all sorted by its key, but y-axis are not sorted.
I guess it's sorted by value, in which case, all the value are the same, so the order turns out to be random.
Is it possible to add options to sort by key?
This is the request body:
I've played with advanced options to add JSON input with sort to no avail.
Describe a specific use case for the feature:
It would be useful to plot xy charts.