Commit dc87095428194f6a5073bd669cd1ea942626ce86
1 parent
53dc93c4
title desciption removed
Showing
3 changed files
with
74 additions
and
58 deletions
datalets.xml
| 1 | <?xml version="1.0" encoding="utf-8"?> | 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 | <handler_configuration> | 7 | <handler_configuration> |
| 3 | <components> | 8 | <components> |
| 9 | + | ||
| 10 | + <!--&googlePiechart;--> | ||
| 11 | + | ||
| 4 | <component> | 12 | <component> |
| 5 | <name>datatable-datalet</name> | 13 | <name>datatable-datalet</name> |
| 6 | <attributes> | 14 | <attributes> |
| @@ -53,10 +61,6 @@ | @@ -53,10 +61,6 @@ | ||
| 53 | </input> | 61 | </input> |
| 54 | <layouts> | 62 | <layouts> |
| 55 | <input> | 63 | <input> |
| 56 | - <name>title</name> | ||
| 57 | - <description>The label for the title of the chart</description> | ||
| 58 | - </input> | ||
| 59 | - <input> | ||
| 60 | <name>x-axis-label</name> | 64 | <name>x-axis-label</name> |
| 61 | <description>The label for the X axis</description> | 65 | <description>The label for the X axis</description> |
| 62 | </input> | 66 | </input> |
| @@ -100,10 +104,6 @@ | @@ -100,10 +104,6 @@ | ||
| 100 | </input> | 104 | </input> |
| 101 | <layouts> | 105 | <layouts> |
| 102 | <input> | 106 | <input> |
| 103 | - <name>title</name> | ||
| 104 | - <description>The label for the title of the chart</description> | ||
| 105 | - </input> | ||
| 106 | - <input> | ||
| 107 | <name>x-axis-label</name> | 107 | <name>x-axis-label</name> |
| 108 | <description>The label for the X axis</description> | 108 | <description>The label for the X axis</description> |
| 109 | </input> | 109 | </input> |
| @@ -147,10 +147,6 @@ | @@ -147,10 +147,6 @@ | ||
| 147 | </input> | 147 | </input> |
| 148 | <layouts> | 148 | <layouts> |
| 149 | <input> | 149 | <input> |
| 150 | - <name>title</name> | ||
| 151 | - <description>The label for the title of the chart</description> | ||
| 152 | - </input> | ||
| 153 | - <input> | ||
| 154 | <name>x-axis-label</name> | 150 | <name>x-axis-label</name> |
| 155 | <description>The label for the X axis</description> | 151 | <description>The label for the X axis</description> |
| 156 | </input> | 152 | </input> |
| @@ -194,10 +190,6 @@ | @@ -194,10 +190,6 @@ | ||
| 194 | </input> | 190 | </input> |
| 195 | <layouts> | 191 | <layouts> |
| 196 | <input> | 192 | <input> |
| 197 | - <name>title</name> | ||
| 198 | - <description>The label for the title of the chart</description> | ||
| 199 | - </input> | ||
| 200 | - <input> | ||
| 201 | <name>x-axis-label</name> | 193 | <name>x-axis-label</name> |
| 202 | <description>The label for the X axis</description> | 194 | <description>The label for the X axis</description> |
| 203 | </input> | 195 | </input> |
| @@ -241,10 +233,6 @@ | @@ -241,10 +233,6 @@ | ||
| 241 | </input> | 233 | </input> |
| 242 | <layouts> | 234 | <layouts> |
| 243 | <input> | 235 | <input> |
| 244 | - <name>title</name> | ||
| 245 | - <description>The label for the title of the chart</description> | ||
| 246 | - </input> | ||
| 247 | - <input> | ||
| 248 | <name>x-axis-label</name> | 236 | <name>x-axis-label</name> |
| 249 | <description>The label for the X axis</description> | 237 | <description>The label for the X axis</description> |
| 250 | </input> | 238 | </input> |
| @@ -302,10 +290,6 @@ | @@ -302,10 +290,6 @@ | ||
| 302 | </input> | 290 | </input> |
| 303 | <layouts> | 291 | <layouts> |
| 304 | <input> | 292 | <input> |
| 305 | - <name>title</name> | ||
| 306 | - <description>The label for the title of the chart</description> | ||
| 307 | - </input> | ||
| 308 | - <input> | ||
| 309 | <name>x-axis-label</name> | 293 | <name>x-axis-label</name> |
| 310 | <description>The label for the X axis</description> | 294 | <description>The label for the X axis</description> |
| 311 | </input> | 295 | </input> |
| @@ -345,17 +329,13 @@ | @@ -345,17 +329,13 @@ | ||
| 345 | <selection>11</selection> | 329 | <selection>11</selection> |
| 346 | </input> | 330 | </input> |
| 347 | <input> | 331 | <input> |
| 348 | - <name>Size </name> | 332 | + <name>Size</name> |
| 349 | <description>The size for each series to create a concentric rings</description> | 333 | <description>The size for each series to create a concentric rings</description> |
| 350 | <scale>nominal</scale> | 334 | <scale>nominal</scale> |
| 351 | <role>domain</role> | 335 | <role>domain</role> |
| 352 | <selection>11</selection> | 336 | <selection>11</selection> |
| 353 | </input> | 337 | </input> |
| 354 | <layouts> | 338 | <layouts> |
| 355 | - <input> | ||
| 356 | - <name>title</name> | ||
| 357 | - <description>The label for the title of the chart</description> | ||
| 358 | - </input> | ||
| 359 | </layouts> | 339 | </layouts> |
| 360 | </inputs> | 340 | </inputs> |
| 361 | </idm> | 341 | </idm> |
| @@ -387,10 +367,6 @@ | @@ -387,10 +367,6 @@ | ||
| 387 | <selection>11</selection> | 367 | <selection>11</selection> |
| 388 | </input> | 368 | </input> |
| 389 | <layouts> | 369 | <layouts> |
| 390 | - <input> | ||
| 391 | - <name>title</name> | ||
| 392 | - <description>The label for the title of the chart</description> | ||
| 393 | - </input> | ||
| 394 | </layouts> | 370 | </layouts> |
| 395 | </inputs> | 371 | </inputs> |
| 396 | </idm> | 372 | </idm> |
| @@ -415,10 +391,6 @@ | @@ -415,10 +391,6 @@ | ||
| 415 | <selection>*</selection> | 391 | <selection>*</selection> |
| 416 | </input> | 392 | </input> |
| 417 | <layouts> | 393 | <layouts> |
| 418 | - <input> | ||
| 419 | - <name>name</name> | ||
| 420 | - <description>The name of the treemap</description> | ||
| 421 | - </input> | ||
| 422 | </layouts> | 394 | </layouts> |
| 423 | </inputs> | 395 | </inputs> |
| 424 | </idm> | 396 | </idm> |
| @@ -461,25 +433,5 @@ | @@ -461,25 +433,5 @@ | ||
| 461 | </inputs> | 433 | </inputs> |
| 462 | </idm> | 434 | </idm> |
| 463 | </component> | 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 | </handler_configuration> | 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 | \ No newline at end of file | 48 | \ No newline at end of file |