|
68 | 68 | "supportedTypes": {"Q": 1} |
69 | 69 | }, |
70 | 70 | "reverse": {"type": "boolean","default": false,"supportedTypes": {"Q": 1,"T": 1}}, |
| 71 | + "nice": { |
| 72 | + "type": "string", |
| 73 | + "enum": ["second","minute","hour","day","week","month","year"], |
| 74 | + "supportedTypes": {"T": 1} |
| 75 | + }, |
71 | 76 | "zero": { |
72 | 77 | "type": "boolean", |
73 | 78 | "description": "Include zero", |
74 | 79 | "default": true, |
75 | 80 | "supportedTypes": {"Q": 1,"T": 1} |
76 | 81 | }, |
77 | | - "nice": { |
78 | | - "type": "string", |
79 | | - "enum": ["second","minute","hour","day","week","month","year"], |
80 | | - "supportedTypes": {"T": 1} |
81 | | - }, |
82 | 82 | "useRawDomain": { |
83 | 83 | "type": "boolean", |
84 | 84 | "description": "Use the raw data range as scale domain instead of aggregated data for aggregate axis. This option does not work with sum or count aggregateas they might have a substantially larger scale range.By default, use value from config.useRawDomain." |
|
88 | 88 | "axis": { |
89 | 89 | "type": "object", |
90 | 90 | "properties": { |
| 91 | + "format": { |
| 92 | + "type": "string", |
| 93 | + "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
| 94 | + }, |
91 | 95 | "grid": { |
92 | 96 | "type": "boolean", |
93 | 97 | "default": true, |
|
96 | 100 | "layer": { |
97 | 101 | "type": "string", |
98 | 102 | "default": "back", |
99 | | - "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks." |
| 103 | + "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks. One of \"front\" (default) or \"back\"." |
100 | 104 | }, |
101 | 105 | "orient": { |
102 | 106 | "type": "string", |
|
113 | 117 | "type": "string", |
114 | 118 | "description": "A title for the axis. (Shows field name and its function by default.)" |
115 | 119 | }, |
116 | | - "titleMaxLength": { |
117 | | - "type": "integer", |
118 | | - "minimum": 0, |
119 | | - "description": "Max length for axis title if the title is automatically generated from the field's description" |
120 | | - }, |
121 | | - "titleOffset": {"type": "integer","description": "A title offset value for the axis."}, |
122 | | - "format": { |
123 | | - "type": "string", |
124 | | - "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
125 | | - }, |
126 | 120 | "maxLabelLength": { |
127 | 121 | "type": "integer", |
128 | 122 | "default": 25, |
|
134 | 128 | "minimum": 0, |
135 | 129 | "maximum": 360, |
136 | 130 | "description": "Angle by which to rotate labels. Set to 0 to force horizontal." |
137 | | - } |
| 131 | + }, |
| 132 | + "titleMaxLength": { |
| 133 | + "type": "integer", |
| 134 | + "minimum": 0, |
| 135 | + "description": "Max length for axis title if the title is automatically generated from the field's description" |
| 136 | + }, |
| 137 | + "titleOffset": {"type": "integer","description": "A title offset value for the axis."} |
138 | 138 | } |
139 | 139 | }, |
140 | 140 | "band": { |
|
216 | 216 | "supportedTypes": {"Q": 1} |
217 | 217 | }, |
218 | 218 | "reverse": {"type": "boolean","default": false,"supportedTypes": {"Q": 1,"T": 1}}, |
| 219 | + "nice": { |
| 220 | + "type": "string", |
| 221 | + "enum": ["second","minute","hour","day","week","month","year"], |
| 222 | + "supportedTypes": {"T": 1} |
| 223 | + }, |
219 | 224 | "zero": { |
220 | 225 | "type": "boolean", |
221 | 226 | "description": "Include zero", |
222 | 227 | "default": true, |
223 | 228 | "supportedTypes": {"Q": 1,"T": 1} |
224 | 229 | }, |
225 | | - "nice": { |
226 | | - "type": "string", |
227 | | - "enum": ["second","minute","hour","day","week","month","year"], |
228 | | - "supportedTypes": {"T": 1} |
229 | | - }, |
230 | 230 | "useRawDomain": { |
231 | 231 | "type": "boolean", |
232 | 232 | "description": "Use the raw data range as scale domain instead of aggregated data for aggregate axis. This option does not work with sum or count aggregateas they might have a substantially larger scale range.By default, use value from config.useRawDomain." |
|
236 | 236 | "axis": { |
237 | 237 | "type": "object", |
238 | 238 | "properties": { |
| 239 | + "format": { |
| 240 | + "type": "string", |
| 241 | + "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
| 242 | + }, |
239 | 243 | "grid": { |
240 | 244 | "type": "boolean", |
241 | 245 | "default": true, |
|
244 | 248 | "layer": { |
245 | 249 | "type": "string", |
246 | 250 | "default": "back", |
247 | | - "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks." |
| 251 | + "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks. One of \"front\" (default) or \"back\"." |
248 | 252 | }, |
249 | 253 | "orient": { |
250 | 254 | "type": "string", |
|
261 | 265 | "type": "string", |
262 | 266 | "description": "A title for the axis. (Shows field name and its function by default.)" |
263 | 267 | }, |
264 | | - "titleMaxLength": { |
265 | | - "type": "integer", |
266 | | - "minimum": 0, |
267 | | - "description": "Max length for axis title if the title is automatically generated from the field's description" |
268 | | - }, |
269 | | - "titleOffset": {"type": "integer","description": "A title offset value for the axis."}, |
270 | | - "format": { |
271 | | - "type": "string", |
272 | | - "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
273 | | - }, |
274 | 268 | "maxLabelLength": { |
275 | 269 | "type": "integer", |
276 | 270 | "default": 25, |
|
282 | 276 | "minimum": 0, |
283 | 277 | "maximum": 360, |
284 | 278 | "description": "Angle by which to rotate labels. Set to 0 to force horizontal." |
285 | | - } |
| 279 | + }, |
| 280 | + "titleMaxLength": { |
| 281 | + "type": "integer", |
| 282 | + "minimum": 0, |
| 283 | + "description": "Max length for axis title if the title is automatically generated from the field's description" |
| 284 | + }, |
| 285 | + "titleOffset": {"type": "integer","description": "A title offset value for the axis."} |
286 | 286 | } |
287 | 287 | }, |
288 | 288 | "band": { |
|
361 | 361 | "axis": { |
362 | 362 | "type": "object", |
363 | 363 | "properties": { |
| 364 | + "format": { |
| 365 | + "type": "string", |
| 366 | + "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
| 367 | + }, |
364 | 368 | "grid": { |
365 | 369 | "type": "boolean", |
366 | 370 | "default": true, |
|
369 | 373 | "layer": { |
370 | 374 | "type": "string", |
371 | 375 | "default": "back", |
372 | | - "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks." |
| 376 | + "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks. One of \"front\" (default) or \"back\"." |
373 | 377 | }, |
374 | 378 | "orient": { |
375 | 379 | "type": "string", |
|
386 | 390 | "type": "string", |
387 | 391 | "description": "A title for the axis. (Shows field name and its function by default.)" |
388 | 392 | }, |
389 | | - "titleMaxLength": { |
390 | | - "type": "integer", |
391 | | - "minimum": 0, |
392 | | - "description": "Max length for axis title if the title is automatically generated from the field's description" |
393 | | - }, |
394 | | - "titleOffset": {"type": "integer","description": "A title offset value for the axis."}, |
395 | | - "format": { |
396 | | - "type": "string", |
397 | | - "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
398 | | - }, |
399 | 393 | "maxLabelLength": { |
400 | 394 | "type": "integer", |
401 | 395 | "default": 25, |
|
407 | 401 | "minimum": 0, |
408 | 402 | "maximum": 360, |
409 | 403 | "description": "Angle by which to rotate labels. Set to 0 to force horizontal." |
410 | | - } |
| 404 | + }, |
| 405 | + "titleMaxLength": { |
| 406 | + "type": "integer", |
| 407 | + "minimum": 0, |
| 408 | + "description": "Max length for axis title if the title is automatically generated from the field's description" |
| 409 | + }, |
| 410 | + "titleOffset": {"type": "integer","description": "A title offset value for the axis."} |
411 | 411 | } |
412 | 412 | }, |
413 | 413 | "height": {"type": "number","minimum": 0,"default": 150} |
|
467 | 467 | "axis": { |
468 | 468 | "type": "object", |
469 | 469 | "properties": { |
| 470 | + "format": { |
| 471 | + "type": "string", |
| 472 | + "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
| 473 | + }, |
470 | 474 | "grid": { |
471 | 475 | "type": "boolean", |
472 | 476 | "default": true, |
|
475 | 479 | "layer": { |
476 | 480 | "type": "string", |
477 | 481 | "default": "back", |
478 | | - "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks." |
| 482 | + "description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks. One of \"front\" (default) or \"back\"." |
479 | 483 | }, |
480 | 484 | "orient": { |
481 | 485 | "type": "string", |
|
492 | 496 | "type": "string", |
493 | 497 | "description": "A title for the axis. (Shows field name and its function by default.)" |
494 | 498 | }, |
495 | | - "titleMaxLength": { |
496 | | - "type": "integer", |
497 | | - "minimum": 0, |
498 | | - "description": "Max length for axis title if the title is automatically generated from the field's description" |
499 | | - }, |
500 | | - "titleOffset": {"type": "integer","description": "A title offset value for the axis."}, |
501 | | - "format": { |
502 | | - "type": "string", |
503 | | - "description": "The formatting pattern for axis labels. If not undefined, this will be determined by small/largeNumberFormat and the max value of the field." |
504 | | - }, |
505 | 499 | "maxLabelLength": { |
506 | 500 | "type": "integer", |
507 | 501 | "default": 12, |
|
513 | 507 | "minimum": 0, |
514 | 508 | "maximum": 360, |
515 | 509 | "description": "Angle by which to rotate labels. Set to 0 to force horizontal." |
516 | | - } |
| 510 | + }, |
| 511 | + "titleMaxLength": { |
| 512 | + "type": "integer", |
| 513 | + "minimum": 0, |
| 514 | + "description": "Max length for axis title if the title is automatically generated from the field's description" |
| 515 | + }, |
| 516 | + "titleOffset": {"type": "integer","description": "A title offset value for the axis."} |
517 | 517 | } |
518 | 518 | }, |
519 | 519 | "width": {"type": "number","minimum": 0,"default": 150} |
|
576 | 576 | "supportedTypes": {"Q": 1} |
577 | 577 | }, |
578 | 578 | "reverse": {"type": "boolean","default": false,"supportedTypes": {"Q": 1,"T": 1}}, |
| 579 | + "nice": { |
| 580 | + "type": "string", |
| 581 | + "enum": ["second","minute","hour","day","week","month","year"], |
| 582 | + "supportedTypes": {"T": 1} |
| 583 | + }, |
579 | 584 | "zero": { |
580 | 585 | "type": "boolean", |
581 | 586 | "description": "Include zero", |
582 | 587 | "default": true, |
583 | 588 | "supportedTypes": {"Q": 1,"T": 1} |
584 | 589 | }, |
585 | | - "nice": { |
586 | | - "type": "string", |
587 | | - "enum": ["second","minute","hour","day","week","month","year"], |
588 | | - "supportedTypes": {"T": 1} |
589 | | - }, |
590 | 590 | "useRawDomain": { |
591 | 591 | "type": "boolean", |
592 | 592 | "description": "Use the raw data range as scale domain instead of aggregated data for aggregate axis. This option does not work with sum or count aggregateas they might have a substantially larger scale range.By default, use value from config.useRawDomain." |
|
672 | 672 | "supportedTypes": {"Q": 1} |
673 | 673 | }, |
674 | 674 | "reverse": {"type": "boolean","default": false,"supportedTypes": {"Q": 1,"T": 1}}, |
| 675 | + "nice": { |
| 676 | + "type": "string", |
| 677 | + "enum": ["second","minute","hour","day","week","month","year"], |
| 678 | + "supportedTypes": {"T": 1} |
| 679 | + }, |
675 | 680 | "zero": { |
676 | 681 | "type": "boolean", |
677 | 682 | "description": "Include zero", |
678 | 683 | "default": true, |
679 | 684 | "supportedTypes": {"Q": 1,"T": 1} |
680 | 685 | }, |
681 | | - "nice": { |
682 | | - "type": "string", |
683 | | - "enum": ["second","minute","hour","day","week","month","year"], |
684 | | - "supportedTypes": {"T": 1} |
685 | | - }, |
686 | 686 | "useRawDomain": { |
687 | 687 | "type": "boolean", |
688 | 688 | "description": "Use the raw data range as scale domain instead of aggregated data for aggregate axis. This option does not work with sum or count aggregateas they might have a substantially larger scale range.By default, use value from config.useRawDomain." |
|
904 | 904 | "supportedTypes": {"Q": 1} |
905 | 905 | }, |
906 | 906 | "reverse": {"type": "boolean","default": false,"supportedTypes": {"Q": 1,"T": 1}}, |
| 907 | + "nice": { |
| 908 | + "type": "string", |
| 909 | + "enum": ["second","minute","hour","day","week","month","year"], |
| 910 | + "supportedTypes": {"T": 1} |
| 911 | + }, |
907 | 912 | "zero": { |
908 | 913 | "type": "boolean", |
909 | 914 | "description": "Include zero", |
910 | 915 | "default": true, |
911 | 916 | "supportedTypes": {"Q": 1,"T": 1} |
912 | 917 | }, |
913 | | - "nice": { |
914 | | - "type": "string", |
915 | | - "enum": ["second","minute","hour","day","week","month","year"], |
916 | | - "supportedTypes": {"T": 1} |
917 | | - }, |
918 | 918 | "useRawDomain": { |
919 | 919 | "type": "boolean", |
920 | 920 | "description": "Use the raw data range as scale domain instead of aggregated data for aggregate axis. This option does not work with sum or count aggregateas they might have a substantially larger scale range.By default, use value from config.useRawDomain." |
|
1022 | 1022 | "filterNull": { |
1023 | 1023 | "type": "object", |
1024 | 1024 | "properties": { |
| 1025 | + "N": {"type": "boolean","default": false}, |
1025 | 1026 | "O": {"type": "boolean","default": false}, |
1026 | 1027 | "Q": {"type": "boolean","default": true}, |
1027 | 1028 | "T": {"type": "boolean","default": true} |
|
0 commit comments