Pastebin launched a little side project called, check it out ;-)Don't like ads? PRO users don't see any ads ;-)


By: a guest on Oct 2nd, 2012  |  syntax: XML  |  size: 4.28 KB  |  hits: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <inkscape-extension xmlns="">
  4. <!--
  5.   nicechart.inx
  7.   Copyright 2011
  9.   Christoph Sterz
  10.   Florian Weber
  12.   This program is free software; you can redistribute it and/or modify
  13.   it under the terms of the GNU General Public License as published by
  14.   the Free Software Foundation; either version 3 of the License, or
  15.   (at your option) any later version.
  17.   This program is distributed in the hope that it will be useful,
  18.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  20.   GNU General Public License for more details.
  22.   You should have received a copy of the GNU General Public License
  23.   along with this program; if not, write to the Free Software
  24.   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  25.   MA 02110-1301, USA.
  28. -->
  29.         <_name>NiceCharts</_name>
  30.         <id>org.ekips.filter.hello_world</id>
  31.         <dependency type="executable" location="extensions"></dependency>
  32.         <dependency type="executable" location="extensions"></dependency>
  33.         <param name="input_sections" type="notebook">
  34.                 <page name="data_settings" _gui-text="Data">
  35.                         <param name="input_type" type="notebook">
  36.                                 <page name="file" _gui-text="data from file">
  37.                                         <param name="desc" type="description">Enter the name of a CSV-file:</param>
  38.                                         <param name="filename"  type="string"  _gui-text="File:" >C:temp\good.csv</param>
  39.                                         <param name="delimiter" type="string"  _gui-text="Delimiter:" >;</param>
  40.                                         <param name="col_key"   type="int"     _gui-text="Column that contains the keys:" min="0" max="10000" >0</param>
  41.                                         <param name="col_val"   type="int"     _gui-text="Column that contains the values:" min="0" max="10000" >1</param>
  42.                                         <param name="labels"      type="boolean" _gui-text="Initial line labels:" >false</param>
  43.                                 </page>
  44.                                 <page name="direct_input" _gui-text="direct input">
  45.                                         <param name="desc" type="description" >Type in comma separated values:</param>
  46.                                         <param name="desc" type="description" >e.g. apples:3,bananas:5</param>
  47.                                         <param name="what" type="string"      _gui-text="Data:"></param>
  48.                                 </page>
  49.                         </param>
  50.                 </page>
  51.                 <page name="description_settings" _gui-text="Labels">
  52.                         <param name="font"       type="string"      _gui-text="Font:">sans-serif</param>
  53.                         <param name="font-size"  type="int"         _gui-text="Font Size:" min="0" max="10000" >10</param>
  54.                         <param name="desc"       type="description" >Font-Color:</param>
  55.                         <param name="font-color" type="string"      _gui-text="Font Color:">#000000</param>
  56.                 </page>
  57.                 <page name="chart_settings" _gui-text="Charts">
  58.                         <param name="rotate"         type="boolean" _gui-text="draw horizontally" >false</param>
  59.                         <param name="bar-height"     type="int"     _gui-text="bar-length:"    min="0" max="100000" >100</param>
  60.                         <param name="bar-width"      type="int"     _gui-text="bar-width:"     min="0" max="100000" >10</param>
  61.                         <param name="bar-offset"     type="int"     _gui-text="bar-offset:"    min="0" max="100000" >5</param>
  62.                         <param name="stroke-width"   type="int"     _gui-text="stroke-width:"  min="0" max="100000" >2</param>
  63.                         <param name="pie-radius"     type="int"     _gui-text="pie-radius:"    min="0" max="100000" >100</param>
  64.                         <param name="pie-offset"     type="int"     _gui-text="pie-offset:"    min="0" max="359" >0</param>
  65.                         <param name="text-offset"    type="int"     _gui-text="offset between chart and description:" min="0" max="100000" >5</param>
  66.                         <param name="colors"         type="string"  _gui-text="color-scheme:" >default</param>
  67.                         <param name="reverse_colors" type="boolean" _gui-text="reverse color-scheme" >false</param>
  68.                         <param name="blur"           type="boolean" _gui-text="Draw Blur:" >false</param>
  69.                 </page>
  70.         </param>
  71.         <param name="type" type="enum" _gui-text="Chart Type:">
  72.                 <item value="bar">Bar Chart</item>
  73.                 <item value="pie">Pie Chart</item>
  74.                 <item value="stbar">Stacked Bar Chart</item>
  75.         </param>
  76.         <effect>
  77.                 <object-type>all</object-type>
  78.                 <effects-menu>
  79.                          <submenu _name="Render"/>
  80.                 </effects-menu>
  81.         </effect>
  82.         <script>
  83.                 <command reldir="extensions" interpreter="python"></command>
  84.         </script>
  85. </inkscape-extension>