I'm trying to create a vertical bar visualizations, but since the Y-axis range isn't big, it creates some weird things.
I want to visualize the max value of invalidBatteryCount over time, this value can be in the range [0;15]
This is what I get by default:
Is there a way to have that same behaviour, without having to change the data bounds manually? And so having it automatically change to the max value in the period selected?
For the data, it's just a really basic vertical bar:
Y-Axis: "Max" Aggregation on any field (with value low enough to reproduce)
X-Axis: Date Histogram
I also have a split series on X in "normal" mode (no stack), but the problem is present without this split too.
This will reproduce the first version of visualization I linked (without the filter label option).
From there you can reproduce the 3 other by doing the same thing I described in the original post.
I tried enabling the options but the problems remains.
However I saw the invalidBatteryCount has been set to a long, actually like every other numbers value, when they all should be integer, this is probably what's creating this behaviour. Is there a way to change the mapping of an index to update the type of fields?
Ah... I indeed changed that format to 0,0.
That fix it the y-axis, however... is it a normal behaviour to have labels/grid for these decimal values when the field you're counting is an integer?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.