레이블이 Free Chart Library인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Free Chart Library인 게시물을 표시합니다. 모든 게시물 표시

2013년 8월 4일 일요일

Android Essence Chart(エッセンス チャート)のライセンスについて

誰でも無償で無制限に扱って良いのかについて気になる方が多いと思いますが、
Essence Chartはその自体に対するソースコードを提供していないためMIT Licenseと似ていると考えてください。 
ここでライセンスとはEssence Chartのライブラリに対するライセンスを言います.

MIT Licenseをもっと簡単に説明すると、商用プログラムで携わっても構いませんし、
独占プログラム(非公開ソース)で使うこともできます。バグ・パッチ及び機能を拡張して公開する義務もありませんし
ご自由に携わって使えるライセンスなのです.

但し、Essence Chartそのものに対するライセンスの再伝播することは許しておりません。(そんな方はいないと思いますが...)

ライセンスというのは元々難しくてこの文書をみても白か黒か分かりにくいと思いますが、
次の場合ご心配なく携わっても良いという意味です。
自分だけの償用アプリを作る時にEssence Chartのライブラリを適用する. - No Problem!
顧客の依頼を受けてアプリを開発することでEssence Chartを含める - No Problem!

MITライセンスの全文を以下に示します。
License

The MIT License
Copyright (c) 2009, Concrete CMS, inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

日本語訳
この日本語訳は、皆様が理解しやすいようにと掲載させていただきましたが、上記の英語が元になります。再配布の際は、日本語訳ではなく、英語の原文を元にして使って下さい。
参考記事:オープンソースグループ・ジャパンによる日本語参考訳

License

The MIT License
Copyright (c) 2008, Concrete CMS, inc.

以下に定める条件に従い、本ソフトウェアおよび関連文書のファイル(以下「ソフトウェア」)の複製を取得するすべての人に対し、ソフトウェアを無制限に扱うことを無償で許可します。これには、ソフトウェアの複製を使用、複写、変更、結合、掲載、頒布、サブライセンス、および/または販売する権利、およびソフトウェアを提供する相手に同じことを許可する権利も無制限に含まれます。

上記の著作権表示および本許諾表示を、ソフトウェアのすべての複製または重要な部分に記載するものとします。

ソフトウェアは「現状のまま」で、明示であるか暗黙であるかを問わず、何らの保証もなく提供されます。ここでいう保証とは、商品性、特定の目的への適合性、および権利非侵害についての保証も含みますが、それに限定されるものではありません。 作者または著作権者は、契約行為、不法行為、またはそれ以外であろうと、ソフトウェアに起因または関連し、あるいはソフトウェアの使用またはその他の扱いによって生じる一切の請求、損害、その他の義務について何らの責任も負わないものとします。

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

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 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.