iOS programming in 2010

New version of Pie Chart 3D 2.0 has arrived!

Posted: July 18th, 2016 | Author: | Filed under: about apps and devices, piechart, Xcode solutions | Comments Off on New version of Pie Chart 3D 2.0 has arrived!

After several months I was finally able to finish new version of Pie Chart 3D application.

In version 2.0 I added all features requested by users:
– you can save images to camera roll – most required feature,
– you can define colors using RGB and HSV,
– chart, labels, title can be moved on the screen with one tap,
– title font face, size and color can be changed,
– colors can be selected from 3 predefined palettes plus one customisable,
– improved handling for decimal numbers.

You can buy also library source code – check details and pricing here:
https://iphone.orpi.pl/wykres-pie-chart-na-iphone-objective-c/

 

Pie Chart 3D library Pie Chart iphone library Pie Chart 3D ios xcode library Pie Chart 3D xcode library source code


Pie Chart 3D Creator for iPhone

Posted: July 15th, 2016 | Author: | Filed under: Xcode solutions | 2 Comments »

New version was published in July 2016.
Check it out in AppStore. You can buy library source code! Details here:

https://iphone.orpi.pl/wykres-pie-chart-na-iphone-objective-c/

New version supports all features of version 1.0 and:
– you can save images to camera roll – most required feature,
– you can define colors using RGB and HSV,
– chart, labels, title can be moved on the screen with one tap,
– title font face, size and color can be changed,
– colors can be selected from 3 predefined palettes plus one customisable,
– improved handling for decimal numbers,
– bug fixing.

 

Description of first version below.
In my previous article I presented my new Pie Chart 3D library. I decided to use it in iPhone/iPad application. You can now enjoy this app and download it form AppStore.

Pie Chart 3D for iPad and iPhone
Pie Chart 3D Creator allows you to create pie chart wherever you are.
Just few taps and your pie chart is ready. You can save it for later or email immediately.

In version 1.0 you can:
– supports iPad and iPhone layout,
– supports rotation,
– add new slices (up to 12),
– move slices on a chart in slice settings,
– change slice size,
– rotate whole chart, just swipe your finger next to chart border,
– skew chart, just swipe up and down in the center,
– scale chart, use two fingers, like with pictures,
– save for later, in chart settings, chart is saved with date and chart name, (up to 15 saved charts),
– load saved charts, you will be warned that your current chart will be replaced,
– delete unneeded charts (just tap edit button on load list or swipe finger to right hand side),
– reset chart values to default 5 slices,
– email image with chart to any recipients email.

Chart uses two nice classes which I created and are available on my website:
– pie chart 3d class for drawing pie charts, with protocol returning clicked slice,
– color picker class allowing quick color selection from the list.

You can enjoy videos or purchase pure library.

IMPORTANT!!! IF YOU ADD YOUR COMMENT AND YOU REQUIRE ANSWER, AFTER 2-3 DAYS PLEASE CHECK YOUR SPAM FOLDER. A LOT OF EMAILS IS BLOCKED BY SPAM FILTER


Wykres Pie Chart 3D na iPhone – Objective-C – Xcode

Posted: July 15th, 2016 | Author: | Filed under: Xcode solutions | 4 Comments »

[English description of Pie Chart Library is available at the bottom.
I use this library in my Pie Chart 3D app – https://iphone.orpi.pl/?p=25 ]

New version of application has been published. There are not too many changes, however you may like better color management, decimal numbers support and a few other changes.

Biblioteki graficzne iPhone nie zawierają zaawansowanych funkcji ani API do rysowania wykresów. Bardzo często w sieci pojawiają się pytania jak narysować wykres kołowy (pie chart).
Znalazłem kilka miejsc, gdzie opisane jest jak narysować płaski wykres wykorzystując linie i łuki. Nie jest to trudne – taką metodę można było już stosować w PHP. Dodatkowo Objective-C oferuje bogate możliwości wypełniania obszarów, pozostaje więc jedynie przypomnieć sobie kilka zasad trygonometrii (

sinus i cosinus) i można rysować.

Nie znalazłem natomiast nigdzie rozwiązania do rysowania przestrzennych 3D. W PHP dodano bardzo fajny parametr style=IMG_ARC_PIE do rysowania łuku:
bool imagefilledarc ( resource $image , int $cx , int $cy , int $width , int $height , int $start , int $end , int $color , int $style )

parametr style=IMG_ARC_PIE rysuje fragment wykresu przestrzennego/ slice.

Niestety, w SDK 4.1 mamy możliwość rysowania tylko płaskich wykresów. A więc trzeba to oprogramować samodzielnie.

Postanowiłem przygotować własną bibliotekę, która będzie nie tylko rysowała wykresy płaskie, ale również wykresy 3D.

Poniżej film prezentujący możliwości biblioteki.
Wersja 1.0 wymaga jeszcze kilku poprawek. Planuję również dodanie możliwości wyświetlania etykiet.

Read the rest of this entry »