so many tks buddy, I knew u brainstormed hardly for that code. tks again.
@jhankar100
11 жыл бұрын
very nice tutorial easy to use and fulfil requirement.. Thanks
@serjmiskiv
10 жыл бұрын
thanks for this project! really tired for lookin lib for pie charts!
@priyankamarwah7108
9 жыл бұрын
+Serj Miskiv hi buddy ! have you implemented its delegate methods in your controller.m file ?? i am talking about "did select slice at index" method.
@serjmiskiv
9 жыл бұрын
+Yogesh Kohli noup, sorry. i havent work with this since then. i only try to do some stuff from tutorial and thats all.
@ctguitars
11 жыл бұрын
Great tutorial, and very simple. One problem. I have the pie chart in a view controller. When I switch to view an alternate view controller and come back, it isn't rendered. How do I fix this? I know it's easy, but I don't know what to do! Thanks....
@mitrraiputta9654
9 жыл бұрын
WoW Thank you very much ^o^
@hopgabay
10 жыл бұрын
Hey Dilip,thanks a lot!
@yusd5972
10 жыл бұрын
great!! sir if u dont mind,can u please show how to do the line chart using coreplot 1.4 using xcode 5
@Ayuk3093
10 жыл бұрын
This is really cool but is there anyway to specify labels instead of colors? For example in the legend, I might want to have a list of names rather than numbers. Is there anyway to do this?
@adithyavikram5426
7 жыл бұрын
am getting this error *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView renderInLayer:dataArray:]: unrecognized selector sent to instance 0x7f96efc03680'
@priyankamarwah7108
9 жыл бұрын
i want to do with ' did select slice at index path ' in my controller, but its not happening. please. i need it urgently !! help me guys.
@MuktinathVishwakarma
9 жыл бұрын
Hey Dilip, Can you make something like this for line chart. I was looking for that kind of solution but its not available anywhere (As simple as your). Please do that if possible. thanks for this.
@priyankamarwah7108
9 жыл бұрын
+Muktinath Vishwakarma hi buddy ! have you implemented its delegate methods in your controller.m file ?? i am talking about "did select slice at index" method.
@XuanQuynhLexuanquynh
10 жыл бұрын
I like the music. what is name song?
@SamridhSpace
9 жыл бұрын
Hi Dilip, can you tell me if i can use it for commercial product. can i use it for one of my clint's project.
@priyankamarwah7108
9 жыл бұрын
hi bro, how to implement delegate method in my controller ? its not happening !!
@the13mas
9 жыл бұрын
May I know how can I change the labels of the charts' legend (the small boxes on the right of the pie). Instead of printing the same numbers again, I want it to display some text. Can you help me with that? Thanks
@the13mas
9 жыл бұрын
+Mohammad Al-Sari I figured it out. Thanks a lot for providing this code. It's great
@shahd4445
8 жыл бұрын
+Mohammad Al-Sari how did you fix this? could you please reply as soon as possible. and one more thing,how do you connect your project data to the piechart? Thanks in advanced.
@jakeward2907
10 жыл бұрын
Hi, great video. Just wondering, how do you change the values of the pie chart? Thanks
@DilipLilaramani
10 жыл бұрын
Just change the values of array, you are sending to piechart.
@jakeward2907
10 жыл бұрын
Ok, thanks a lot!
@ravindrakishan2737
11 жыл бұрын
very helpfull dilip.thank u
@wansyafiq1773
9 жыл бұрын
hi.. great tutorial.. i need some help.. how can i change the value in the pie chart?? i dont want random number.. i need to key in the number in text field . also how to change the number in square box to a text.
@DilipLilaramani
9 жыл бұрын
wan syafiq 1. just create you array with custom values and send it to the piechart method as mentioned in code. 2. currently, you cannot replace number with text, for this you can use legends. or customize the library as you want. Thanks
@wansyafiq1773
9 жыл бұрын
Dilip Lilaramani thank you.. can you show me the code how to set the value using array? i want to type any number in text box.. there are 14 text box.. after i put the value in the text box it will plot a pie chart according to the number in the text box. im still new in the xcode.. hope you can help..thanks
@priyankamarwah7108
9 жыл бұрын
hi dilip, how to write its delegate method in my controller ? if i write my code in that dlpiechart.m method's method, its running , but i want to have its delegate method in my controller. so ?
@DilipLilaramani
9 жыл бұрын
You can do google search for "delegation example" or "post notification example" to solve your purpose here. Just follow the steps.
@priyankamarwah7108
9 жыл бұрын
+Dilip Lilaramani Actually, i am using this in 2 different view controllers and i want delegate method to be executed for one view controller only. so thats why. is there any other way of doing it ? why can't we just simply write pie chart delegate method in controller ?
@priyankamarwah7108
9 жыл бұрын
+Dilip Lilaramani is there any other way of doing it ? why cant we just write it in controller.m file as delegate methods ??
@priyankamarwah7108
9 жыл бұрын
+Dilip Lilaramani how will i get to know in my controller that slice index clicked..i mean to say, where should i receive my notification in my controller ? please reply !!
@serjmiskiv
10 жыл бұрын
but,how can i use this with NSDictionary?
@DilipLilaramani
10 жыл бұрын
Just extract the values for NSDictionary and place in array & send it through method specified.
@ahicken
10 жыл бұрын
Way cool - but for me the legend doesn't show up.
@joysprofilepictures2420
8 жыл бұрын
It says iOS but you're on a computer... I'm on my iPhone. I thought this would actually be useful! 😒
@chinnaerumbu
10 жыл бұрын
hai Dlip is it free of cost ?
@DilipLilaramani
10 жыл бұрын
Yes, Kalidoss. It is free & will be.
@chinnaerumbu
10 жыл бұрын
will be ? means ... i want exact answer please .
@DilipLilaramani
10 жыл бұрын
I mean it will be free always. :)
@chinnaerumbu
10 жыл бұрын
Thanks Mr. Dilip
@tab315
10 жыл бұрын
Hi there. I watched the tutorial and I'm very interested in implementing this in a project I'm working on. However, upon trying to compile and run, I receive a error with one of the lines of code in your DLPieChart.m. "CGSize size = [label sizeWithFont:self.labelFont];". "sizeWithFont" is deprecated as of iOS 7. The suggested remedy is to use "sizeWithAttributes". This then creates an incompatible pointer type issue (UIFont to parameter of type NSDictionary). Now, I'm not completely sure whether or not this has to do with the fact that I'm developing an iPhone application, but I thought I'd let you know so you can revamp some of your code. This interactive piechart is sweet, and I'd like to see it work! Please let us know what you come up with?!
@DilipLilaramani
10 жыл бұрын
This is a warning as it is deprecated in iOS7.
@priyankamarwah7108
9 жыл бұрын
+Tyler hi buddy ! have you implemented its delegate methods in your controller.m file ?? i am talking about "did select slice at index" method.
@rhyti7169
10 жыл бұрын
Hi,great tutorial.Can u tell me how to show float values in pie chart?Though am giving float values in my array,its showing integer values.I am giving values like this: NSMutableArray *dataArray = [[NSMutableArray alloc] init]; NSNumber *num1 = [NSNumber numberWithFloat:79.2f]; [dataArray addObject:num1]; NSNumber *num2 = [NSNumber numberWithFloat:12.8f]; [dataArray addObject:num2]; But values shown in pie chart are 79 ,12.How can i show 79.2 and 12.8 in the pie chart?
@DilipLilaramani
10 жыл бұрын
Thanks Rhy Ti. There is a method in "DLPieChart.m" file, change to this: - (CGFloat)pieChart:(DLPieChart *)pieChart valueForSliceAtIndex:(NSUInteger)index { //return [[self.DLDataArray objectAtIndex:index] intValue]; return [[self.DLDataArray objectAtIndex:index] floatValue]; } Hope it helps. :)
@rhyti7169
10 жыл бұрын
Dilip Lilaramani Thanks a lot..
@rhyti7169
10 жыл бұрын
Hi..I have to put a circular border around this pie chart ,can u help me out with this
Пікірлер: 51