Sorry for the topic spam! I just have many questions...
I'm using Kibana 6.4.3, and I was looking into a way to set the max value of a Y axis on a plot.
I saw that we have axisConfig which seems to only expose position, but then I noticed Canvas uses flot for plotting which has lots of options (including axis customisation & max values).
I was hoping it would be something as simple as yaxis={axisConfig max=100}, but axisConfig doesn't seem to know about the max argument. Maybe this is available in newer versions?
And it does look like the values are passed on to flot. If you're using a number value, it'll use that, but note that strings get cast to dates.
So, this should work, and the expression you use should be exactly the one you shared here.
I'm getting a syntax error when I try that though, which isn't correct, so I've got a new bug to chase down. Are you seeing an error, or is it just not using the value?
UPDATE: Found the issue, I'll get it fixed today and backport it to at least the next 6.6 release. If you're also seeing an error, you can work around it by adding the position argument, like so:
yaxis={axisConfig position=left max=100}
Use whatever you want for the position of course, the important part is that it must be included if you're using the axisConfig function.
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.