I would like to display a plot with a y-axis in logarithmic scale but with this simple code is actually the x-axis which is render in logarithmic scale.
Does anyone know a solution?
using GenieFramework
@genietools
@out data = PlotData(
x = [1, 10, 100, 1000],
y = [5, 50, 500, 5000]
)
@out layout = PlotLayout(
yaxis=[PlotLayoutAxis(type="log")]
)
function ui()
p("plot")
plot(:data, layout=:layout)
end
@page("/", ui)
Server.isrunning() || Server.up()