Commit dc87095428194f6a5073bd669cd1ea942626ce86

Authored by Renato De Donato
1 parent 53dc93c4

title desciption removed

datalets.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
  2 +
  3 +<!DOCTYPE handler_configuration SYSTEM "datalets/datalets.dtd" [
  4 + <!ENTITY googlePiechart SYSTEM "datalets/googlePiechart.xml">
  5 +]>
  6 +
2 7 <handler_configuration>
3 8 <components>
  9 +
  10 + <!--&googlePiechart;-->
  11 +
4 12 <component>
5 13 <name>datatable-datalet</name>
6 14 <attributes>
... ... @@ -53,10 +61,6 @@
53 61 </input>
54 62 <layouts>
55 63 <input>
56   - <name>title</name>
57   - <description>The label for the title of the chart</description>
58   - </input>
59   - <input>
60 64 <name>x-axis-label</name>
61 65 <description>The label for the X axis</description>
62 66 </input>
... ... @@ -100,10 +104,6 @@
100 104 </input>
101 105 <layouts>
102 106 <input>
103   - <name>title</name>
104   - <description>The label for the title of the chart</description>
105   - </input>
106   - <input>
107 107 <name>x-axis-label</name>
108 108 <description>The label for the X axis</description>
109 109 </input>
... ... @@ -147,10 +147,6 @@
147 147 </input>
148 148 <layouts>
149 149 <input>
150   - <name>title</name>
151   - <description>The label for the title of the chart</description>
152   - </input>
153   - <input>
154 150 <name>x-axis-label</name>
155 151 <description>The label for the X axis</description>
156 152 </input>
... ... @@ -194,10 +190,6 @@
194 190 </input>
195 191 <layouts>
196 192 <input>
197   - <name>title</name>
198   - <description>The label for the title of the chart</description>
199   - </input>
200   - <input>
201 193 <name>x-axis-label</name>
202 194 <description>The label for the X axis</description>
203 195 </input>
... ... @@ -241,10 +233,6 @@
241 233 </input>
242 234 <layouts>
243 235 <input>
244   - <name>title</name>
245   - <description>The label for the title of the chart</description>
246   - </input>
247   - <input>
248 236 <name>x-axis-label</name>
249 237 <description>The label for the X axis</description>
250 238 </input>
... ... @@ -302,10 +290,6 @@
302 290 </input>
303 291 <layouts>
304 292 <input>
305   - <name>title</name>
306   - <description>The label for the title of the chart</description>
307   - </input>
308   - <input>
309 293 <name>x-axis-label</name>
310 294 <description>The label for the X axis</description>
311 295 </input>
... ... @@ -345,17 +329,13 @@
345 329 <selection>11</selection>
346 330 </input>
347 331 <input>
348   - <name>Size </name>
  332 + <name>Size</name>
349 333 <description>The size for each series to create a concentric rings</description>
350 334 <scale>nominal</scale>
351 335 <role>domain</role>
352 336 <selection>11</selection>
353 337 </input>
354 338 <layouts>
355   - <input>
356   - <name>title</name>
357   - <description>The label for the title of the chart</description>
358   - </input>
359 339 </layouts>
360 340 </inputs>
361 341 </idm>
... ... @@ -387,10 +367,6 @@
387 367 <selection>11</selection>
388 368 </input>
389 369 <layouts>
390   - <input>
391   - <name>title</name>
392   - <description>The label for the title of the chart</description>
393   - </input>
394 370 </layouts>
395 371 </inputs>
396 372 </idm>
... ... @@ -415,10 +391,6 @@
415 391 <selection>*</selection>
416 392 </input>
417 393 <layouts>
418   - <input>
419   - <name>name</name>
420   - <description>The name of the treemap</description>
421   - </input>
422 394 </layouts>
423 395 </inputs>
424 396 </idm>
... ... @@ -461,25 +433,5 @@
461 433 </inputs>
462 434 </idm>
463 435 </component>
464   - <!--<component>
465   - <name>preview-datalet</name>
466   - <attributes>
467   - <attribute>
468   - <name>data-url</name>
469   - </attribute>
470   - </attributes>
471   - <idm>
472   - <inputs>
473   - <input>
474   - </input>
475   - <layouts>
476   - <input>
477   - <name>url</name>
478   - <description>The url of the page you want put in the preview</description>
479   - </input>
480   - </layouts>
481   - </inputs>
482   - </idm>
483   - </component>-->
484   - </components>
  436 + </components>
485 437 </handler_configuration>
... ...
datalets/datalets.dtd 0 → 100644
  1 +<!ELEMENT handler_configuration (components)>
  2 +<!ELEMENT components (component*)>
  3 +<!ELEMENT component (name, attributes, idm)>
  4 +<!ELEMENT attributes (attribute*)>
  5 +<!ELEMENT attribute (name)>
  6 +<!ELEMENT idm (inputs*)>
  7 +<!ELEMENT inputs (input*, layouts)>
  8 +<!ELEMENT layouts (input*)>
  9 +<!ELEMENT input (name, description?, scale?, role?, selection?, type?, validator?)>
  10 +<!ELEMENT name (#PCDATA)>
  11 +<!ELEMENT description (#PCDATA)>
  12 +<!ELEMENT scale (#PCDATA)>
  13 +<!ELEMENT role (#PCDATA)>
  14 +<!ELEMENT selection (#PCDATA)>
  15 +<!ELEMENT type (#PCDATA)>
  16 +<!ELEMENT validator (#PCDATA)>
  17 +
... ...
datalets/googlePiechart.xml 0 → 100755
  1 +<component>
  2 + <name>google_piechart-datalet</name>
  3 + <attributes>
  4 + <attribute>
  5 + <name>data-url</name>
  6 + </attribute>
  7 + <attribute>
  8 + <name>fields</name>
  9 + </attribute>
  10 + </attributes>
  11 + <idm>
  12 + <inputs>
  13 + <input>
  14 + <name>Labels</name>
  15 + <description>googlePiechartDescription</description>
  16 + <scale>nominal</scale>
  17 + <role>domain</role>
  18 + <selection>11</selection>
  19 + </input>
  20 + <input>
  21 + <name>Values</name>
  22 + <description>The sizes of slices.</description>
  23 + <scale>nominal</scale>
  24 + <role>domain</role>
  25 + <selection>11</selection>
  26 + </input>
  27 + <layouts>
  28 + <input>
  29 + <name>_title</name>
  30 + <description>The label for the title of the chart</description>
  31 + <type>String</type>
  32 + </input>
  33 + <input>
  34 + <name>pieHole</name>
  35 + <description>You can create donut charts with this option; it is the size of the hole and it has a range between 0 and 1.</description>
  36 + <type>Number</type>
  37 + <validator>[0,1]</validator>
  38 + </input>
  39 + <input>
  40 + <name>is3D</name>
  41 + <description>You can create 3D charts with this option; if "true" pieHole will be ignored.</description>
  42 + <type>Boolean</type>
  43 + </input>
  44 + </layouts>
  45 + </inputs>
  46 + </idm>
  47 +</component>
0 48 \ No newline at end of file
... ...