What steps will reproduce the problem?
1. Create CPTXYPlotSpace wiith linear y axis and logarithmic x axis
(setXScaleType:CPTScaleLog)
2. Use CPTPlotSpaceDelegate to receive tap point and convert to plot area view
point with convertPoint:toLayer
3. Call plotPoint:forPlotAreaViewPoint to obtain plot point
What is the expected output? What do you see instead?
For logarithmic x axis ranging from 5.0 to 500.0, expected is returned x value
of 5.0 at left edge of axis, 500.0 at right edge, and 50.0 in center.
Instead, returns 5.0 at left edge, 500.0 at right edge, and ~252.0 in center,
as if a linear axis.
What version of the product are you using? On what operating system?
Using Core Plot release 1.0 on iOS 5.0 using Xcode 4.2
Please provide any additional information below.
Original posting about this issue with code example:
http://stackoverflow.com/questions/10406539/core-plot-how-to-convert-touch-point
-to-plot-point-in-a-plot-space-with-log-ax
Original issue reported on code.google.com by tp...@earthlink.net on 3 May 2012 at 3:40
Original issue reported on code.google.com by
tp...@earthlink.net
on 3 May 2012 at 3:40