Commit bc838daafce0ee258ad7c46bfb9294f3d80a5417

Authored by Luigi Serra
1 parent bccd4361

datalet.xml update with layout imputs

Showing 1 changed file with 97 additions and 28 deletions
datalets.xml
... ... @@ -11,7 +11,7 @@
11 11 <name>data-url</name>
12 12 </attribute>
13 13 <attribute>
14   - <name>query</name>
  14 + <name>fields</name>
15 15 </attribute>
16 16 </attributes>
17 17 <idm>
... ... @@ -25,7 +25,6 @@
25 25 </input>
26 26 <layouts>
27 27 <input>
28   - <name>x-axis-label</name>
29 28 </input>
30 29 </layouts>
31 30 </inputs>
... ... @@ -38,7 +37,7 @@
38 37 <name>data-url</name>
39 38 </attribute>
40 39 <attribute>
41   - <name>query</name>
  40 + <name>fields</name>
42 41 </attribute>
43 42 </attributes>
44 43 <idm>
... ... @@ -59,7 +58,20 @@
59 58 </input>
60 59 <layouts>
61 60 <input>
  61 + <name>title</name>
  62 + <description>The label for the title of the chart</description>
  63 + </input>
  64 + <input>
62 65 <name>x-axis-label</name>
  66 + <description>The label for the X axis</description>
  67 + </input>
  68 + <input>
  69 + <name>y-axis-label</name>
  70 + <description>The label for the Y axis</description>
  71 + </input>
  72 + <input>
  73 + <name>suffix</name>
  74 + <description>The values suffix(eg units, dollars, euro, ...)</description>
63 75 </input>
64 76 </layouts>
65 77 </inputs>
... ... @@ -72,7 +84,7 @@
72 84 <name>data-url</name>
73 85 </attribute>
74 86 <attribute>
75   - <name>query</name>
  87 + <name>fields</name>
76 88 </attribute>
77 89 </attributes>
78 90 <idm>
... ... @@ -93,7 +105,20 @@
93 105 </input>
94 106 <layouts>
95 107 <input>
  108 + <name>title</name>
  109 + <description>The label for the title of the chart</description>
  110 + </input>
  111 + <input>
96 112 <name>x-axis-label</name>
  113 + <description>The label for the X axis</description>
  114 + </input>
  115 + <input>
  116 + <name>y-axis-label</name>
  117 + <description>The label for the Y axis</description>
  118 + </input>
  119 + <input>
  120 + <name>suffix</name>
  121 + <description>The values suffix(eg units, dollars, euro, ...)</description>
97 122 </input>
98 123 </layouts>
99 124 </inputs>
... ... @@ -106,7 +131,7 @@
106 131 <name>data-url</name>
107 132 </attribute>
108 133 <attribute>
109   - <name>query</name>
  134 + <name>fields</name>
110 135 </attribute>
111 136 </attributes>
112 137 <idm>
... ... @@ -127,7 +152,67 @@
127 152 </input>
128 153 <layouts>
129 154 <input>
  155 + <name>title</name>
  156 + <description>The label for the title of the chart</description>
  157 + </input>
  158 + <input>
130 159 <name>x-axis-label</name>
  160 + <description>The label for the X axis</description>
  161 + </input>
  162 + <input>
  163 + <name>y-axis-label</name>
  164 + <description>The label for the Y axis</description>
  165 + </input>
  166 + <input>
  167 + <name>suffix</name>
  168 + <description>The values suffix(eg units, dollars, euro, ...)</description>
  169 + </input>
  170 + </layouts>
  171 + </inputs>
  172 + </idm>
  173 + </component>
  174 + <component>
  175 + <name>column3Dchart-datalet</name>
  176 + <attributes>
  177 + <attribute>
  178 + <name>data-url</name>
  179 + </attribute>
  180 + <attribute>
  181 + <name>fields</name>
  182 + </attribute>
  183 + </attributes>
  184 + <idm>
  185 + <inputs>
  186 + <input>
  187 + <name>Categories</name>
  188 + <description>The chart categories. Its values will be put in the horizontal axis. You need one value for each series.</description>
  189 + <scale>nominal</scale>
  190 + <role>domain</role>
  191 + <selection>11</selection>
  192 + </input>
  193 + <input>
  194 + <name>Series</name>
  195 + <description>The chart series. Its values will be put in the vertical axis.</description>
  196 + <scale>nominal</scale>
  197 + <role>domain</role>
  198 + <selection>11</selection>
  199 + </input>
  200 + <layouts>
  201 + <input>
  202 + <name>title</name>
  203 + <description>The label for the title of the chart</description>
  204 + </input>
  205 + <input>
  206 + <name>x-axis-label</name>
  207 + <description>The label for the X axis</description>
  208 + </input>
  209 + <input>
  210 + <name>y-axis-label</name>
  211 + <description>The label for the Y axis</description>
  212 + </input>
  213 + <input>
  214 + <name>suffix</name>
  215 + <description>The values suffix(eg units, dollars, euro, ...)</description>
131 216 </input>
132 217 </layouts>
133 218 </inputs>
... ... @@ -140,7 +225,7 @@
140 225 <name>data-url</name>
141 226 </attribute>
142 227 <attribute>
143   - <name>query</name>
  228 + <name>fields</name>
144 229 </attribute>
145 230 </attributes>
146 231 <idm>
... ... @@ -154,7 +239,8 @@
154 239 </input>
155 240 <layouts>
156 241 <input>
157   - <name>x-axis-label</name>
  242 + <name>name</name>
  243 + <description>The name of the treemap</description>
158 244 </input>
159 245 </layouts>
160 246 </inputs>
... ... @@ -167,7 +253,7 @@
167 253 <name>data-url</name>
168 254 </attribute>
169 255 <attribute>
170   - <name>query</name>
  256 + <name>fields</name>
171 257 </attribute>
172 258 </attributes>
173 259 <idm>
... ... @@ -194,42 +280,25 @@
194 280 <selection>11</selection>
195 281 </input>
196 282 <layouts>
197   - <input>
198   - <name>x-axis-label</name>
199   - </input>
200 283 </layouts>
201 284 </inputs>
202 285 </idm>
203 286 </component>
204 287 <component>
205   - <name>column3Dchart-datalet</name>
  288 + <name>preview-datalet</name>
206 289 <attributes>
207 290 <attribute>
208 291 <name>data-url</name>
209 292 </attribute>
210   - <attribute>
211   - <name>query</name>
212   - </attribute>
213 293 </attributes>
214 294 <idm>
215 295 <inputs>
216 296 <input>
217   - <name>Categories</name>
218   - <description>The chart categories. Its values will be put in the horizontal axis. You need one value for each series.</description>
219   - <scale>nominal</scale>
220   - <role>domain</role>
221   - <selection>11</selection>
222   - </input>
223   - <input>
224   - <name>Series</name>
225   - <description>The chart series. Its values will be put in the vertical axis.</description>
226   - <scale>nominal</scale>
227   - <role>domain</role>
228   - <selection>11</selection>
229 297 </input>
230 298 <layouts>
231 299 <input>
232   - <name>x-axis-label</name>
  300 + <name>url</name>
  301 + <description>The url of the page you want put in the preview</description>
233 302 </input>
234 303 </layouts>
235 304 </inputs>
... ...