# MBS ChartDirector variable scale minor ticks [10^(n*.1)]

Hey all, I was wondering if anyone knows how to do a minor tick scale like the following in
ChartDirector. I took this picture from a similar stack overflow question, basically the scale should be 10^(-1) ,10^0, 10^.1, 10^.2, 10^.3 … etc. Thanks!

You are aware that 10^-1 isnt on the graph anymore?

The graph starts from 10^0 aka 1. So 10^-1 aka 0.1 is towards the left, outside the graph.

So you would need to START the graph at 10^-1.

But from your marking I presume that is not what you want, and that you mix up linear scale 0.1 with log scale.

For what you want you need to set minor marks at 2 3 4 5 6 7 8 9 20 30 40 50 60 70 80 90 200 300 etc

You can use a logarithmic scale and define major/minor ticks:

setLogScale(lowerLimit as Double, upperLimit as Double, majorTickInc as Double = 0, minorTickInc as Double = 0)

See CDAxisMBS class.

[quote=397597:@Christian Schmitz]You can use a logarithmic scale and define major/minor ticks:

setLogScale(lowerLimit as Double, upperLimit as Double, majorTickInc as Double = 0, minorTickInc as Double = 0)

See CDAxisMBS class.[/quote]

Thanks, I was trying this with kLogTick and just noticed the kLinearTick was what I needed

``c.xAxis.setLogScale(0.1,100, 10, APP.kLinearTick)``