Dhruv
Dhruv

Reputation: 2163

How to Draw SMOOTH curve using different points in coreplot ios?

I am able to plot a curve, but it is not smooth. In fact, it is totally distracted and wavy. Can anyone help me or suggest a method to make that curve line smooth?

Thanks in advance.

Upvotes: 5

Views: 3743

Answers (1)

Eric Skroch
Eric Skroch

Reputation: 27381

A new option was added to the Core Plot framework after the 1.0 release that draws scatter plots with a smoothed line. You'll need to get the latest code with Mercurial or wait for the next release, currently unscheduled.

plot.interpolation = CPTScatterPlotInterpolationCurved;

Upvotes: 18

Related Questions