GalaevAlexey / core-plot

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

Line in scatterplot shows beyond points with linear interpolation #542

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a CPTScatterPlot and set the interpolation to 
CPTScatterPlotInterpolationLinear
2.
3.

What is the expected output? What do you see instead?

See the attached screenshot, when there is a sharp maximum or minimum, the 
orange line goes a few pixels past a blue dot before going to the next blue dot.

What version of the product are you using? On what operating system?

iOS 6

Please provide any additional information below.

I don't see this with a stepped or curved interpolation.

Original issue reported on code.google.com by koenvand...@gmail.com on 25 May 2013 at 12:02

Attachments:

GoogleCodeExporter commented 8 years ago
Forgot to add, this is with the CorePlot release 2.0 branch.

Original comment by koenvand...@gmail.com on 25 May 2013 at 2:12

GoogleCodeExporter commented 8 years ago
This is caused by the line style used for the data line. You need to adjust the 
lineJoin and/or miterLimit to eliminate the sharp corners. The Mac version of 
CPTTestApp demonstrates this.

Original comment by eskr...@mac.com on 25 May 2013 at 9:16