2013년 6월 17일 월요일

Android Chart Library - Essence Chart Library Changes

Essence Android Chart Library(SDK) Change Log


Please refer to sample apps in Google Play store. (https://play.google.com/store/apps/details?id=com.essence.chart_sdk)


  • Essence Chart SDK 1.0.0
    • Watermark were add. 
    • Two color template were add.
    • Change color of default color template.

  • Essence Chart SDK 0.8.1
    • Chart Property Dialog
      • Added Fill Property
        • Fill Style(None, Single Line, Double Line, Thick Inner, Tick outer)
        • Select Fill Color
    • Chart Area Property Dialog
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
    • Title Property Dialog
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
        • Edge Style(None, Solid)
        • Select Edge Color
    • Legend Property Dialog
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
    • X Axis Property Dialog
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
        • Edge Style(None, Solid)
        • Select Edge Color
    • Y Axis Property Dialog
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
        • Edge Style(None, Solid)
        • Select Edge Color
    • Y2 Axis Property Dialog
      • Added Title Property
      • Added Font Property
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
        • Edge Style(None, Solid)
        • Select Edge Color
    • Z Axis Property Dialog
      • Added Fill Property
        • Fill Style(None, Solid)
        • Select Fill Color
        • Edge Style(None, Solid)
        • Select Edge Color
    • Series Property Dialog
      • Column Data Property
        • Each Columns, All Columns Property
        • Hide, Exclude Property
    • Row Data Property
        • Each Rows, All Rows Property
        • Show, Fill, Data Format, etc.
    • Error Fixed
      • Fixed Chart.setSourceData API


  • Essence Chart SDK 0.7.11
    • Support chart control's option
      • Border show/hide
    • Support chart range's option
      • Border show/hide
    • Support chart title's option
      • Input Title text
      • Title show/hide
      • Title's position
      • Title's font option (Size, Color)
    • Support Chart Axis's option
      • Support X, Y, Z Axis
      • Axis's Title Text
      • Axis Show/Hide
      • Axis Font option (Size, Color)

  • Essence Chart SDK 0.7.10
    • Support legend option
      • Legend position (Top, Bottom, Right, Left, Right-Top)
      • Legend font attribute - Size, Color


  • Essence Chart SDK 0.7.9
    • Data Queue Feature added
      • Line Chart support only - Please refer to Essence Chart Apps in Google Play store.
    • Multi-Language support - Japanese(日本語) support

Essence Chart SDK API Reference Guide

Essence Chart SDK API Reference Guide

Only korean version available








2013년 6월 11일 화요일

Android Chart Library - Essence Chart SDK - Getting Started



Android Essence Chart Library support various Chart Types. Anyone can easily create 2D/3D chart by using Essence Chart Library.

  • Essence Chart Library support various Chart Types. You can find chart types in Supporting Various Chart Types Article.
  • Essence Chart Library is very tiny.
    Android Essence Library is only 3MB.
  • Essence Chart Library support Multi-platform.
    Currently support Android and Windows. iOS will be supported ASAP.
  • Essence Chart Library is Free
    Essence Chart Library follow MIT License(some exception is). Please refer Android Essence Chart License.





Install Essence Chart SDK
First of all, Essence Chart SDK must be installed. You can download install file in  Android Essence Chart SDK Download Article.

image




Getting Started - Step 1(Chart Creation)

Android Essence Chart Library provide JAR(Java Archive) can be used in Android system.

Support follwing
  • SDK Install Application
  • Android JAR
  • Support Device : armebai-v7 (armebai is not support)
  • SDK Sample(Demo) APP
  • Minimum SDK Version : Android 2.3.3(API 10)
  • Tested Device
    • Samsung Galaxy S2(Android 4.1.2, Jellybean and above)
    • Samsung Galaxy S3(Android 4.1.2, Jellybean and above)
    • Samsung Galaxy  Note 10.1(Android 4.1.2, Jellybean and above)
    • LG Optimus G Pro(Android 4.1.2, Jellybean and above)
    • Google Nexus7(Android 4.2.2, Jellybean and above)
    • Google Nexus10(Android 4.2.2, Jellybean and above)
  • Some Device will not work correctly
    • Support armebai-v7
    • Do not support all Android OS version



Pre-requisite





Create Android App


Run eclipse.
image




Select File –> New –> Other in Eclipse.

image




Select Android –> Android Application Project and Select “Next” button.

image



Input and Select to controls like following (refer to following picture):
Application Name: Chart
Project Name: Chart
Package Name: com.essence.chart
Minimum Required SDK: API 9: Android 2.3(Gingerbread)

Select “Next” Button.

image





Check Create custom launcher icon, Create activity, Create Project in Workspace.

Select ”Next” Button.

image




Use default value.

Select ”Next” Button.


image



Check 'Create Active' and Select 'BlankActivity'.

Select ”Next” Button.

image

Input value like following: (Use default value)
Activity Name: MainActivity
Layout Name: activity_main

Select 'Finish' Button.

image






Copy Essence Chart Library files to current project

Copy JAR file and library directory to current project.

Run Explorer and move to installed Essence Chart SDK directory.

Default Install path is:
  • Window 32bit : C:\Program Files\Essence Chart SDK\sdk\android
  • Window 64bit : C:\Program Files (x86)\Essence Chart SDK\sdk\android
image


Copy 'armebai-v7a' Directory and 'essence.chart.0.7.6.jar' file.

 image



Paste copied file to libs folder of Chart Project in Eclipse.


image


When copying finished, verify copied 'armebai-v7a' directory and  'essence.chart.0.7.6.jar' file in libs directory.

 image



Adding Chart to Layout

Select res/layout/activity_main.xml file in Eclipse.
(activity_main.xml is specified file when create this project)

image



Select 'activity_main.xml' tab.

image


Modify xml in TextView element.

Before

After
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity" >
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:text="@string/hello_world" />
</RelativeLayout>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity" >
    <com.essence.chart.Chart
        android:id="@+id/chart01"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</RelativeLayout>



image

image


Save and Select 'Project->Clean' and Select 'Clear all Projects' in Clean dialog.

Select 'OK'.

image

Run Chart App


Select Run button in Eclipse toolbar.

In Run As Dialog, Select 'Android Application' and Select 'OK'.

image


If the project was build successfully, 'Android Device Chooser' Dialog will be opened.

In Android Device Chooser Dialog, Select device which connected and Select 'OK'.


image


Following pictures show Chart App is running.
  • Samsung Galaxy S2
image

  • Samsung Galaxy Note 10.1
image

  • Google Nexus7
image

2013년 6월 10일 월요일

Android Chart Library - Essence Chart Library - Supporting Various Chart Types

Android Essence Chart Library support various Chart Types. Anyone can easily create 2D/3D chart by using Essence Chart Library.

Please refer to following chart type list.

The Essence Chart Library is available for Free in commercial application.

Supported Chart Types


  • Column
    • Clustered Column
    • Stacked Column
    • 100% Stacked Column
    • 3-D Column
    • Stacked Column in 3-D
    • 100% Stacked Column in 3-D
  • * Line
    • Line
    • Stacked Line
    • Line with Markers
    • 3-D Line
  • * Pie
    • Pie
    • Exploded Pie
    • 3-D Pie
    • Exploded pie in 3-D
  • * Bar
    • Clustered Bar
    • Stacked Bar,100% Stacked Bar
    • Clustered Bar in 3-D
    • Stacked Bar in 3-D
    • 100% Stacked Bar in 3-D
  • * Area
    • Area
    • 100% Stacked Area
    • 3-D Area
    • 100% Stacked Area in 3-D
  • * XY(Scatter)
    • Scatter with only Markers
    • Scatter with Straight Lines and Markers
    • Scatter with Straight Lines
  • * Stock
    • High-Low-Close
    • Open-High-Low-Close
  • * Surface
    • Contour
    • 3-D Surface
  • * Doughnut
    • 3-D Doughnut
    • Exploded Doughnut in 3-D
  • * Bubble
    • Bubble
  • * Radar
    • Radar
    • Radar with Markers
  • * Combine
    • Combine
    • 3-D Combine

Android Chart Library - Essence Chart SDK Download

You can download Android Essence Chart SDK Files.

For the management convenience, old version SDK files can be deleted without any notice.







Android Chart Library - Essence Chart SDK Sample Source


At last, we open Essence Chart SDK Sample App Source.

You can download source at following address. This source will be maintained via GITHUB.

https://github.com/essencetech/essencechart


Download ZIP

https://github.com/essencetech/essencechart/archive/master.zip

If you have any question, please leave message in this blog.

2013년 6월 7일 금요일

안드로이드 차트 라이브러리 - Essence Chart(에센스 차트) SDK 샘플 소스

Essence Chart SDK Sample App Source

에센스 차트 SDK 샘플 앱 소스를 공개합니다.
("Stefano Falasca"씨 찾으시던 소스를 이제 공개합니다.)

아래 주소로 가면 안드로이드 Play 스토어에 등록된 샘플 앱의 소스를 받으실 수 있습니다.
샘플 소스는 github를 통해서 업그레이드 될것입니다.

https://github.com/essencetech/essencechart


다운로드 ZIP

https://github.com/essencetech/essencechart/archive/master.zip

문의 사항은 블로그에 남겨주세요.