Airtower / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Is it possible to create a scattered plot where positions on axis X is random? #438

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi There,

I'd like to create a scattered plot graph where axis X symbolize time and the 
values are on random X coordinates. I was checking the API and all the examples 
and seems only equal distances can be used on axis X.
Am I missing something? Can you give me a hint how to do random scattering on X?

Thank you!

Original issue reported on code.google.com by it.ar...@gmail.com on 19 May 2012 at 9:06

GoogleCodeExporter commented 8 years ago
The examples do that because it's easy. There's no requirement that the X and Y 
values be whole numbers or match up with the tick locations on either axis. If 
the datasource returns nil, NAN, or [NSNull null] for a data index, the scatter 
plot will break the data line between the adjacent points.

Original comment by eskr...@mac.com on 19 May 2012 at 12:46