views:

25

answers:

3

I am new to objective-c and xcode. It would be very thankful if someone can point how to set new plot data for bar chart using core-plot. I need to set data like : y-axis and x-axis : as (10,1), (5,2), (20,3), (15,4) and the output should come as :

---------------------
30
25
20      #
15      # #
10  #   # #
5   # # # #

    1 2 3 4
---------------------

It would be great if someone can provide me the .m and .h file Thanks in advance

Joshua

A: 

Look at the programs in the examples folder in your Core Plot directory. All three CPTestApp programs (Mac, iPhone, and iPad) have bar plots.

Eric Skroch
A: 

But not able to figure out to change those plot-data alone. Please can you point to the section where the plotting data is mentioned.

A: 

Can someone help me where to change at the CPTestBarChartController.m file?

Thanks, Joshua