Draw custom graph in iOS - objective-c

I need to draw custom graph like those 3 images in iOS, can someone tell me how to accomplish this. Is it possible to draw those graph using core-plot open source library or i need to use quartz2d library explicitly.

There are some beautiful tutorial on how to draw custom graph in iOS.
Link1 , Link2. For More please refer this section LINK

You can use core-plot framework / XYPieChart for pie chart

Related

Implementing Packed bubble Graph in WinRT

How I can implement packed bubble graph in WinRT. I am trying to achieve graph similar to attached image..
I tried for a similar implementation / sample for silverlight / Windows 8 in google, But didn't get any. Please anyone help me to achieve the same graph. My main issue is with implementing the logic correctly.
What kind of project are you using? There's actually a way to do this in each kind of supported project.
For javascript you can use the Canvas element, which has easy 2D api's for drawing circles and text.
In C++ you can use the DirectX 2D api's to draw circles. In C# you can embed a DirectX panel into your xaml and then use DirectX to draw the circles.
In C# or C++ you can also solve this problem with just xaml, using a ListView with Canvas for an ItemsPanel, and Circle objects. Here is a blog post I found with a tutorial (except with rectangles):
http://zamjad.wordpress.com/2010/03/17/using-canvas-as-a-itempanel-template-in-listbox/
Not sure if this fits your need. If you are not averse to using JS + HTML in WinRT, d3.js should be very very useful
Example of packed bubble chart - http://bl.ocks.org/mbostock/4063269
http://d3js.org/
Hope this helps!

ios bar graph Thermometer with coreploat

I am Developing an Application which requires the following kind of the Thermometer. I am using the CorePlot.
Should I use the Core-plot or any other alternative or Any custom framework like this is already been developed?
I asked to use views because its easier and quick to implement. With core plot, It would be good if you go through documentation and understand how it works first.
"Vertical Bar Chart" in the Plot Gallery example app demonstrates this.
In your code, You need to set
CPBarPlot * barPlot = [CPBarPlot ...];
[barPlot setBarsAreHorizontal:YES];

How to crop image in Titanium mobile Application

I have implemented crop functionality but
Is it possible to selection crop image like below link
http://deepliquid.com/projects/Jcrop/demos.php?demo=advanced
Short answer, not really unless you do some clever coding and view aligning / transforming.
Long answer, you have two options:
Create your own custom module with XCode, OBJ-C etc.
Just nest the Jcrop code in your own webview inside titanium. (This seems easiest).

Draw Graph in Blackberry

i want to create one app which draw different charts like pie chart, line chart, mixed chart etc.
Is the any API available to do so.If yes then please give me link.
And of no then is there any alternative for that.
AFAIK, there is no such chart drawing BB APIs right out of the box. So you should create your own custom ChartField by extending Field. Override Field.paint(Graphics graphics) to draw whatever you need. Graphics API offers a lot of drawing methods, so it is definitely doable.
RIM have a knowledge base article about drawing graph fields:
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/How_To_-_Create_graph_fields.html?nodeid=1889634&vernum=0
This shows how to create different tyes of graphs such as pie, line, bar.

custom colors in bing maps?

I was looking at http://www.msnbc.msn.com/id/26295161/ns/weather/ and noticed that the flash map is provided by bing and have a custom color scheme. I have a similar need to show maps with a black & white colortheme, is it possible using their api or have they made custom tiles ? (doesnt seem feasible to provide tiles for alls maps on all levels :)
If you are not wedded to Bing maps, you could look into Mapbox, which provide maps based on OpenStreetMap in any style that you desire.
This question is still not answered and even if it's kind of old, I think it matters.
In fact, they're not using different tiles or a custom tile scheme. You can see those in the network inspection tool.
Since they're inside a Flash application, they can easily change the color of the image using filter on image (ColorMatrixFilter) and changing dynamically on the client side the rendered colors.
Well now some years later you can: https://msdn.microsoft.com/en-us/library/mt823636.aspx :-)
(I got here by looking for some sample styles and thought I add the link for anybody else finding this question)
Perhaps a custom tile skinner is that you need: http://rbrundritt.wordpress.com/2009/11/27/bing-maps-custom-tile-skinner/
In this example, the author changes the color of roads using ColorMatrix and ColorMap:
The two key methods used to transform the colors
consist of using ColorMatrix or a ColorMap. By
using a color matrix all the colors on the tile
can be changed within a couple lines of code. Using
a ColorMap allows you to change one color at a
time. This is useful if you only want to change a
few colors on the map.