Yaxis scale on Canvas vs Timelion


In Kibana 7.3.1, when creating a graph in Timelion I can specify the unit for yaxis through "yaxis(units=bytes)" in order to scale to kb, mb, gb etc.. However, if I use the same query in Canvas, the yaxis does not scale. I am using in both places the same query:

.es(metric=avg:system.memory.free, timefield=fields.execution.date).label("Free").yaxis(units=bytes).lines(fill=1).fit(mode=scale),

Why there is such a difference in Canvas? How can I scale it in Canvas?

Cesar Lino

Canvas and Timelion use separate charting mechanisms.

Could you provide a screenshot of both? We might be able to craft a Canvas expression to accomplish something similar.