Log scale and axis limits

Sep 6, 2013 at 10:25 AM
Edited Sep 6, 2013 at 10:26 AM
Hello.
Next code is work, but y-axis ticks and labels are very very strange (see attached image).
p.DataTransform = new Log10YTransform();
VerticalAxis yAxis = new VerticalAxis
{
TicksProvider = new LogarithmNumericTicksProvider(10),
LabelProvider = new UnroundingLabelProvider()
};
p.MainVerticalAxis = yAxis;
p.Viewport.Visible = new DataRect(0, 0.1, 100, 100);
where p is ChartPlotter.
Image
How can i solve it?

Note, if the scale is not log, it works well.
Sep 9, 2013 at 5:00 AM
Edited Sep 9, 2013 at 6:03 AM
Problem Solved.

Looking at the source code i understood, that when we define viewport visible in log scale, we need to imply y values as powers of ten:
p.Vewport.Visible = new DataRect(0, -1, 100, 3);
And 3 is 10^3 but plot displays 10^2
Image

I think if project is not dead you need to correct this feature for more logical behavior