After developing multiple iOS apps (SAP Note Viewer for iPad (SAP Note Viewer for iPad) and iPhone (SAP Note Viewer for iPhone), iOS CRM (iOS CRM for SAP and iPad – A free Mobile CRM App)) I recently stumbled across one of my biggest hurdles so far (aside from learning Obj. C!) in creating a Sales dashboard within a native application. Charting and Graphing in business applications, including SAP, is a everyday necessity providing users, managers and CEO’s a visual representation of important, monotonous and a downright boring set of data.
Part 1 of the series covering the charting portion and Part 2 will run through the process of actually retrieving data from SAP using web services.
*Finding a framework*
– Non-native look and feel
– Difficulty with touch interaction (sometimes buggy)
– Depending on charting framework some apps will require internet connectivity to render.
– Extremely quick and easy to implement.
– Highly configurable look
– High re-usability
– Generally a large user or support base
– Open Source
– Many are Free
*Developing the application*
Here are a couple screenshots of the application displaying the charts (note all data is randomized).
Some Basic Chart testing with flot ….
*Finished App (more pictures at bottom)*
**** All data is randomized and not relevant ***
Here is a simple view of how I handle the code and data within XCode.
3. When adding a resource to XCode it will generally be marked as being needed to be compiled. Ensure that the files are not listed as being “Compiled”. The easiest way is to simply drag the files from Targets -> Your Project Name -> Compiled Sources into Targets -> Your Project Name -> Copy Bundle Resources.