<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<!--
nicechart.inx
Copyright 2011
Christoph Sterz
Florian Weber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
-->
<_name>NiceCharts</_name>
<id>org.ekips.filter.hello_world</id>
<dependency type="executable" location="extensions">nicechart.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="input_sections" type="notebook">
<page name="data_settings" _gui-text="Data">
<param name="input_type" type="notebook">
<page name="file" _gui-text="data from file">
<param name="desc" type="description">Enter the name of a CSV-file:</param>
<param name="filename" type="string" _gui-text="File:" >C:temp\good.csv</param>
<param name="delimiter" type="string" _gui-text="Delimiter:" >;</param>
<param name="col_key" type="int" _gui-text="Column that contains the keys:" min="0" max="10000" >0</param>
<param name="col_val" type="int" _gui-text="Column that contains the values:" min="0" max="10000" >1</param>
<param name="labels" type="boolean" _gui-text="Initial line labels:" >false</param>
</page>
<page name="direct_input" _gui-text="direct input">
<param name="desc" type="description" >Type in comma separated values:</param>
<param name="desc" type="description" >e.g. apples:3,bananas:5</param>
<param name="what" type="string" _gui-text="Data:"></param>
</page>
</param>
</page>
<page name="description_settings" _gui-text="Labels">
<param name="font" type="string" _gui-text="Font:">sans-serif</param>
<param name="font-size" type="int" _gui-text="Font Size:" min="0" max="10000" >10</param>
<param name="desc" type="description" >Font-Color:</param>
<param name="font-color" type="string" _gui-text="Font Color:">#000000</param>
</page>
<page name="chart_settings" _gui-text="Charts">
<param name="rotate" type="boolean" _gui-text="draw horizontally" >false</param>
<param name="bar-height" type="int" _gui-text="bar-length:" min="0" max="100000" >100</param>
<param name="bar-width" type="int" _gui-text="bar-width:" min="0" max="100000" >10</param>
<param name="bar-offset" type="int" _gui-text="bar-offset:" min="0" max="100000" >5</param>
<param name="stroke-width" type="int" _gui-text="stroke-width:" min="0" max="100000" >2</param>
<param name="pie-radius" type="int" _gui-text="pie-radius:" min="0" max="100000" >100</param>
<param name="pie-offset" type="int" _gui-text="pie-offset:" min="0" max="359" >0</param>
<param name="text-offset" type="int" _gui-text="offset between chart and description:" min="0" max="100000" >5</param>
<param name="colors" type="string" _gui-text="color-scheme:" >default</param>
<param name="reverse_colors" type="boolean" _gui-text="reverse color-scheme" >false</param>
<param name="blur" type="boolean" _gui-text="Draw Blur:" >false</param>
</page>
</param>
<param name="type" type="enum" _gui-text="Chart Type:">
<item value="bar">Bar Chart</item>
<item value="pie">Pie Chart</item>
<item value="stbar">Stacked Bar Chart</item>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Render"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">nicechart.py</command>
</script>
</inkscape-extension>