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,7 +11,7 @@
11 <name>data-url</name> 11 <name>data-url</name>
12 </attribute> 12 </attribute>
13 <attribute> 13 <attribute>
14 - <name>query</name> 14 + <name>fields</name>
15 </attribute> 15 </attribute>
16 </attributes> 16 </attributes>
17 <idm> 17 <idm>
@@ -25,7 +25,6 @@ @@ -25,7 +25,6 @@
25 </input> 25 </input>
26 <layouts> 26 <layouts>
27 <input> 27 <input>
28 - <name>x-axis-label</name>  
29 </input> 28 </input>
30 </layouts> 29 </layouts>
31 </inputs> 30 </inputs>
@@ -38,7 +37,7 @@ @@ -38,7 +37,7 @@
38 <name>data-url</name> 37 <name>data-url</name>
39 </attribute> 38 </attribute>
40 <attribute> 39 <attribute>
41 - <name>query</name> 40 + <name>fields</name>
42 </attribute> 41 </attribute>
43 </attributes> 42 </attributes>
44 <idm> 43 <idm>
@@ -59,7 +58,20 @@ @@ -59,7 +58,20 @@
59 </input> 58 </input>
60 <layouts> 59 <layouts>
61 <input> 60 <input>
  61 + <name>title</name>
  62 + <description>The label for the title of the chart</description>
  63 + </input>
  64 + <input>
62 <name>x-axis-label</name> 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 </input> 75 </input>
64 </layouts> 76 </layouts>
65 </inputs> 77 </inputs>
@@ -72,7 +84,7 @@ @@ -72,7 +84,7 @@
72 <name>data-url</name> 84 <name>data-url</name>
73 </attribute> 85 </attribute>
74 <attribute> 86 <attribute>
75 - <name>query</name> 87 + <name>fields</name>
76 </attribute> 88 </attribute>
77 </attributes> 89 </attributes>
78 <idm> 90 <idm>
@@ -93,7 +105,20 @@ @@ -93,7 +105,20 @@
93 </input> 105 </input>
94 <layouts> 106 <layouts>
95 <input> 107 <input>
  108 + <name>title</name>
  109 + <description>The label for the title of the chart</description>
  110 + </input>
  111 + <input>
96 <name>x-axis-label</name> 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 </input> 122 </input>
98 </layouts> 123 </layouts>
99 </inputs> 124 </inputs>
@@ -106,7 +131,7 @@ @@ -106,7 +131,7 @@
106 <name>data-url</name> 131 <name>data-url</name>
107 </attribute> 132 </attribute>
108 <attribute> 133 <attribute>
109 - <name>query</name> 134 + <name>fields</name>
110 </attribute> 135 </attribute>
111 </attributes> 136 </attributes>
112 <idm> 137 <idm>
@@ -127,7 +152,67 @@ @@ -127,7 +152,67 @@
127 </input> 152 </input>
128 <layouts> 153 <layouts>
129 <input> 154 <input>
  155 + <name>title</name>
  156 + <description>The label for the title of the chart</description>
  157 + </input>
  158 + <input>
130 <name>x-axis-label</name> 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 </input> 216 </input>
132 </layouts> 217 </layouts>
133 </inputs> 218 </inputs>
@@ -140,7 +225,7 @@ @@ -140,7 +225,7 @@
140 <name>data-url</name> 225 <name>data-url</name>
141 </attribute> 226 </attribute>
142 <attribute> 227 <attribute>
143 - <name>query</name> 228 + <name>fields</name>
144 </attribute> 229 </attribute>
145 </attributes> 230 </attributes>
146 <idm> 231 <idm>
@@ -154,7 +239,8 @@ @@ -154,7 +239,8 @@
154 </input> 239 </input>
155 <layouts> 240 <layouts>
156 <input> 241 <input>
157 - <name>x-axis-label</name> 242 + <name>name</name>
  243 + <description>The name of the treemap</description>
158 </input> 244 </input>
159 </layouts> 245 </layouts>
160 </inputs> 246 </inputs>
@@ -167,7 +253,7 @@ @@ -167,7 +253,7 @@
167 <name>data-url</name> 253 <name>data-url</name>
168 </attribute> 254 </attribute>
169 <attribute> 255 <attribute>
170 - <name>query</name> 256 + <name>fields</name>
171 </attribute> 257 </attribute>
172 </attributes> 258 </attributes>
173 <idm> 259 <idm>
@@ -194,42 +280,25 @@ @@ -194,42 +280,25 @@
194 <selection>11</selection> 280 <selection>11</selection>
195 </input> 281 </input>
196 <layouts> 282 <layouts>
197 - <input>  
198 - <name>x-axis-label</name>  
199 - </input>  
200 </layouts> 283 </layouts>
201 </inputs> 284 </inputs>
202 </idm> 285 </idm>
203 </component> 286 </component>
204 <component> 287 <component>
205 - <name>column3Dchart-datalet</name> 288 + <name>preview-datalet</name>
206 <attributes> 289 <attributes>
207 <attribute> 290 <attribute>
208 <name>data-url</name> 291 <name>data-url</name>
209 </attribute> 292 </attribute>
210 - <attribute>  
211 - <name>query</name>  
212 - </attribute>  
213 </attributes> 293 </attributes>
214 <idm> 294 <idm>
215 <inputs> 295 <inputs>
216 <input> 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 </input> 297 </input>
230 <layouts> 298 <layouts>
231 <input> 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 </input> 302 </input>
234 </layouts> 303 </layouts>
235 </inputs> 304 </inputs>