Iphone Coreplot

后端 未结 1 644
长发绾君心
长发绾君心 2021-01-21 13:59

I am new to the iPhone development can anybody help me to draw curve chart in iPhone using only three values

-(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot
{         


        
1条回答
  •  抹茶落季
    2021-01-21 14:32

    Replace the following code:

    -(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot{
        NSLog(@"Array1-->%@",Array1);
        return [Array1 count];
        //return 50;
    }
    

    with the following one:

    -(NSUInteger)numberOfRecordsForPlot:(CPPlot *)plot{
        NSLog(@"Array1-->%@",Array1);
        return 3;
    }
    

    Hope this helps!

    0 讨论(0)
提交回复
热议问题