=====
Chart
=====

About
-----

|Chart_icon| Chart lets you do graphical representation of simple tabular data, in the form "label: value". It can draw Horizontal/Vertical bar charts, line charts and pie charts.

.. |Chart_icon| image:: ../images/chart-icon.png

.. image :: ../images/chart-img1.png

.. image :: ../images/chart-img2.png

.. image :: ../images/chart-img3.png

.. image :: ../images/chart-img4.png

Using chart
-----------

Basic Usage
:::::::::::

First you need to add data to create the graph

* You can add data with |add_icon| button

.. |add_icon| image:: ../images/chart_addicon.png

* ... or remove data wih |remove_icon| button

.. |remove_icon| image:: ../images/chart_removeicon.png

To change the graph title, just change the activity title

Next, you can change the type of the graph

* Vertical Bars |ver_icon|

.. |ver_icon| image:: ../images/chart_ver.png

* Horizontal Bars |hor_icon|

.. |hor_icon| image:: ../images/chart_hor.png

* Lines |line_icon|

.. |line_icon| image:: ../images/chart_line.png

* Pie |pie_icon|

.. |pie_icon| image:: ../images/chart_pie.png


Configs
:::::::

You can change the colors or the horizontal and vertical labels in the configs toolbar |set_icon|

.. |set_icon| image:: ../images/chart_set.png


Full Screen Mode
::::::::::::::::

To enter full screen mode press ``Alt+Return`` or click the |FullScreen_Icon| Icon.

.. |FullScreen_icon| image:: ../images/chart_fullscreenicon.png


Download
--------
`Activity page in our activities portal <http://activities.sugarlabs.org/en-US/sugar/addon/4534>`_


Development
-----------

* `Git Repository <http://git.sugarlabs.org//simplegraph>`_

* Chart uses `PyCHA library <https://bitbucket.org/lgs/pycha>`_

Ideas for future releases
:::::::::::::::::::::::::
 
* Show a help tutorial when activity is started from scratch

* Share, edit the data with your friends

Support
-------
Support for this activity is provided by the developer 

1. at http://wiki.sugarlabs.org/go/Activities/SimpleGraph 

2. or by sending an e-mail to aguz@sugarlabs.org


References
----------
`Wiki Page <http://wiki.sugarlabs.org/go/Activities/Chart>`_
`Download Page <http://activities.sugarlabs.org/en-US/sugar/addon/4534>`_