Revoluzifer
Revoluzifer

Reputation: 323

Fancy looking charts in iOS 5? (Maybe skin Core Plot?)

ad mentioned in the title I'm looking for a nice way for some nice looking bar graphs in iOS. I've already read this post: Bar Graphs in iOS app Core Plot seems to be first choice for most devs.

But regarding the given screenshots it's not that "Web 2.0"-like look which I'd like to realize.

So - does anybody know a lib which looks really nice or way to custom-skin Core Plot?

The possibility to animate the graph for changing values would be perfect though.

Upvotes: 3

Views: 3054

Answers (2)

ColinE
ColinE

Reputation: 70122

There are several commercial tools for iOS charting, some of which look quite fancy!

Full Disclosure - I work for Scott Logic, which is the parent company of ShinobiControls

Upvotes: 0

Brad Larson
Brad Larson

Reputation: 170309

Just about everything in a Core Plot bar graph is customizable, from border color to line width to fill color (or gradient). The screenshots on the project site are merely some defaults that are used in the sample applications that come with the framework.

If you look at the long list of applications that use Core Plot, you can see many different styles of graphs, including some different takes on bar charts.

There are a few stock themes, which can be used to create a default graph look using code like the following:

// Create barChart from theme
barChart = [[CPTXYGraph alloc] initWithFrame:CGRectZero];
CPTTheme *theme = [CPTTheme themeNamed:kCPTDarkGradientTheme];
[barChart applyTheme:theme];

Built-in themes currently include kCPTDarkGradientTheme, kCPTPlainBlackTheme, kCPTPlainWhiteTheme, kCPTSlateTheme, and kCPTStocksTheme, but you can create your own or use these as a starting point to customize your bar chart however you like.

If you can't figure out how to do a particular style of bar chart using Core Plot, you can ask about that on the mailing list or in a focused question here.

Upvotes: 3

Related Questions