Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 19    Views: 93

Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
01/10/14 08:45 PM (11 years ago)

Graph Plugin

Would anyone like to make a graph style plugin? The user would input the date and whatever it may be that they would like to track and it would be displayed on a graph. It could be weight loss, money saved/earned, the amount of plugins in the Buzztouch market - any type of progress. This plugin would have a wide range of uses, it's interactive and Apple would love it… If someone would like to make this for the market, that would be fantastic. If someone needs some extra incentive, I can freelance this out.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/10/14 09:12 PM (11 years ago)
Can probably do what you want. I made a graph recently for an app I'm working on for an engineering company. Was a vertical bar graph. What kind of graph were you thinking of?
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/10/14 10:25 PM (11 years ago)
Hi Chris - I was actually thinking of a line graph but could make a vertical bar one work. Here's a couple examples of graphs I was looking at: https://www.dropbox.com/s/0402nu4bu3vhpbh/Screen%20Shot%202014-01-10%20at%2010.07.24%20PM.png https://www.dropbox.com/s/keyrqwnxt34belc/Screen%20Shot%202014-01-10%20at%209.33.42%20PM.png Since this is for weight loss, one example of a bar graph I could use is this: https://www.dropbox.com/s/g9pp3evekb0zoeq/Screen%20Shot%202014-01-10%20at%2010.20.41%20PM.png
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/11/14 09:11 AM (11 years ago)
Meant to attach this screenshot last night, but Dropbox was down for some reason. This is what I created for the app I'm working on. The trick with graphs like this is how customized they need to be. It's one thing to let an app owner add some basic data to the control panel and have a plugin output it as a graph. It's quite another to let the user input their own data as well. For something like that, it really needs to be a custom plugin built for a particular app in mind, rather than something generalized that can be sold on the plugin market. https://www.dropbox.com/s/blsemca7mgeihdl/Screen%20Shot%202014-01-10%20at%208.58.49%20PM.png
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/11/14 09:13 AM (11 years ago)
For the above graph, if you press on any of the bars, it changes the "Hours" label to something like "Hour 3: 83%". The percentages (and bar heights), as well as number of bars, were determined by user input on another screen of the app. Once it goes live (hopefully in a couple days), I'll post a link to the app so you can check out the entire thing on your phone.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/11/14 10:37 AM (11 years ago)
Instead of the hours, is it possible to input a date? And would it be possible to input a number as opposed to a percentage?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/11/14 10:54 AM (11 years ago)
Sure - like I said, it's a pretty customized thing.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/11/14 11:28 AM (11 years ago)
Ok, I'm sold - How can I get this plugin? Or will it be coming on the market?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/11/14 11:36 AM (11 years ago)
Well like I said, it's not suited for the market as it's highly tailored to the app I made. I could do something similar for your app though. Send me a pm with some details of what you'll need and I can give you a quote.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/12/14 12:59 AM (11 years ago)
PM sent
 
Innovativegeek
Code is Art
Profile
Posts: 60
Reg: Jul 29, 2011
Orlando
3,400
like
01/15/14 12:22 PM (11 years ago)
@Becky, I have been playing around a bit with the Google Charts api, and it is pretty robust. That could be integrated using the custom html plugin. Definitely worth a look at
 
Innovativegeek
Code is Art
Profile
Posts: 60
Reg: Jul 29, 2011
Orlando
3,400
like
01/15/14 01:44 PM (11 years ago)
Here is a link you should check out, not sure if this would meet your needs: https://google-developers.appspot.com/chart/interactive/docs/spreadsheets
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/15/14 02:21 PM (11 years ago)
Hi ChrisY - Is this something that users would be able to input their own data? From the initial view of it, I'm not seeing it. Also, using google spreadsheets, I wonder how Apple views this. I recently got an app rejected with the Favorites plugin and Scringo and was told it was too much like a book and that it belonged on iBooks. Apple is always wanting more and more from me.
 
Innovativegeek
Code is Art
Profile
Posts: 60
Reg: Jul 29, 2011
Orlando
3,400
like
01/15/14 02:31 PM (11 years ago)
Hi Becky, There are a few ways this could be implemented. When you say users, do you mean a client, or someone that downloads the app from the app store? The app admin would be able to make changes via Google Docs. To make it a bit easier, you could include a link on your admin panel that would go directly to Google Docs. If you feel like getting your hands a little dirtier, you could create an HTML page with an iframe (you would upload this to your buzztouch installation directory) (and embed the Google docs page there). This would allow the user to make changes to the doc without leaving the BT admin panel.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/15/14 02:47 PM (11 years ago)
It would be someone that downloads the app from the app store. So in that case, you're saying it could be done? Or, it can only be changed via control panel and not directly in the app itself? I need the changes to be done in the app itself.
 
Innovativegeek
Code is Art
Profile
Posts: 60
Reg: Jul 29, 2011
Orlando
3,400
like
01/15/14 05:55 PM (11 years ago)
As far as I know it would have to be modified by an admin. I'll look through the docs a bit and see what options you would have using the API
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/15/14 09:17 PM (11 years ago)
To allow for data input within the app and to have the app generate the graph, it might be better to combine two plugins (both made my Chris1): - Webform Generator https://www.buzztouch.com/plugins/plugin.php?pid=8C07FD3F661D4714558AA73 - Graph (custom-made by Chris) Then Chris1 would stitch the two plugins together to share and use the same data. -- Niraj
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/15/14 09:41 PM (11 years ago)
Yes, that is something Chris and I are discussing. Waiting on Chris1 (no pressure!). But, something like his recent app: https://www.buzztouch.com/forum/thread.phptid=FBCE7412D744FB6932397D7&currentPage=1 BTW, Niraj, aren't I suppose to be hounding you about something? :)
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
01/15/14 09:46 PM (11 years ago)
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/16/14 01:03 AM (11 years ago)
Becky -- hound away via a Private Message. I forget the topic, feel free to remind me. Include the relevant link to the forum post. -- Niraj
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.