Reputation: 7637
Basically I need to fill plot's area with 2 colours. I found some hints to use 2 plots, but in my case I have a lot of data, and I will need to draw hundreds or even thousands of plots, some of them will have color 1, another will have color 2. How can I achieve this ?
Upvotes: 0
Views: 291
Reputation: 27381
You only need two plots to have two different fills. Return nil
or [NSNull null]
from the datasource to leave gaps in the plots where you want the other plot to take over.
Upvotes: 1