creating Graphs and charts in iphone application? - iphone

I saw a couple of applications in the itunes store with stunning visuals, how is it possible to create those graphs and charts. I know these things can also be created using Java script, is javascript used to create them ?

You're looking for Core Plot.

you can draw chart's of your choice there is one API is available in Google for that using that API you van show your chart in UIWebView here I am providing the URL for that.That Url Required different kind of parameter for that.
http://chart.apis.google.com/chart?cht=bvg&chs=320x200&chd=t:315654000000,378799000000,421849000000&chxs=1N*cUSD&chxr=a&chds=a&chco=50b1c7,EBB671,DE091A&chbh=25,5,25&chxt=x,y,x,x&chxl=0:|2006|2008|2010|2:||5+Year+%+Sales+Growth++33%||3:||3+Year+%+Sales+Growth++11%||&chdl=Sales+Growth&chtt=Revenue+Trend&chts=000000,12,c
For More Detail please refer this URL: http://code.google.com/apis/chart/image/

Related

Are there any web controls in FusionCharts?

I checked their website and apart from the gallery I couldn't find anything prosper.
For example, Google has Control Wrappers. What are the controls I can adhere to FusionCharts or would I have to go with third-party controls or build my own custom Control Wrappers?
Using FusionCharts, updating or changing the data passed to the chart will result in re-rendering of the chart, unlike with Google Charts' ControlWrapper. They serve different purposes, and there are some significant differences to consider.
Do take a look at http://www.fusioncharts.com/javascript-charting-comparison/ to understand the various options for charting.
Simply, FusionCharts is purely a charting outsource component they only provide the charts- rendered from 2 data formats- XML/JSON provided to it.
As of now, they don't provide any Web Controls.
I suggest you to create the same using Coding and Integrate the chart there.
Hope ths helps!

How to add the different types of graph and charts in my iphone app via using any other api not core-plot?

I am using core-plot but i need to use any other api?
please help me by tell the name of different api's which i can use for add some graphf and chart in my app.
Also need how to customize the look of these graph E.g. add images in bar graphs 2d pie chart to 3d pie chat etc.
note:if the Question is not according to the rules please tell me in comments or Edit it.
Thanks
you can use google's chart api -
http://code.google.com/apis/chart/

How to create chart application in iphone

I'm assigned with new task for creating chart application in iphone like.,(BarChart,PieChart,etc..,).But,i have no idea for chart application in iphone.Please anyone help me out to guide me to start chart application in iphone.If any of the frameworks or API used for this kind of chart application means please explain that also.
Give a shot to:
Core-Plot Framework
To get it working, read here.
You can also see the accepted answer of this SO question.
For a little bar-chart tutorial go here.
There is also:
s7graphview less features but It's an option.
If you can rely on the web, although it's a far from optimal solution, you can embed a UIWebView in your application, and use the Google Graph Visualization API or you can use a UIWebView with an HTML5 graph library lake rgraph. Look here for a jQuery based solution. Filament Group made also this one.
At the and some sample code from Apple (Accelerometer Graph).
A commonly used Cocoa "native" charting library is core-plot. Whilst I've yet to personally use it, it seems to be quite popular and is under active development.
Here you go, but next time please use the search function first:
http://code.google.com/p/core-plot/
Cocoa Graphing/Plotting Framework that Works on iPhoneOS
A popular one is core plot. http://code.google.com/p/core-plot/

Looking for an interactive pie chart to use with GWT (without extern communication)?

I'm looking for a stand-alone Pie Chart which I can use in a GWT application. The Chart should be interactive, so that I can react on user input (read mouse clicks on the chart).
I've already looked at Google Chart Tools with GWT Visualization. This is exactly what I want. A simple to use PieChart class with user interaction and a simple and comprehensive data input. Except that the data is transfered to Google for the rendering part. The data should not leave the client or our server.
Have you tried Fusion Charts? Here's the Pie Chart showcase. Its a Flash object hence you will need to use JSNI to embed the object into your widget or use a library like GWT2SWF to do it for you.
I have used Fusion Charts + GWT2SWF combination in one of my products, and would recommend it to anyone looking for a interactive flash charting tool (outside of google's toolset)
A colleague of mine found following library: GChart. Rather then using Flash we'll try to draw our own. Not sure how easy this will be.
You mentioned:
"The Data should not leave the server"
With Google visualization APIs (as opposed to the chart apis) the data remains on your server, only the code is downloaded from google.
However, if you meant that you shouldnt need access to google at all, then GCharts is the only remaining and a pretty good option.
Check out GWT-RCharts hosted on http://code.google.com/p/gwt-rcharts/ . It is stand alone i.e doesn't have external dependency like Visualization. The API works on SVG/VML specification so no plugin dependency. You may find it quite easy to install, implement and use. You can find the demo at http://gwt-rcharts.appspot.com/

Advice for building simple bar chart, but with custom styling

I have some data that is displayed in a bar chart, using Google's Visualization API. Was simple enough until designers redesigned it... Now it appears to be something that is beyond what Google can help me with.
Given the attached mockup (and note the finer details like reflection and gradients!)- how would you go about building it? Using some existing graphing libraries? Homebrew from the ground up?
Thanks for any advice.
If you need to adhere to the custom design requirements as depicted in the image above, I would build a charting application using a more generalized graphics library such as Rapheal.
While it doesn't provide a simple API for plugging data into a chart, it does provide the ability to build a chart with the following:
a variety of shapes (i.e. the bars)
gradients
embedded images (i.e. the background)
You can change the visual effect using CSS.
Ofcourse you can use chuckx recommendation of Rapheal which is a SVG based Javascript Library. It can accept JSON values so say if you have JSON from Google API you could feed in directly.
Option 2 : HTML Canvas. There are lot of HTML 5 canvas libraries like Kinect, fabric.js powerful javascript canvas libraries