Now I have created a copy by clicking on "Clone", and simply changed the field of the Split Series to split by a different field in my dataset. Currently there's only 1 unique field so only one line displayed. The problem however is that the Y-axis is inverted!
This is very unexpected since I cloned the original panel, thus all panel settings should be identical. Do you have any feeling for what might be happening? How can I tell Kibana to invert the Y axis?
This is super weird. No we don't
Can you share with me with screenshots the configuration of the chart? Also if you create it from scratch do you see the axis inverted or correct?
I also notice that the problem is fixed is I remove the "Scale to data bounds" option. My goal is still to have a range of "data range +- 1000" with the correct Y axis orientation.
Yes I actually started creating the chart from scratch, then when I noticed it had the Y axis inverted I tried making a clone of the one that was fine.
Thanx, except from the split series what else do you have in the chart? If I can understand correctly is a date histogram on the x -axis and the metric? What aggregation are you using?
Yes exactly, date histogram on x-axis and one metric (Sum of violations).
The field I'm using "violations" is just an integer.
I can't replicate it in Lens because it doesn't allow me to choose a range for the Y axis being "Data bounds +- margin". If I choose "Full range" I get the same behavior as with the Aggregation Based Line Chart.
If I add a new datapoint that makes the line no longer be horizontal (either it goes up or down) then the Y axis gets the correct orientation.
@markov00 Same behavior, just different range in the Y axis (but still inverted). Yes, all 4 data points have the same value. As soon as one of them is different then the Y axis works as expected.
It gets even funnier if you set the type to "Area" instead of "Line", then the area is drawn from the line up
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.