GalaevAlexey / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

log scale minor ticks spacing looks incorrect #612

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a semi-log graph (mine uses a log scale on the y-axis) and add a plot
2. add major ticks (mine uses preferredNumberOfMajorTicks = 10 and 
labelingPolicy = CPTAxisLabelingPolicyAutomatic)
3. add minor ticks (mine uses minorTicksPerInterval = 20)

What is the expected output? What do you see instead?
The spacing of the minor ticks looks incorrect as the minor ticks approach the 
major tick. It appears that the decrease in spacing between the minor ticks is 
off (I'm speculating), which causes a couple of the minor ticks to move past 
the major tick into the next interval. See attached image.

What version of the product are you using? On what operating system?
CorePlot 1.4, iOS7

Please provide any additional information below.
Also isn't correct with minorTicksPerInterval = 10. The graphHostingView is 
full screen (1024x768), but with padding, the actual plotting space is 834x538.

Original issue reported on code.google.com by Jason.S...@gmail.com on 11 Dec 2013 at 7:46

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 12 Dec 2013 at 12:26

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 90ec6ce438b1.

Original comment by eskr...@mac.com on 12 Dec 2013 at 3:09