Thursday, August 11, 2011

iPhone/iPad Chart Library(MIMChartLib)

So.. In this post, you will find listing of all the posts related to Chart library called MIMChartLib. Some screenshots are also pasted below this feature list.
Here is a complete GUIDE of all classes, it is still under construction but its detailed. LINK


0. Miscellaneous

0.1 Styles for Labeling on X-Axis



1. Chart Pie
Features:
Check this post for all kinds of pie charts available.


2. WallGraph (SAMPLE GUIDE)
Features:
2.1  Wallgraph feature added in MIMChartLib.
2.2  User Interaction with WallGraph




3.  LineGraph   (SAMPLE GUIDE)
Features:
3.1  Line Graph Added
3.2 4 styles of Line Graph supported now.


4. Bar Chart  (SAMPLE GUIDE)
Features:
4.1 Bar Chart added
4.2  Group Bars added with/without Gradient style




5. Fragmented Bar  (SAMPLE GUIDE)
Features:
5.1  Fragmented Bar Chart Included  with/without Gradient style


6. Cluster Chart 
Features:
6.1 Cluster Chart Included


7. Fragmented Disk  ( SAMPLE GUIDE )
Features:
7.1 Fragmented Disk Chart included


Finally, uploaded the lib !!


Link to Download ON GITHUB

How to USE this LIB.......

Find some screenshots of the sample code below

...















32 comments:

  1. Generally usefull library, but it has some bugs (for example in Pie Chart drawing) and memory leaks, so inspect this code before using in your project :)

    ReplyDelete
  2. Congratulations! a doubt, is how I get the information to generate the graph of a SQL database rather than a csv file. Thank you.

    ReplyDelete
  3. Have you implemented a way to input data to the graph from an NSMutableArray?
    I may do that this weekend

    ReplyDelete
  4. can't we do this without a csv file?.i mean cant we get the data from an array or a textfield to make a chart?

    ReplyDelete
  5. First of all thanks for provide lovely tutorial . But i have some queries ..
    1 > how i get the information to generate the graph of SQLITE database rather then CSV file .. ?
    2 > There is any way to input date to the graph from an NsMutable Array ?

    Thanks
    please replay me on this ...
    anilgodawat@gmail.com
    anilgodawat@rediffmail.com

    ReplyDelete
  6. Why did you choose GPL for this library?

    ReplyDelete
  7. Now I have changed the license on this library, so anyone can use this library as they wish at their own discretion of course.

    ReplyDelete
  8. Check out the latest library code. I am sure there is a lot to like.

    ReplyDelete
    Replies
    1. Thank you for this nice library. I used this library and its work very well but when i try to use my app in iphone 6 then i can't see UIImageView but in iPhone 5 i can see.. UIImageView and UISegmentControl is not working in iphone 6 when i use this library in app. please reply me about this.

      Delete
  9. can we add a right border with some values same as displaying y axis labels

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Thank you very much for such a good library.
    Can anybody tell me , how can I draw using data from SQLite instead of CSV file ?
    @Reetu Raj: Do you have any plan for fixing memory leaks & checking code quality ?
    Again thank you very much...

    ReplyDelete
  13. How to give different color for different bar according to the values

    ReplyDelete
  14. @Deepak, you can give array of color as following mGraph.barcolorArray=[NSArray arrayWithObjects:[MIMColorClass colorWithComponent:@"246,209,0,255"], nil];

    ReplyDelete
    Replies
    1. I have 5 bar such that i want to give 2 color according to the values.If bar value is below 60 means color should be red.And above 60 means green color.It is possible to make like that.

      Delete
  15. How to add values 200, 350, etc for x axis titles in place of Jan, FEB, etc. I tried this by putting values in xTitlesArray and xValuesArray but its not working i am trying do this for MIMLineGraph. Thank you very much for your great effort for this library.

    email: kumaryr.shastry@gmail.com
    Thanks
    kumar

    ReplyDelete
  16. Hi I have used wall graph.But the color is not filling the graph.I don't know the problem.

    ReplyDelete
  17. Hi all x axis values are not rescaling as it is happening with y axis. suppose if i give a inputs like 200, 300, 500, 1000 for x axis values , on the xaxis it should show like 100, 200, 300, 400, ... 1000 means we should calculate some scaling based on the input values.is their any solution for this.But this is working for y axis.

    ReplyDelete
  18. @Kumar: I think currently it works only scaling on Y axis.....sorry it doesn't do scaling on X axis yet (you will have to use some other lib I guess :( ).. I have been doing a lot of upgrading on lib recently,,,however it will be another 3 weeks or so before I can update it on github.

    ReplyDelete
    Replies
    1. Thanks Reetu Raj , i feel i look at your initial implementaion of line graphs (LineGraph) in that its working fine for both y axis and x axis.As i need to deliver on this monday.I will try to fix this and replay to you, mean while if you get any idea kindly share with me.Thanks very much for replaying when ever possible let me help you on fixing the bugs.

      Thanks
      kumar Y R

      Delete
  19. Hi, I am using wallgraph,when all the values are 0 .The wallcolor fills below the xaxis.And always the app crashes showing the error frame is small.Can you suggest solution this problem asap

    ReplyDelete
  20. hi, i am using group bar graph , i want to show a same color of bar,s evety time , i have used the peoperty barColorArray but it,s not working, is there ant work around

    ReplyDelete
    Replies
    1. Please have a look on http://ztgraph.blogspot.in/

      Delete
  21. Now the latest updates are more helpful than these early versions. I am using the new updated versions. en ucuz iphone

    ReplyDelete
    Replies
    1. Please have a look on http://ztgraph.blogspot.in/

      Delete
  22. Is this library support float values on Y axis so that Y-axis titles will be 0.10, 0.20, 0.30, 0.40 and values will be 0.04, 0.14, 0.23, 0.25 etc.

    ReplyDelete
  23. I am facing a strange issue. Blue dots are appearing on the border of the pie chart. Please see the images below:
    http://oi60.tinypic.com/9h6i68.jpg

    ReplyDelete
  24. after adding this library my project images like button images,navigation images not loading on iphone 5s,6,6plus....

    ReplyDelete
  25. iPhone/iPad Chart Library (MIMChartLib)" introduces an exciting tool for iOS developers seeking to enhance their apps with dynamic data visualization capabilities. https://www.mobilezmarket.com/

    ReplyDelete