backendSync.json 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972
  1. {
  2. "controls": {
  3. "datasource": {
  4. "type": "DatasourceControl",
  5. "label": "Datasource",
  6. "default": null,
  7. "description": null
  8. },
  9. "viz_type": {
  10. "type": "VizTypeControl",
  11. "label": "Visualization Type",
  12. "default": "table",
  13. "description": "The type of visualization to display"
  14. },
  15. "metrics": {
  16. "type": "SelectControl",
  17. "multi": true,
  18. "label": "Metrics",
  19. "validators": [
  20. null
  21. ],
  22. "valueKey": "metric_name",
  23. "description": "One or many metrics to display"
  24. },
  25. "percent_metrics": {
  26. "type": "SelectControl",
  27. "multi": true,
  28. "label": "Percentage Metrics",
  29. "valueKey": "metric_name",
  30. "description": "Metrics for which percentage of total are to be displayed"
  31. },
  32. "y_axis_bounds": {
  33. "type": "BoundsControl",
  34. "label": "Y Axis Bounds",
  35. "renderTrigger": true,
  36. "default": [
  37. null,
  38. null
  39. ],
  40. "description": "Bounds for the Y axis. When left empty, the bounds are dynamically defined based on the min/max of the data. Note that this feature will only expand the axis range. It won't narrow the data's extent."
  41. },
  42. "order_by_cols": {
  43. "type": "SelectControl",
  44. "multi": true,
  45. "label": "Ordering",
  46. "default": [],
  47. "description": "One or many metrics to display"
  48. },
  49. "color_picker": {
  50. "label": "Fixed Color",
  51. "description": "Use this to define a static color for all circles",
  52. "type": "ColorPickerControl",
  53. "default": {
  54. "r": 0,
  55. "g": 122,
  56. "b": 135,
  57. "a": 1
  58. },
  59. "renderTrigger": true
  60. },
  61. "metric": {
  62. "type": "SelectControl",
  63. "label": "Metric",
  64. "clearable": false,
  65. "description": "Choose the metric",
  66. "validators": [
  67. null
  68. ],
  69. "valueKey": "metric_name"
  70. },
  71. "metric_2": {
  72. "type": "SelectControl",
  73. "label": "Right Axis Metric",
  74. "default": null,
  75. "validators": [
  76. null
  77. ],
  78. "clearable": true,
  79. "description": "Choose a metric for right axis",
  80. "valueKey": "metric_name"
  81. },
  82. "stacked_style": {
  83. "type": "SelectControl",
  84. "label": "Stacked Style",
  85. "choices": [
  86. [
  87. "stack",
  88. "stack"
  89. ],
  90. [
  91. "stream",
  92. "stream"
  93. ],
  94. [
  95. "expand",
  96. "expand"
  97. ]
  98. ],
  99. "default": "stack",
  100. "description": ""
  101. },
  102. "sort_x_axis": {
  103. "type": "SelectControl",
  104. "label": "Sort X Axis",
  105. "choices": [
  106. [
  107. "alpha_asc",
  108. "Axis ascending"
  109. ],
  110. [
  111. "alpha_desc",
  112. "Axis descending"
  113. ],
  114. [
  115. "value_asc",
  116. "sum(value) ascending"
  117. ],
  118. [
  119. "value_desc",
  120. "sum(value) descending"
  121. ]
  122. ],
  123. "clearable": false,
  124. "default": "alpha_asc"
  125. },
  126. "sort_y_axis": {
  127. "type": "SelectControl",
  128. "label": "Sort Y Axis",
  129. "choices": [
  130. [
  131. "alpha_asc",
  132. "Axis ascending"
  133. ],
  134. [
  135. "alpha_desc",
  136. "Axis descending"
  137. ],
  138. [
  139. "value_asc",
  140. "sum(value) ascending"
  141. ],
  142. [
  143. "value_desc",
  144. "sum(value) descending"
  145. ]
  146. ],
  147. "clearable": false,
  148. "default": "alpha_asc"
  149. },
  150. "linear_color_scheme": {
  151. "type": "ColorSchemeControl",
  152. "label": "Linear Color Scheme",
  153. "choices": [
  154. [
  155. "fire",
  156. "fire"
  157. ],
  158. [
  159. "blue_white_yellow",
  160. "blue/white/yellow"
  161. ],
  162. [
  163. "white_black",
  164. "white/black"
  165. ],
  166. [
  167. "black_white",
  168. "black/white"
  169. ],
  170. [
  171. "dark_blue",
  172. "light/dark blue"
  173. ],
  174. [
  175. "pink_grey",
  176. "pink/white/grey"
  177. ]
  178. ],
  179. "default": "blue_white_yellow",
  180. "clearable": false,
  181. "description": "",
  182. "renderTrigger": true,
  183. "schemes": {
  184. "blue_white_yellow": [
  185. "#00d1c1",
  186. "white",
  187. "#ffb400"
  188. ],
  189. "fire": [
  190. "white",
  191. "yellow",
  192. "red",
  193. "black"
  194. ],
  195. "white_black": [
  196. "white",
  197. "black"
  198. ],
  199. "black_white": [
  200. "black",
  201. "white"
  202. ],
  203. "dark_blue": [
  204. "#EBF5F8",
  205. "#6BB1CC",
  206. "#357E9B",
  207. "#1B4150",
  208. "#092935"
  209. ],
  210. "pink_grey": [
  211. "#E70B81",
  212. "#FAFAFA",
  213. "#666666"
  214. ]
  215. },
  216. "isLinear": true
  217. },
  218. "normalize_across": {
  219. "type": "SelectControl",
  220. "label": "Normalize Across",
  221. "choices": [
  222. [
  223. "heatmap",
  224. "heatmap"
  225. ],
  226. [
  227. "x",
  228. "x"
  229. ],
  230. [
  231. "y",
  232. "y"
  233. ]
  234. ],
  235. "default": "heatmap",
  236. "description": "Color will be rendered based on a ratio of the cell against the sum of across this criteria"
  237. },
  238. "horizon_color_scale": {
  239. "type": "SelectControl",
  240. "label": "Horizon Color Scale",
  241. "choices": [
  242. [
  243. "series",
  244. "series"
  245. ],
  246. [
  247. "overall",
  248. "overall"
  249. ],
  250. [
  251. "change",
  252. "change"
  253. ]
  254. ],
  255. "default": "series",
  256. "description": "Defines how the color are attributed."
  257. },
  258. "canvas_image_rendering": {
  259. "type": "SelectControl",
  260. "label": "Rendering",
  261. "renderTrigger": true,
  262. "choices": [
  263. [
  264. "pixelated",
  265. "pixelated (Sharp)"
  266. ],
  267. [
  268. "auto",
  269. "auto (Smooth)"
  270. ]
  271. ],
  272. "default": "pixelated",
  273. "description": "image-rendering CSS attribute of the canvas object that defines how the browser scales up the image"
  274. },
  275. "xscale_interval": {
  276. "type": "SelectControl",
  277. "label": "XScale Interval",
  278. "choices": [
  279. [
  280. 1,
  281. "1"
  282. ],
  283. [
  284. 2,
  285. "2"
  286. ],
  287. [
  288. 3,
  289. "3"
  290. ],
  291. [
  292. 4,
  293. "4"
  294. ],
  295. [
  296. 5,
  297. "5"
  298. ],
  299. [
  300. 6,
  301. "6"
  302. ],
  303. [
  304. 7,
  305. "7"
  306. ],
  307. [
  308. 8,
  309. "8"
  310. ],
  311. [
  312. 9,
  313. "9"
  314. ],
  315. [
  316. 10,
  317. "10"
  318. ],
  319. [
  320. 11,
  321. "11"
  322. ],
  323. [
  324. 12,
  325. "12"
  326. ],
  327. [
  328. 13,
  329. "13"
  330. ],
  331. [
  332. 14,
  333. "14"
  334. ],
  335. [
  336. 15,
  337. "15"
  338. ],
  339. [
  340. 16,
  341. "16"
  342. ],
  343. [
  344. 17,
  345. "17"
  346. ],
  347. [
  348. 18,
  349. "18"
  350. ],
  351. [
  352. 19,
  353. "19"
  354. ],
  355. [
  356. 20,
  357. "20"
  358. ],
  359. [
  360. 21,
  361. "21"
  362. ],
  363. [
  364. 22,
  365. "22"
  366. ],
  367. [
  368. 23,
  369. "23"
  370. ],
  371. [
  372. 24,
  373. "24"
  374. ],
  375. [
  376. 25,
  377. "25"
  378. ],
  379. [
  380. 26,
  381. "26"
  382. ],
  383. [
  384. 27,
  385. "27"
  386. ],
  387. [
  388. 28,
  389. "28"
  390. ],
  391. [
  392. 29,
  393. "29"
  394. ],
  395. [
  396. 30,
  397. "30"
  398. ],
  399. [
  400. 31,
  401. "31"
  402. ],
  403. [
  404. 32,
  405. "32"
  406. ],
  407. [
  408. 33,
  409. "33"
  410. ],
  411. [
  412. 34,
  413. "34"
  414. ],
  415. [
  416. 35,
  417. "35"
  418. ],
  419. [
  420. 36,
  421. "36"
  422. ],
  423. [
  424. 37,
  425. "37"
  426. ],
  427. [
  428. 38,
  429. "38"
  430. ],
  431. [
  432. 39,
  433. "39"
  434. ],
  435. [
  436. 40,
  437. "40"
  438. ],
  439. [
  440. 41,
  441. "41"
  442. ],
  443. [
  444. 42,
  445. "42"
  446. ],
  447. [
  448. 43,
  449. "43"
  450. ],
  451. [
  452. 44,
  453. "44"
  454. ],
  455. [
  456. 45,
  457. "45"
  458. ],
  459. [
  460. 46,
  461. "46"
  462. ],
  463. [
  464. 47,
  465. "47"
  466. ],
  467. [
  468. 48,
  469. "48"
  470. ],
  471. [
  472. 49,
  473. "49"
  474. ],
  475. [
  476. 50,
  477. "50"
  478. ]
  479. ],
  480. "default": "1",
  481. "description": "Number of steps to take between ticks when displaying the X scale"
  482. },
  483. "yscale_interval": {
  484. "type": "SelectControl",
  485. "label": "YScale Interval",
  486. "choices": [
  487. [
  488. 1,
  489. "1"
  490. ],
  491. [
  492. 2,
  493. "2"
  494. ],
  495. [
  496. 3,
  497. "3"
  498. ],
  499. [
  500. 4,
  501. "4"
  502. ],
  503. [
  504. 5,
  505. "5"
  506. ],
  507. [
  508. 6,
  509. "6"
  510. ],
  511. [
  512. 7,
  513. "7"
  514. ],
  515. [
  516. 8,
  517. "8"
  518. ],
  519. [
  520. 9,
  521. "9"
  522. ],
  523. [
  524. 10,
  525. "10"
  526. ],
  527. [
  528. 11,
  529. "11"
  530. ],
  531. [
  532. 12,
  533. "12"
  534. ],
  535. [
  536. 13,
  537. "13"
  538. ],
  539. [
  540. 14,
  541. "14"
  542. ],
  543. [
  544. 15,
  545. "15"
  546. ],
  547. [
  548. 16,
  549. "16"
  550. ],
  551. [
  552. 17,
  553. "17"
  554. ],
  555. [
  556. 18,
  557. "18"
  558. ],
  559. [
  560. 19,
  561. "19"
  562. ],
  563. [
  564. 20,
  565. "20"
  566. ],
  567. [
  568. 21,
  569. "21"
  570. ],
  571. [
  572. 22,
  573. "22"
  574. ],
  575. [
  576. 23,
  577. "23"
  578. ],
  579. [
  580. 24,
  581. "24"
  582. ],
  583. [
  584. 25,
  585. "25"
  586. ],
  587. [
  588. 26,
  589. "26"
  590. ],
  591. [
  592. 27,
  593. "27"
  594. ],
  595. [
  596. 28,
  597. "28"
  598. ],
  599. [
  600. 29,
  601. "29"
  602. ],
  603. [
  604. 30,
  605. "30"
  606. ],
  607. [
  608. 31,
  609. "31"
  610. ],
  611. [
  612. 32,
  613. "32"
  614. ],
  615. [
  616. 33,
  617. "33"
  618. ],
  619. [
  620. 34,
  621. "34"
  622. ],
  623. [
  624. 35,
  625. "35"
  626. ],
  627. [
  628. 36,
  629. "36"
  630. ],
  631. [
  632. 37,
  633. "37"
  634. ],
  635. [
  636. 38,
  637. "38"
  638. ],
  639. [
  640. 39,
  641. "39"
  642. ],
  643. [
  644. 40,
  645. "40"
  646. ],
  647. [
  648. 41,
  649. "41"
  650. ],
  651. [
  652. 42,
  653. "42"
  654. ],
  655. [
  656. 43,
  657. "43"
  658. ],
  659. [
  660. 44,
  661. "44"
  662. ],
  663. [
  664. 45,
  665. "45"
  666. ],
  667. [
  668. 46,
  669. "46"
  670. ],
  671. [
  672. 47,
  673. "47"
  674. ],
  675. [
  676. 48,
  677. "48"
  678. ],
  679. [
  680. 49,
  681. "49"
  682. ],
  683. [
  684. 50,
  685. "50"
  686. ]
  687. ],
  688. "default": null,
  689. "description": "Number of steps to take between ticks when displaying the Y scale"
  690. },
  691. "include_time": {
  692. "type": "CheckboxControl",
  693. "label": "Include Time",
  694. "description": "Whether to include the time granularity as defined in the time section",
  695. "default": false
  696. },
  697. "show_perc": {
  698. "type": "CheckboxControl",
  699. "label": "Show percentage",
  700. "renderTrigger": true,
  701. "description": "Whether to include the percentage in the tooltip",
  702. "default": true
  703. },
  704. "bar_stacked": {
  705. "type": "CheckboxControl",
  706. "label": "Stacked Bars",
  707. "renderTrigger": true,
  708. "default": false,
  709. "description": null
  710. },
  711. "pivot_margins": {
  712. "type": "CheckboxControl",
  713. "label": "Show totals",
  714. "renderTrigger": false,
  715. "default": true,
  716. "description": "Display total row/column"
  717. },
  718. "show_markers": {
  719. "type": "CheckboxControl",
  720. "label": "Show Markers",
  721. "renderTrigger": true,
  722. "default": false,
  723. "description": "Show data points as circle markers on the lines"
  724. },
  725. "show_bar_value": {
  726. "type": "CheckboxControl",
  727. "label": "Bar Values",
  728. "default": false,
  729. "renderTrigger": true,
  730. "description": "Show the value on top of the bar"
  731. },
  732. "order_bars": {
  733. "type": "CheckboxControl",
  734. "label": "Sort Bars",
  735. "default": false,
  736. "description": "Sort bars by x labels."
  737. },
  738. "combine_metric": {
  739. "type": "CheckboxControl",
  740. "label": "Combine Metrics",
  741. "default": false,
  742. "description": "Display metrics side by side within each column, as opposed to each column being displayed side by side for each metric."
  743. },
  744. "show_controls": {
  745. "type": "CheckboxControl",
  746. "label": "Extra Controls",
  747. "renderTrigger": true,
  748. "default": false,
  749. "description": "Whether to show extra controls or not. Extra controls include things like making mulitBar charts stacked or side by side."
  750. },
  751. "reduce_x_ticks": {
  752. "type": "CheckboxControl",
  753. "label": "Reduce X ticks",
  754. "renderTrigger": true,
  755. "default": false,
  756. "description": "Reduces the number of X axis ticks to be rendered. If true, the x axis wont overflow and labels may be missing. If false, a minimum width will be applied to columns and the width may overflow into an horizontal scroll."
  757. },
  758. "include_series": {
  759. "type": "CheckboxControl",
  760. "label": "Include Series",
  761. "renderTrigger": true,
  762. "default": false,
  763. "description": "Include series name as an axis"
  764. },
  765. "secondary_metric": {
  766. "type": "SelectControl",
  767. "label": "Color Metric",
  768. "default": null,
  769. "description": "A metric to use for color"
  770. },
  771. "select_country": {
  772. "type": "SelectControl",
  773. "label": "Country Name",
  774. "default": "France",
  775. "choices": [
  776. [
  777. "Belgium",
  778. "Belgium"
  779. ],
  780. [
  781. "Brazil",
  782. "Brazil"
  783. ],
  784. [
  785. "China",
  786. "China"
  787. ],
  788. [
  789. "Egypt",
  790. "Egypt"
  791. ],
  792. [
  793. "France",
  794. "France"
  795. ],
  796. [
  797. "Germany",
  798. "Germany"
  799. ],
  800. [
  801. "Italy",
  802. "Italy"
  803. ],
  804. [
  805. "Morocco",
  806. "Morocco"
  807. ],
  808. [
  809. "Netherlands",
  810. "Netherlands"
  811. ],
  812. [
  813. "Russia",
  814. "Russia"
  815. ],
  816. [
  817. "Singapore",
  818. "Singapore"
  819. ],
  820. [
  821. "Spain",
  822. "Spain"
  823. ],
  824. [
  825. "Uk",
  826. "Uk"
  827. ],
  828. [
  829. "Ukraine",
  830. "Ukraine"
  831. ],
  832. [
  833. "Usa",
  834. "Usa"
  835. ]
  836. ],
  837. "description": "The name of country that Superset should display"
  838. },
  839. "country_fieldtype": {
  840. "type": "SelectControl",
  841. "label": "Country Field Type",
  842. "default": "cca2",
  843. "choices": [
  844. [
  845. "name",
  846. "Full name"
  847. ],
  848. [
  849. "cioc",
  850. "code International Olympic Committee (cioc)"
  851. ],
  852. [
  853. "cca2",
  854. "code ISO 3166-1 alpha-2 (cca2)"
  855. ],
  856. [
  857. "cca3",
  858. "code ISO 3166-1 alpha-3 (cca3)"
  859. ]
  860. ],
  861. "description": "The country code standard that Superset should expect to find in the [country] column"
  862. },
  863. "freq": {
  864. "type": "SelectControl",
  865. "label": "Frequency",
  866. "default": "W-MON",
  867. "freeForm": true,
  868. "clearable": false,
  869. "choices": [
  870. [
  871. "AS",
  872. "Year (freq=AS)"
  873. ],
  874. [
  875. "52W-MON",
  876. "52 weeks starting Monday (freq=52W-MON)"
  877. ],
  878. [
  879. "W-SUN",
  880. "1 week starting Sunday (freq=W-SUN)"
  881. ],
  882. [
  883. "W-MON",
  884. "1 week starting Monday (freq=W-MON)"
  885. ],
  886. [
  887. "D",
  888. "Day (freq=D)"
  889. ],
  890. [
  891. "4W-MON",
  892. "4 weeks (freq=4W-MON)"
  893. ]
  894. ],
  895. "description": "The periodicity over which to pivot time. Users can provide\n \"Pandas\" offset alias.\n Click on the info bubble for more details on accepted \"freq\" expressions."
  896. },
  897. "groupby": {
  898. "type": "SelectControl",
  899. "multi": true,
  900. "label": "Group by",
  901. "default": [],
  902. "includeTime": false,
  903. "description": "One or many controls to group by",
  904. "valueKey": "column_name"
  905. },
  906. "dimension": {
  907. "type": "SelectControl",
  908. "multi": false,
  909. "label": "Dimension",
  910. "default": null,
  911. "includeTime": false,
  912. "description": "Select a dimension",
  913. "valueKey": "column_name"
  914. },
  915. "columns": {
  916. "type": "SelectControl",
  917. "multi": true,
  918. "label": "Columns",
  919. "default": [],
  920. "includeTime": false,
  921. "description": "One or many controls to pivot as columns",
  922. "valueKey": "column_name"
  923. },
  924. "all_columns": {
  925. "type": "SelectControl",
  926. "multi": true,
  927. "label": "Columns",
  928. "default": [],
  929. "description": "Columns to display"
  930. },
  931. "longitude": {
  932. "type": "SelectControl",
  933. "label": "Longitude",
  934. "default": 1,
  935. "validators": [
  936. null
  937. ],
  938. "description": "Select the longitude column"
  939. },
  940. "latitude": {
  941. "type": "SelectControl",
  942. "label": "Latitude",
  943. "default": 1,
  944. "validators": [
  945. null
  946. ],
  947. "description": "Select the latitude column"
  948. },
  949. "all_columns_x": {
  950. "type": "SelectControl",
  951. "label": "X",
  952. "default": null,
  953. "description": "Columns to display"
  954. },
  955. "all_columns_y": {
  956. "type": "SelectControl",
  957. "label": "Y",
  958. "default": null,
  959. "description": "Columns to display"
  960. },
  961. "druid_time_origin": {
  962. "type": "SelectControl",
  963. "freeForm": true,
  964. "label": "Origin",
  965. "choices": [
  966. [
  967. "",
  968. "default"
  969. ],
  970. [
  971. "now",
  972. "now"
  973. ]
  974. ],
  975. "default": null,
  976. "description": "Defines the origin where time buckets start, accepts natural dates as in `now`, `sunday` or `1970-01-01`"
  977. },
  978. "bottom_margin": {
  979. "type": "SelectControl",
  980. "freeForm": true,
  981. "label": "Bottom Margin",
  982. "choices": [
  983. [
  984. "auto",
  985. "auto"
  986. ],
  987. [
  988. 50,
  989. "50"
  990. ],
  991. [
  992. 75,
  993. "75"
  994. ],
  995. [
  996. 100,
  997. "100"
  998. ],
  999. [
  1000. 125,
  1001. "125"
  1002. ],
  1003. [
  1004. 150,
  1005. "150"
  1006. ],
  1007. [
  1008. 200,
  1009. "200"
  1010. ]
  1011. ],
  1012. "default": "auto",
  1013. "renderTrigger": true,
  1014. "description": "Bottom margin, in pixels, allowing for more room for axis labels"
  1015. },
  1016. "left_margin": {
  1017. "type": "SelectControl",
  1018. "freeForm": true,
  1019. "label": "Left Margin",
  1020. "choices": [
  1021. [
  1022. "auto",
  1023. "auto"
  1024. ],
  1025. [
  1026. 50,
  1027. "50"
  1028. ],
  1029. [
  1030. 75,
  1031. "75"
  1032. ],
  1033. [
  1034. 100,
  1035. "100"
  1036. ],
  1037. [
  1038. 125,
  1039. "125"
  1040. ],
  1041. [
  1042. 150,
  1043. "150"
  1044. ],
  1045. [
  1046. 200,
  1047. "200"
  1048. ]
  1049. ],
  1050. "default": "auto",
  1051. "renderTrigger": true,
  1052. "description": "Left margin, in pixels, allowing for more room for axis labels"
  1053. },
  1054. "granularity": {
  1055. "type": "SelectControl",
  1056. "freeForm": true,
  1057. "label": "Time Granularity",
  1058. "default": "one day",
  1059. "choices": [
  1060. [
  1061. "all",
  1062. "all"
  1063. ],
  1064. [
  1065. "5 seconds",
  1066. "5 seconds"
  1067. ],
  1068. [
  1069. "30 seconds",
  1070. "30 seconds"
  1071. ],
  1072. [
  1073. "1 minute",
  1074. "1 minute"
  1075. ],
  1076. [
  1077. "5 minutes",
  1078. "5 minutes"
  1079. ],
  1080. [
  1081. "1 hour",
  1082. "1 hour"
  1083. ],
  1084. [
  1085. "6 hour",
  1086. "6 hour"
  1087. ],
  1088. [
  1089. "1 day",
  1090. "1 day"
  1091. ],
  1092. [
  1093. "7 days",
  1094. "7 days"
  1095. ],
  1096. [
  1097. "week",
  1098. "week"
  1099. ],
  1100. [
  1101. "week_starting_sunday",
  1102. "week_starting_sunday"
  1103. ],
  1104. [
  1105. "week_ending_saturday",
  1106. "week_ending_saturday"
  1107. ],
  1108. [
  1109. "month",
  1110. "month"
  1111. ]
  1112. ],
  1113. "description": "The time granularity for the visualization. Note that you can type and use simple natural language as in `10 seconds`, `1 day` or `56 weeks`"
  1114. },
  1115. "domain_granularity": {
  1116. "type": "SelectControl",
  1117. "label": "Domain",
  1118. "default": "month",
  1119. "choices": [
  1120. [
  1121. "hour",
  1122. "hour"
  1123. ],
  1124. [
  1125. "day",
  1126. "day"
  1127. ],
  1128. [
  1129. "week",
  1130. "week"
  1131. ],
  1132. [
  1133. "month",
  1134. "month"
  1135. ],
  1136. [
  1137. "year",
  1138. "year"
  1139. ]
  1140. ],
  1141. "description": "The time unit used for the grouping of blocks"
  1142. },
  1143. "subdomain_granularity": {
  1144. "type": "SelectControl",
  1145. "label": "Subdomain",
  1146. "default": "day",
  1147. "choices": [
  1148. [
  1149. "min",
  1150. "min"
  1151. ],
  1152. [
  1153. "hour",
  1154. "hour"
  1155. ],
  1156. [
  1157. "day",
  1158. "day"
  1159. ],
  1160. [
  1161. "week",
  1162. "week"
  1163. ],
  1164. [
  1165. "month",
  1166. "month"
  1167. ]
  1168. ],
  1169. "description": "The time unit for each block. Should be a smaller unit than domain_granularity. Should be larger or equal to Time Grain"
  1170. },
  1171. "link_length": {
  1172. "type": "SelectControl",
  1173. "freeForm": true,
  1174. "label": "Link Length",
  1175. "default": "200",
  1176. "choices": [
  1177. [
  1178. "10",
  1179. "10"
  1180. ],
  1181. [
  1182. "25",
  1183. "25"
  1184. ],
  1185. [
  1186. "50",
  1187. "50"
  1188. ],
  1189. [
  1190. "75",
  1191. "75"
  1192. ],
  1193. [
  1194. "100",
  1195. "100"
  1196. ],
  1197. [
  1198. "150",
  1199. "150"
  1200. ],
  1201. [
  1202. "200",
  1203. "200"
  1204. ],
  1205. [
  1206. "250",
  1207. "250"
  1208. ]
  1209. ],
  1210. "description": "Link length in the force layout"
  1211. },
  1212. "charge": {
  1213. "type": "SelectControl",
  1214. "freeForm": true,
  1215. "label": "Charge",
  1216. "default": "-500",
  1217. "choices": [
  1218. [
  1219. "-50",
  1220. "-50"
  1221. ],
  1222. [
  1223. "-75",
  1224. "-75"
  1225. ],
  1226. [
  1227. "-100",
  1228. "-100"
  1229. ],
  1230. [
  1231. "-150",
  1232. "-150"
  1233. ],
  1234. [
  1235. "-200",
  1236. "-200"
  1237. ],
  1238. [
  1239. "-250",
  1240. "-250"
  1241. ],
  1242. [
  1243. "-500",
  1244. "-500"
  1245. ],
  1246. [
  1247. "-1000",
  1248. "-1000"
  1249. ],
  1250. [
  1251. "-2500",
  1252. "-2500"
  1253. ],
  1254. [
  1255. "-5000",
  1256. "-5000"
  1257. ]
  1258. ],
  1259. "description": "Charge in the force layout"
  1260. },
  1261. "granularity_sqla": {
  1262. "type": "SelectControl",
  1263. "label": "Time Column",
  1264. "description": "The time column for the visualization. Note that you can define arbitrary expression that return a DATETIME column in the table. Also note that the filter below is applied against this column or expression",
  1265. "clearable": false,
  1266. "valueKey": "column_name"
  1267. },
  1268. "time_grain_sqla": {
  1269. "type": "SelectControl",
  1270. "label": "Time Grain",
  1271. "description": "The time granularity for the visualization. This applies a date transformation to alter your time column and defines a new time granularity. The options here are defined on a per database engine basis in the Superset source code."
  1272. },
  1273. "resample_rule": {
  1274. "type": "SelectControl",
  1275. "freeForm": true,
  1276. "label": "Resample Rule",
  1277. "default": null,
  1278. "choices": [
  1279. [
  1280. "",
  1281. ""
  1282. ],
  1283. [
  1284. "1T",
  1285. "1T"
  1286. ],
  1287. [
  1288. "1H",
  1289. "1H"
  1290. ],
  1291. [
  1292. "1D",
  1293. "1D"
  1294. ],
  1295. [
  1296. "7D",
  1297. "7D"
  1298. ],
  1299. [
  1300. "1M",
  1301. "1M"
  1302. ],
  1303. [
  1304. "1AS",
  1305. "1AS"
  1306. ]
  1307. ],
  1308. "description": "Pandas resample rule"
  1309. },
  1310. "resample_how": {
  1311. "type": "SelectControl",
  1312. "freeForm": true,
  1313. "label": "Resample How",
  1314. "default": null,
  1315. "choices": [
  1316. [
  1317. "",
  1318. ""
  1319. ],
  1320. [
  1321. "mean",
  1322. "mean"
  1323. ],
  1324. [
  1325. "sum",
  1326. "sum"
  1327. ],
  1328. [
  1329. "median",
  1330. "median"
  1331. ]
  1332. ],
  1333. "description": "Pandas resample how"
  1334. },
  1335. "resample_fillmethod": {
  1336. "type": "SelectControl",
  1337. "freeForm": true,
  1338. "label": "Resample Fill Method",
  1339. "default": null,
  1340. "choices": [
  1341. [
  1342. "",
  1343. ""
  1344. ],
  1345. [
  1346. "ffill",
  1347. "ffill"
  1348. ],
  1349. [
  1350. "bfill",
  1351. "bfill"
  1352. ]
  1353. ],
  1354. "description": "Pandas resample fill method"
  1355. },
  1356. "since": {
  1357. "type": "DateFilterControl",
  1358. "freeForm": true,
  1359. "label": "Since",
  1360. "default": "7 days ago"
  1361. },
  1362. "until": {
  1363. "type": "DateFilterControl",
  1364. "freeForm": true,
  1365. "label": "Until",
  1366. "default": "now"
  1367. },
  1368. "max_bubble_size": {
  1369. "type": "SelectControl",
  1370. "freeForm": true,
  1371. "label": "Max Bubble Size",
  1372. "default": "25",
  1373. "choices": [
  1374. [
  1375. "5",
  1376. "5"
  1377. ],
  1378. [
  1379. "10",
  1380. "10"
  1381. ],
  1382. [
  1383. "15",
  1384. "15"
  1385. ],
  1386. [
  1387. "25",
  1388. "25"
  1389. ],
  1390. [
  1391. "50",
  1392. "50"
  1393. ],
  1394. [
  1395. "75",
  1396. "75"
  1397. ],
  1398. [
  1399. "100",
  1400. "100"
  1401. ]
  1402. ]
  1403. },
  1404. "whisker_options": {
  1405. "type": "SelectControl",
  1406. "freeForm": true,
  1407. "label": "Whisker/outlier options",
  1408. "default": "Tukey",
  1409. "description": "Determines how whiskers and outliers are calculated.",
  1410. "choices": [
  1411. [
  1412. "Tukey",
  1413. "Tukey"
  1414. ],
  1415. [
  1416. "Min/max (no outliers)",
  1417. "Min/max (no outliers)"
  1418. ],
  1419. [
  1420. "2/98 percentiles",
  1421. "2/98 percentiles"
  1422. ],
  1423. [
  1424. "9/91 percentiles",
  1425. "9/91 percentiles"
  1426. ]
  1427. ]
  1428. },
  1429. "treemap_ratio": {
  1430. "type": "TextControl",
  1431. "label": "Ratio",
  1432. "isFloat": true,
  1433. "default": 1.618033988749895,
  1434. "description": "Target aspect ratio for treemap tiles."
  1435. },
  1436. "number_format": {
  1437. "type": "SelectControl",
  1438. "freeForm": true,
  1439. "label": "Number format",
  1440. "renderTrigger": true,
  1441. "default": ".3s",
  1442. "choices": [
  1443. [
  1444. ".3s",
  1445. ".3s | 12.3k"
  1446. ],
  1447. [
  1448. ".3%",
  1449. ".3% | 1234543.210%"
  1450. ],
  1451. [
  1452. ".4r",
  1453. ".4r | 12350"
  1454. ],
  1455. [
  1456. ".3f",
  1457. ".3f | 12345.432"
  1458. ],
  1459. [
  1460. "+,",
  1461. "+, | +12,345.4321"
  1462. ],
  1463. [
  1464. "$,.2f",
  1465. "$,.2f | $12,345.43"
  1466. ]
  1467. ],
  1468. "description": "D3 format syntax: https://github.com/d3/d3-format"
  1469. },
  1470. "row_limit": {
  1471. "type": "SelectControl",
  1472. "freeForm": true,
  1473. "label": "Row limit",
  1474. "validators": [
  1475. null
  1476. ],
  1477. "default": null,
  1478. "choices": [
  1479. [
  1480. 10,
  1481. "10"
  1482. ],
  1483. [
  1484. 50,
  1485. "50"
  1486. ],
  1487. [
  1488. 100,
  1489. "100"
  1490. ],
  1491. [
  1492. 250,
  1493. "250"
  1494. ],
  1495. [
  1496. 500,
  1497. "500"
  1498. ],
  1499. [
  1500. 1000,
  1501. "1000"
  1502. ],
  1503. [
  1504. 5000,
  1505. "5000"
  1506. ],
  1507. [
  1508. 10000,
  1509. "10000"
  1510. ],
  1511. [
  1512. 50000,
  1513. "50000"
  1514. ]
  1515. ]
  1516. },
  1517. "limit": {
  1518. "type": "SelectControl",
  1519. "freeForm": true,
  1520. "label": "Series limit",
  1521. "validators": [
  1522. null
  1523. ],
  1524. "choices": [
  1525. [
  1526. 0,
  1527. "0"
  1528. ],
  1529. [
  1530. 5,
  1531. "5"
  1532. ],
  1533. [
  1534. 10,
  1535. "10"
  1536. ],
  1537. [
  1538. 25,
  1539. "25"
  1540. ],
  1541. [
  1542. 50,
  1543. "50"
  1544. ],
  1545. [
  1546. 100,
  1547. "100"
  1548. ],
  1549. [
  1550. 500,
  1551. "500"
  1552. ]
  1553. ],
  1554. "default": 50,
  1555. "description": "Limits the number of time series that get displayed"
  1556. },
  1557. "timeseries_limit_metric": {
  1558. "type": "SelectControl",
  1559. "label": "Sort By",
  1560. "default": null,
  1561. "description": "Metric used to define the top series"
  1562. },
  1563. "order_desc": {
  1564. "type": "CheckboxControl",
  1565. "label": "Sort Descending",
  1566. "default": true,
  1567. "description": "Whether to sort descending or ascending"
  1568. },
  1569. "rolling_type": {
  1570. "type": "SelectControl",
  1571. "label": "Rolling",
  1572. "default": "None",
  1573. "choices": [
  1574. [
  1575. "None",
  1576. "None"
  1577. ],
  1578. [
  1579. "mean",
  1580. "mean"
  1581. ],
  1582. [
  1583. "sum",
  1584. "sum"
  1585. ],
  1586. [
  1587. "std",
  1588. "std"
  1589. ],
  1590. [
  1591. "cumsum",
  1592. "cumsum"
  1593. ]
  1594. ],
  1595. "description": "Defines a rolling window function to apply, works along with the [Periods] text box"
  1596. },
  1597. "multiplier": {
  1598. "type": "TextControl",
  1599. "label": "Multiplier",
  1600. "isFloat": true,
  1601. "default": 1,
  1602. "description": "Factor to multiply the metric by"
  1603. },
  1604. "rolling_periods": {
  1605. "type": "TextControl",
  1606. "label": "Periods",
  1607. "isInt": true,
  1608. "description": "Defines the size of the rolling window function, relative to the time granularity selected"
  1609. },
  1610. "grid_size": {
  1611. "type": "TextControl",
  1612. "label": "Grid Size",
  1613. "renderTrigger": true,
  1614. "default": 20,
  1615. "isInt": true,
  1616. "description": "Defines the grid size in pixels"
  1617. },
  1618. "min_periods": {
  1619. "type": "TextControl",
  1620. "label": "Min Periods",
  1621. "isInt": true,
  1622. "description": "The minimum number of rolling periods required to show a value. For instance if you do a cumulative sum on 7 days you may want your \"Min Period\" to be 7, so that all data points shown are the total of 7 periods. This will hide the \"ramp up\" taking place over the first 7 periods"
  1623. },
  1624. "series": {
  1625. "type": "SelectControl",
  1626. "label": "Series",
  1627. "default": null,
  1628. "description": "Defines the grouping of entities. Each series is shown as a specific color on the chart and has a legend toggle"
  1629. },
  1630. "entity": {
  1631. "type": "SelectControl",
  1632. "label": "Entity",
  1633. "default": null,
  1634. "validators": [
  1635. null
  1636. ],
  1637. "description": "This defines the element to be plotted on the chart"
  1638. },
  1639. "x": {
  1640. "type": "SelectControl",
  1641. "label": "X Axis",
  1642. "description": "Metric assigned to the [X] axis",
  1643. "default": null,
  1644. "validators": [
  1645. null
  1646. ],
  1647. "valueKey": "metric_name"
  1648. },
  1649. "y": {
  1650. "type": "SelectControl",
  1651. "label": "Y Axis",
  1652. "default": null,
  1653. "validators": [
  1654. null
  1655. ],
  1656. "description": "Metric assigned to the [Y] axis",
  1657. "valueKey": "metric_name"
  1658. },
  1659. "size": {
  1660. "type": "SelectControl",
  1661. "label": "Bubble Size",
  1662. "default": null,
  1663. "validators": [
  1664. null
  1665. ],
  1666. "valueKey": "metric_name"
  1667. },
  1668. "url": {
  1669. "type": "TextControl",
  1670. "label": "URL",
  1671. "description": "The URL, this control is templated, so you can integrate {{ width }} and/or {{ height }} in your URL string.",
  1672. "default": "https://www.youtube.com/embed/AdSZJzb-aX8"
  1673. },
  1674. "x_axis_label": {
  1675. "type": "TextControl",
  1676. "label": "X Axis Label",
  1677. "renderTrigger": true,
  1678. "default": ""
  1679. },
  1680. "y_axis_label": {
  1681. "type": "TextControl",
  1682. "label": "Y Axis Label",
  1683. "renderTrigger": true,
  1684. "default": ""
  1685. },
  1686. "compare_lag": {
  1687. "type": "TextControl",
  1688. "label": "Comparison Period Lag",
  1689. "isInt": true,
  1690. "description": "Based on granularity, number of time periods to compare against"
  1691. },
  1692. "compare_suffix": {
  1693. "type": "TextControl",
  1694. "label": "Comparison suffix",
  1695. "description": "Suffix to apply after the percentage display"
  1696. },
  1697. "table_timestamp_format": {
  1698. "type": "SelectControl",
  1699. "freeForm": true,
  1700. "label": "Table Timestamp Format",
  1701. "default": "%Y-%m-%d %H:%M:%S",
  1702. "validators": [
  1703. null
  1704. ],
  1705. "clearable": false,
  1706. "choices": [
  1707. [
  1708. "smart_date",
  1709. "Adaptative formating"
  1710. ],
  1711. [
  1712. "%m/%d/%Y",
  1713. "%m/%d/%Y | 01/14/2019"
  1714. ],
  1715. [
  1716. "%Y-%m-%d",
  1717. "%Y-%m-%d | 2019-01-14"
  1718. ],
  1719. [
  1720. "%Y-%m-%d %H:%M:%S",
  1721. "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10"
  1722. ],
  1723. [
  1724. "%H:%M:%S",
  1725. "%H:%M:%S | 01:32:10"
  1726. ]
  1727. ],
  1728. "description": "Timestamp Format"
  1729. },
  1730. "series_height": {
  1731. "type": "SelectControl",
  1732. "freeForm": true,
  1733. "label": "Series Height",
  1734. "default": "25",
  1735. "choices": [
  1736. [
  1737. "10",
  1738. "10"
  1739. ],
  1740. [
  1741. "25",
  1742. "25"
  1743. ],
  1744. [
  1745. "40",
  1746. "40"
  1747. ],
  1748. [
  1749. "50",
  1750. "50"
  1751. ],
  1752. [
  1753. "75",
  1754. "75"
  1755. ],
  1756. [
  1757. "100",
  1758. "100"
  1759. ],
  1760. [
  1761. "150",
  1762. "150"
  1763. ],
  1764. [
  1765. "200",
  1766. "200"
  1767. ]
  1768. ],
  1769. "description": "Pixel height of each series"
  1770. },
  1771. "page_length": {
  1772. "type": "SelectControl",
  1773. "freeForm": true,
  1774. "label": "Page Length",
  1775. "default": 0,
  1776. "choices": [
  1777. [
  1778. 0,
  1779. "0"
  1780. ],
  1781. [
  1782. 10,
  1783. "10"
  1784. ],
  1785. [
  1786. 25,
  1787. "25"
  1788. ],
  1789. [
  1790. 40,
  1791. "40"
  1792. ],
  1793. [
  1794. 50,
  1795. "50"
  1796. ],
  1797. [
  1798. 75,
  1799. "75"
  1800. ],
  1801. [
  1802. 100,
  1803. "100"
  1804. ],
  1805. [
  1806. 150,
  1807. "150"
  1808. ],
  1809. [
  1810. 200,
  1811. "200"
  1812. ]
  1813. ],
  1814. "description": "Rows per page, 0 means no pagination"
  1815. },
  1816. "x_axis_format": {
  1817. "type": "SelectControl",
  1818. "freeForm": true,
  1819. "label": "X Axis Format",
  1820. "renderTrigger": true,
  1821. "default": ".3s",
  1822. "choices": [
  1823. [
  1824. ".3s",
  1825. ".3s | 12.3k"
  1826. ],
  1827. [
  1828. ".3%",
  1829. ".3% | 1234543.210%"
  1830. ],
  1831. [
  1832. ".4r",
  1833. ".4r | 12350"
  1834. ],
  1835. [
  1836. ".3f",
  1837. ".3f | 12345.432"
  1838. ],
  1839. [
  1840. "+,",
  1841. "+, | +12,345.4321"
  1842. ],
  1843. [
  1844. "$,.2f",
  1845. "$,.2f | $12,345.43"
  1846. ]
  1847. ],
  1848. "description": "D3 format syntax: https://github.com/d3/d3-format"
  1849. },
  1850. "x_axis_time_format": {
  1851. "type": "SelectControl",
  1852. "freeForm": true,
  1853. "label": "X Axis Format",
  1854. "renderTrigger": true,
  1855. "default": "smart_date",
  1856. "choices": [
  1857. [
  1858. "smart_date",
  1859. "Adaptative formating"
  1860. ],
  1861. [
  1862. "%m/%d/%Y",
  1863. "%m/%d/%Y | 01/14/2019"
  1864. ],
  1865. [
  1866. "%Y-%m-%d",
  1867. "%Y-%m-%d | 2019-01-14"
  1868. ],
  1869. [
  1870. "%Y-%m-%d %H:%M:%S",
  1871. "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10"
  1872. ],
  1873. [
  1874. "%H:%M:%S",
  1875. "%H:%M:%S | 01:32:10"
  1876. ]
  1877. ],
  1878. "description": "D3 format syntax: https://github.com/d3/d3-format"
  1879. },
  1880. "y_axis_format": {
  1881. "type": "SelectControl",
  1882. "freeForm": true,
  1883. "label": "Y Axis Format",
  1884. "renderTrigger": true,
  1885. "default": ".3s",
  1886. "choices": [
  1887. [
  1888. ".3s",
  1889. ".3s | 12.3k"
  1890. ],
  1891. [
  1892. ".3%",
  1893. ".3% | 1234543.210%"
  1894. ],
  1895. [
  1896. ".4r",
  1897. ".4r | 12350"
  1898. ],
  1899. [
  1900. ".3f",
  1901. ".3f | 12345.432"
  1902. ],
  1903. [
  1904. "+,",
  1905. "+, | +12,345.4321"
  1906. ],
  1907. [
  1908. "$,.2f",
  1909. "$,.2f | $12,345.43"
  1910. ]
  1911. ],
  1912. "description": "D3 format syntax: https://github.com/d3/d3-format"
  1913. },
  1914. "y_axis_2_format": {
  1915. "type": "SelectControl",
  1916. "freeForm": true,
  1917. "label": "Right Axis Format",
  1918. "default": ".3s",
  1919. "choices": [
  1920. [
  1921. ".3s",
  1922. ".3s | 12.3k"
  1923. ],
  1924. [
  1925. ".3%",
  1926. ".3% | 1234543.210%"
  1927. ],
  1928. [
  1929. ".4r",
  1930. ".4r | 12350"
  1931. ],
  1932. [
  1933. ".3f",
  1934. ".3f | 12345.432"
  1935. ],
  1936. [
  1937. "+,",
  1938. "+, | +12,345.4321"
  1939. ],
  1940. [
  1941. "$,.2f",
  1942. "$,.2f | $12,345.43"
  1943. ]
  1944. ],
  1945. "description": "D3 format syntax: https://github.com/d3/d3-format"
  1946. },
  1947. "date_time_format": {
  1948. "type": "SelectControl",
  1949. "freeForm": true,
  1950. "label": "Date Time Format",
  1951. "renderTrigger": true,
  1952. "default": "smart_date",
  1953. "choices": [
  1954. [
  1955. "smart_date",
  1956. "Adaptative formating"
  1957. ],
  1958. [
  1959. "%m/%d/%Y",
  1960. "%m/%d/%Y | 01/14/2019"
  1961. ],
  1962. [
  1963. "%Y-%m-%d",
  1964. "%Y-%m-%d | 2019-01-14"
  1965. ],
  1966. [
  1967. "%Y-%m-%d %H:%M:%S",
  1968. "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10"
  1969. ],
  1970. [
  1971. "%H:%M:%S",
  1972. "%H:%M:%S | 01:32:10"
  1973. ]
  1974. ],
  1975. "description": "D3 format syntax: https://github.com/d3/d3-format"
  1976. },
  1977. "markup_type": {
  1978. "type": "SelectControl",
  1979. "label": "Markup Type",
  1980. "clearable": false,
  1981. "choices": [
  1982. [
  1983. "markdown",
  1984. "markdown"
  1985. ],
  1986. [
  1987. "html",
  1988. "html"
  1989. ]
  1990. ],
  1991. "default": "markdown",
  1992. "validators": [
  1993. null
  1994. ],
  1995. "description": "Pick your favorite markup language"
  1996. },
  1997. "rotation": {
  1998. "type": "SelectControl",
  1999. "label": "Rotation",
  2000. "choices": [
  2001. [
  2002. "random",
  2003. "random"
  2004. ],
  2005. [
  2006. "flat",
  2007. "flat"
  2008. ],
  2009. [
  2010. "square",
  2011. "square"
  2012. ]
  2013. ],
  2014. "default": "random",
  2015. "description": "Rotation to apply to words in the cloud"
  2016. },
  2017. "line_interpolation": {
  2018. "type": "SelectControl",
  2019. "label": "Line Style",
  2020. "renderTrigger": true,
  2021. "choices": [
  2022. [
  2023. "linear",
  2024. "linear"
  2025. ],
  2026. [
  2027. "basis",
  2028. "basis"
  2029. ],
  2030. [
  2031. "cardinal",
  2032. "cardinal"
  2033. ],
  2034. [
  2035. "monotone",
  2036. "monotone"
  2037. ],
  2038. [
  2039. "step-before",
  2040. "step-before"
  2041. ],
  2042. [
  2043. "step-after",
  2044. "step-after"
  2045. ]
  2046. ],
  2047. "default": "linear",
  2048. "description": "Line interpolation as defined by d3.js"
  2049. },
  2050. "pie_label_type": {
  2051. "type": "SelectControl",
  2052. "label": "Label Type",
  2053. "default": "key",
  2054. "choices": [
  2055. [
  2056. "key",
  2057. "Category Name"
  2058. ],
  2059. [
  2060. "value",
  2061. "Value"
  2062. ],
  2063. [
  2064. "percent",
  2065. "Percentage"
  2066. ],
  2067. [
  2068. "key_value",
  2069. "Category and Value"
  2070. ],
  2071. [
  2072. "key_percent",
  2073. "Category and Percentage"
  2074. ]
  2075. ],
  2076. "description": "What should be shown on the label?"
  2077. },
  2078. "code": {
  2079. "type": "TextAreaControl",
  2080. "label": "Code",
  2081. "description": "Put your code here",
  2082. "default": ""
  2083. },
  2084. "pandas_aggfunc": {
  2085. "type": "SelectControl",
  2086. "label": "Aggregation function",
  2087. "clearable": false,
  2088. "choices": [
  2089. [
  2090. "sum",
  2091. "sum"
  2092. ],
  2093. [
  2094. "mean",
  2095. "mean"
  2096. ],
  2097. [
  2098. "min",
  2099. "min"
  2100. ],
  2101. [
  2102. "max",
  2103. "max"
  2104. ],
  2105. [
  2106. "median",
  2107. "median"
  2108. ],
  2109. [
  2110. "stdev",
  2111. "stdev"
  2112. ],
  2113. [
  2114. "var",
  2115. "var"
  2116. ]
  2117. ],
  2118. "default": "sum",
  2119. "description": "Aggregate function to apply when pivoting and computing the total rows and columns"
  2120. },
  2121. "size_from": {
  2122. "type": "TextControl",
  2123. "isInt": true,
  2124. "label": "Font Size From",
  2125. "default": "20",
  2126. "description": "Font size for the smallest value in the list"
  2127. },
  2128. "size_to": {
  2129. "type": "TextControl",
  2130. "isInt": true,
  2131. "label": "Font Size To",
  2132. "default": "150",
  2133. "description": "Font size for the biggest value in the list"
  2134. },
  2135. "instant_filtering": {
  2136. "type": "CheckboxControl",
  2137. "label": "Instant Filtering",
  2138. "renderTrigger": true,
  2139. "default": true,
  2140. "description": "Whether to apply filters as they change, or wait forusers to hit an [Apply] button"
  2141. },
  2142. "extruded": {
  2143. "type": "CheckboxControl",
  2144. "label": "Extruded",
  2145. "renderTrigger": true,
  2146. "default": true,
  2147. "description": "Whether to make the grid 3D"
  2148. },
  2149. "show_brush": {
  2150. "type": "CheckboxControl",
  2151. "label": "Range Filter",
  2152. "renderTrigger": true,
  2153. "default": false,
  2154. "description": "Whether to display the time range interactive selector"
  2155. },
  2156. "date_filter": {
  2157. "type": "CheckboxControl",
  2158. "label": "Date Filter",
  2159. "default": false,
  2160. "description": "Whether to include a time filter"
  2161. },
  2162. "show_sqla_time_granularity": {
  2163. "type": "CheckboxControl",
  2164. "label": "Show SQL Granularity Dropdown",
  2165. "default": false,
  2166. "description": "Check to include SQL Granularity dropdown"
  2167. },
  2168. "show_sqla_time_column": {
  2169. "type": "CheckboxControl",
  2170. "label": "Show SQL Time Column",
  2171. "default": false,
  2172. "description": "Check to include Time Column dropdown"
  2173. },
  2174. "show_druid_time_granularity": {
  2175. "type": "CheckboxControl",
  2176. "label": "Show Druid Granularity Dropdown",
  2177. "default": false,
  2178. "description": "Check to include Druid Granularity dropdown"
  2179. },
  2180. "show_druid_time_origin": {
  2181. "type": "CheckboxControl",
  2182. "label": "Show Druid Time Origin",
  2183. "default": false,
  2184. "description": "Check to include Time Origin dropdown"
  2185. },
  2186. "show_datatable": {
  2187. "type": "CheckboxControl",
  2188. "label": "Data Table",
  2189. "default": false,
  2190. "description": "Whether to display the interactive data table"
  2191. },
  2192. "include_search": {
  2193. "type": "CheckboxControl",
  2194. "label": "Search Box",
  2195. "renderTrigger": true,
  2196. "default": false,
  2197. "description": "Whether to include a client side search box"
  2198. },
  2199. "table_filter": {
  2200. "type": "CheckboxControl",
  2201. "label": "Table Filter",
  2202. "default": false,
  2203. "description": "Whether to apply filter when table cell is clicked"
  2204. },
  2205. "align_pn": {
  2206. "type": "CheckboxControl",
  2207. "label": "Align +/-",
  2208. "renderTrigger": true,
  2209. "default": false,
  2210. "description": "Whether to align the background chart for +/- values"
  2211. },
  2212. "color_pn": {
  2213. "type": "CheckboxControl",
  2214. "label": "Color +/-",
  2215. "renderTrigger": true,
  2216. "default": true,
  2217. "description": "Whether to color +/- values"
  2218. },
  2219. "show_bubbles": {
  2220. "type": "CheckboxControl",
  2221. "label": "Show Bubbles",
  2222. "default": false,
  2223. "renderTrigger": true,
  2224. "description": "Whether to display bubbles on top of countries"
  2225. },
  2226. "show_legend": {
  2227. "type": "CheckboxControl",
  2228. "label": "Legend",
  2229. "renderTrigger": true,
  2230. "default": true,
  2231. "description": "Whether to display the legend (toggles)"
  2232. },
  2233. "show_values": {
  2234. "type": "CheckboxControl",
  2235. "label": "Show Values",
  2236. "renderTrigger": true,
  2237. "default": false,
  2238. "description": "Whether to display the numerical values within the cells"
  2239. },
  2240. "x_axis_showminmax": {
  2241. "type": "CheckboxControl",
  2242. "label": "X bounds",
  2243. "renderTrigger": true,
  2244. "default": true,
  2245. "description": "Whether to display the min and max values of the X axis"
  2246. },
  2247. "y_axis_showminmax": {
  2248. "type": "CheckboxControl",
  2249. "label": "Y bounds",
  2250. "renderTrigger": true,
  2251. "default": true,
  2252. "description": "Whether to display the min and max values of the Y axis"
  2253. },
  2254. "rich_tooltip": {
  2255. "type": "CheckboxControl",
  2256. "label": "Rich Tooltip",
  2257. "renderTrigger": true,
  2258. "default": true,
  2259. "description": "The rich tooltip shows a list of all series for that point in time"
  2260. },
  2261. "y_log_scale": {
  2262. "type": "CheckboxControl",
  2263. "label": "Y Log Scale",
  2264. "default": false,
  2265. "renderTrigger": true,
  2266. "description": "Use a log scale for the Y axis"
  2267. },
  2268. "x_log_scale": {
  2269. "type": "CheckboxControl",
  2270. "label": "X Log Scale",
  2271. "default": false,
  2272. "renderTrigger": true,
  2273. "description": "Use a log scale for the X axis"
  2274. },
  2275. "log_scale": {
  2276. "type": "CheckboxControl",
  2277. "label": "Log Scale",
  2278. "default": false,
  2279. "renderTrigger": true,
  2280. "description": "Use a log scale"
  2281. },
  2282. "donut": {
  2283. "type": "CheckboxControl",
  2284. "label": "Donut",
  2285. "default": false,
  2286. "renderTrigger": true,
  2287. "description": "Do you want a donut or a pie?"
  2288. },
  2289. "labels_outside": {
  2290. "type": "CheckboxControl",
  2291. "label": "Put labels outside",
  2292. "default": true,
  2293. "renderTrigger": true,
  2294. "description": "Put the labels outside the pie?"
  2295. },
  2296. "contribution": {
  2297. "type": "CheckboxControl",
  2298. "label": "Contribution",
  2299. "default": false,
  2300. "description": "Compute the contribution to the total"
  2301. },
  2302. "num_period_compare": {
  2303. "type": "TextControl",
  2304. "label": "Period Ratio",
  2305. "default": "",
  2306. "isInt": true,
  2307. "description": "[integer] Number of period to compare against, this is relative to the granularity selected"
  2308. },
  2309. "period_ratio_type": {
  2310. "type": "SelectControl",
  2311. "label": "Period Ratio Type",
  2312. "default": "growth",
  2313. "choices": [
  2314. [
  2315. "factor",
  2316. "factor"
  2317. ],
  2318. [
  2319. "growth",
  2320. "growth"
  2321. ],
  2322. [
  2323. "value",
  2324. "value"
  2325. ]
  2326. ],
  2327. "description": "`factor` means (new/previous), `growth` is ((new/previous) - 1), `value` is (new-previous)"
  2328. },
  2329. "time_compare": {
  2330. "type": "TextControl",
  2331. "label": "Time Shift",
  2332. "default": null,
  2333. "description": "Overlay a timeseries from a relative time period. Expects relative time delta in natural language (example: 24 hours, 7 days, 56 weeks, 365 days)"
  2334. },
  2335. "subheader": {
  2336. "type": "TextControl",
  2337. "label": "Subheader",
  2338. "description": "Description text that shows up below your Big Number"
  2339. },
  2340. "mapbox_label": {
  2341. "type": "SelectControl",
  2342. "multi": true,
  2343. "label": "label",
  2344. "default": [],
  2345. "description": "`count` is COUNT(*) if a group by is used. Numerical columns will be aggregated with the aggregator. Non-numerical columns will be used to label points. Leave empty to get a count of points in each cluster."
  2346. },
  2347. "mapbox_style": {
  2348. "type": "SelectControl",
  2349. "label": "Map Style",
  2350. "renderTrigger": true,
  2351. "choices": [
  2352. [
  2353. "mapbox://styles/mapbox/streets-v9",
  2354. "Streets"
  2355. ],
  2356. [
  2357. "mapbox://styles/mapbox/dark-v9",
  2358. "Dark"
  2359. ],
  2360. [
  2361. "mapbox://styles/mapbox/light-v9",
  2362. "Light"
  2363. ],
  2364. [
  2365. "mapbox://styles/mapbox/satellite-streets-v9",
  2366. "Satellite Streets"
  2367. ],
  2368. [
  2369. "mapbox://styles/mapbox/satellite-v9",
  2370. "Satellite"
  2371. ],
  2372. [
  2373. "mapbox://styles/mapbox/outdoors-v9",
  2374. "Outdoors"
  2375. ]
  2376. ],
  2377. "default": "mapbox://styles/mapbox/streets-v9",
  2378. "description": "Base layer map style"
  2379. },
  2380. "clustering_radius": {
  2381. "type": "SelectControl",
  2382. "freeForm": true,
  2383. "label": "Clustering Radius",
  2384. "default": "60",
  2385. "choices": [
  2386. [
  2387. "0",
  2388. "0"
  2389. ],
  2390. [
  2391. "20",
  2392. "20"
  2393. ],
  2394. [
  2395. "40",
  2396. "40"
  2397. ],
  2398. [
  2399. "60",
  2400. "60"
  2401. ],
  2402. [
  2403. "80",
  2404. "80"
  2405. ],
  2406. [
  2407. "100",
  2408. "100"
  2409. ],
  2410. [
  2411. "200",
  2412. "200"
  2413. ],
  2414. [
  2415. "500",
  2416. "500"
  2417. ],
  2418. [
  2419. "1000",
  2420. "1000"
  2421. ]
  2422. ],
  2423. "description": "The radius (in pixels) the algorithm uses to define a cluster. Choose 0 to turn off clustering, but beware that a large number of points (>1000) will cause lag."
  2424. },
  2425. "point_radius_fixed": {
  2426. "type": "FixedOrMetricControl",
  2427. "label": "Point Size",
  2428. "description": "Fixed point radius"
  2429. },
  2430. "point_radius": {
  2431. "type": "SelectControl",
  2432. "label": "Point Radius",
  2433. "default": "Auto",
  2434. "description": "The radius of individual points (ones that are not in a cluster). Either a numerical column or `Auto`, which scales the point based on the largest cluster"
  2435. },
  2436. "point_radius_unit": {
  2437. "type": "SelectControl",
  2438. "label": "Point Radius Unit",
  2439. "default": "Pixels",
  2440. "choices": [
  2441. [
  2442. "Pixels",
  2443. "Pixels"
  2444. ],
  2445. [
  2446. "Miles",
  2447. "Miles"
  2448. ],
  2449. [
  2450. "Kilometers",
  2451. "Kilometers"
  2452. ]
  2453. ],
  2454. "description": "The unit of measure for the specified point radius"
  2455. },
  2456. "point_unit": {
  2457. "type": "SelectControl",
  2458. "label": "Point Unit",
  2459. "default": "square_m",
  2460. "clearable": false,
  2461. "choices": [
  2462. [
  2463. "square_m",
  2464. "Square meters"
  2465. ],
  2466. [
  2467. "square_km",
  2468. "Square kilometers"
  2469. ],
  2470. [
  2471. "square_miles",
  2472. "Square miles"
  2473. ],
  2474. [
  2475. "radius_m",
  2476. "Radius in meters"
  2477. ],
  2478. [
  2479. "radius_km",
  2480. "Radius in kilometers"
  2481. ],
  2482. [
  2483. "radius_miles",
  2484. "Radius in miles"
  2485. ]
  2486. ],
  2487. "description": "The unit of measure for the specified point radius"
  2488. },
  2489. "global_opacity": {
  2490. "type": "TextControl",
  2491. "label": "Opacity",
  2492. "default": 1,
  2493. "isFloat": true,
  2494. "description": "Opacity of all clusters, points, and labels. Between 0 and 1."
  2495. },
  2496. "viewport": {
  2497. "type": "ViewportControl",
  2498. "label": "Viewport",
  2499. "renderTrigger": true,
  2500. "description": "Parameters related to the view and perspective on the map",
  2501. "default": {
  2502. "longitude": 6.85236157047845,
  2503. "latitude": 31.222656842808707,
  2504. "zoom": 1,
  2505. "bearing": 0,
  2506. "pitch": 0
  2507. }
  2508. },
  2509. "viewport_zoom": {
  2510. "type": "TextControl",
  2511. "label": "Zoom",
  2512. "isFloat": true,
  2513. "default": 11,
  2514. "description": "Zoom level of the map",
  2515. "places": 8
  2516. },
  2517. "viewport_latitude": {
  2518. "type": "TextControl",
  2519. "label": "Default latitude",
  2520. "default": 37.772123,
  2521. "isFloat": true,
  2522. "description": "Latitude of default viewport",
  2523. "places": 8
  2524. },
  2525. "viewport_longitude": {
  2526. "type": "TextControl",
  2527. "label": "Default longitude",
  2528. "default": -122.405293,
  2529. "isFloat": true,
  2530. "description": "Longitude of default viewport",
  2531. "places": 8
  2532. },
  2533. "render_while_dragging": {
  2534. "type": "CheckboxControl",
  2535. "label": "Live render",
  2536. "default": true,
  2537. "description": "Points and clusters will update as viewport is being changed"
  2538. },
  2539. "mapbox_color": {
  2540. "type": "SelectControl",
  2541. "freeForm": true,
  2542. "label": "RGB Color",
  2543. "default": "rgb(0, 122, 135)",
  2544. "choices": [
  2545. [
  2546. "rgb(0, 139, 139)",
  2547. "Dark Cyan"
  2548. ],
  2549. [
  2550. "rgb(128, 0, 128)",
  2551. "Purple"
  2552. ],
  2553. [
  2554. "rgb(255, 215, 0)",
  2555. "Gold"
  2556. ],
  2557. [
  2558. "rgb(69, 69, 69)",
  2559. "Dim Gray"
  2560. ],
  2561. [
  2562. "rgb(220, 20, 60)",
  2563. "Crimson"
  2564. ],
  2565. [
  2566. "rgb(34, 139, 34)",
  2567. "Forest Green"
  2568. ]
  2569. ],
  2570. "description": "The color for points and clusters in RGB"
  2571. },
  2572. "color": {
  2573. "type": "ColorPickerControl",
  2574. "label": "Color",
  2575. "default": {
  2576. "r": 0,
  2577. "g": 122,
  2578. "b": 135,
  2579. "a": 1
  2580. },
  2581. "description": "Pick a color"
  2582. },
  2583. "ranges": {
  2584. "type": "TextControl",
  2585. "label": "Ranges",
  2586. "default": "",
  2587. "description": "Ranges to highlight with shading"
  2588. },
  2589. "range_labels": {
  2590. "type": "TextControl",
  2591. "label": "Range labels",
  2592. "default": "",
  2593. "description": "Labels for the ranges"
  2594. },
  2595. "markers": {
  2596. "type": "TextControl",
  2597. "label": "Markers",
  2598. "default": "",
  2599. "description": "List of values to mark with triangles"
  2600. },
  2601. "marker_labels": {
  2602. "type": "TextControl",
  2603. "label": "Marker labels",
  2604. "default": "",
  2605. "description": "Labels for the markers"
  2606. },
  2607. "marker_lines": {
  2608. "type": "TextControl",
  2609. "label": "Marker lines",
  2610. "default": "",
  2611. "description": "List of values to mark with lines"
  2612. },
  2613. "marker_line_labels": {
  2614. "type": "TextControl",
  2615. "label": "Marker line labels",
  2616. "default": "",
  2617. "description": "Labels for the marker lines"
  2618. },
  2619. "annotation_layers": {
  2620. "type": "AnnotationLayerControl",
  2621. "label": "",
  2622. "default": [],
  2623. "description": "Annotation Layers",
  2624. "renderTrigger": true
  2625. },
  2626. "slice_id": {
  2627. "type": "HiddenControl",
  2628. "label": "Slice ID",
  2629. "hidden": true,
  2630. "description": "The id of the active slice"
  2631. },
  2632. "cache_timeout": {
  2633. "type": "HiddenControl",
  2634. "label": "Cache Timeout (seconds)",
  2635. "hidden": true,
  2636. "description": "The number of seconds before expiring the cache"
  2637. },
  2638. "order_by_entity": {
  2639. "type": "CheckboxControl",
  2640. "label": "Order by entity id",
  2641. "description": "Important! Select this if the table is not already sorted by entity id, else there is no guarantee that all events for each entity are returned.",
  2642. "default": true
  2643. },
  2644. "min_leaf_node_event_count": {
  2645. "type": "SelectControl",
  2646. "freeForm": false,
  2647. "label": "Minimum leaf node event count",
  2648. "default": 1,
  2649. "choices": [
  2650. [
  2651. 1,
  2652. "1"
  2653. ],
  2654. [
  2655. 2,
  2656. "2"
  2657. ],
  2658. [
  2659. 3,
  2660. "3"
  2661. ],
  2662. [
  2663. 4,
  2664. "4"
  2665. ],
  2666. [
  2667. 5,
  2668. "5"
  2669. ],
  2670. [
  2671. 6,
  2672. "6"
  2673. ],
  2674. [
  2675. 7,
  2676. "7"
  2677. ],
  2678. [
  2679. 8,
  2680. "8"
  2681. ],
  2682. [
  2683. 9,
  2684. "9"
  2685. ],
  2686. [
  2687. 10,
  2688. "10"
  2689. ]
  2690. ],
  2691. "description": "Leaf nodes that represent fewer than this number of events will be initially hidden in the visualization"
  2692. },
  2693. "color_scheme": {
  2694. "type": "ColorSchemeControl",
  2695. "label": "Color Scheme",
  2696. "default": "bnbColors",
  2697. "renderTrigger": true,
  2698. "choices": [
  2699. [
  2700. "bnbColors",
  2701. "bnbColors"
  2702. ],
  2703. [
  2704. "d3Category10",
  2705. "d3Category10"
  2706. ],
  2707. [
  2708. "d3Category20",
  2709. "d3Category20"
  2710. ],
  2711. [
  2712. "d3Category20b",
  2713. "d3Category20b"
  2714. ],
  2715. [
  2716. "d3Category20c",
  2717. "d3Category20c"
  2718. ],
  2719. [
  2720. "googleCategory10c",
  2721. "googleCategory10c"
  2722. ],
  2723. [
  2724. "googleCategory20c",
  2725. "googleCategory20c"
  2726. ],
  2727. [
  2728. "lyftColors",
  2729. "lyftColors"
  2730. ]
  2731. ],
  2732. "description": "The color scheme for rendering chart",
  2733. "schemes": {
  2734. "bnbColors": [
  2735. "#ff5a5f",
  2736. "#7b0051",
  2737. "#007A87",
  2738. "#00d1c1",
  2739. "#8ce071",
  2740. "#ffb400",
  2741. "#b4a76c",
  2742. "#ff8083",
  2743. "#cc0086",
  2744. "#00a1b3",
  2745. "#00ffeb",
  2746. "#bbedab",
  2747. "#ffd266",
  2748. "#cbc29a",
  2749. "#ff3339",
  2750. "#ff1ab1",
  2751. "#005c66",
  2752. "#00b3a5",
  2753. "#55d12e",
  2754. "#b37e00",
  2755. "#988b4e"
  2756. ],
  2757. "d3Category10": [
  2758. "#1f77b4",
  2759. "#ff7f0e",
  2760. "#2ca02c",
  2761. "#d62728",
  2762. "#9467bd",
  2763. "#8c564b",
  2764. "#e377c2",
  2765. "#7f7f7f",
  2766. "#bcbd22",
  2767. "#17becf"
  2768. ],
  2769. "d3Category20": [
  2770. "#1f77b4",
  2771. "#aec7e8",
  2772. "#ff7f0e",
  2773. "#ffbb78",
  2774. "#2ca02c",
  2775. "#98df8a",
  2776. "#d62728",
  2777. "#ff9896",
  2778. "#9467bd",
  2779. "#c5b0d5",
  2780. "#8c564b",
  2781. "#c49c94",
  2782. "#e377c2",
  2783. "#f7b6d2",
  2784. "#7f7f7f",
  2785. "#c7c7c7",
  2786. "#bcbd22",
  2787. "#dbdb8d",
  2788. "#17becf",
  2789. "#9edae5"
  2790. ],
  2791. "d3Category20b": [
  2792. "#393b79",
  2793. "#5254a3",
  2794. "#6b6ecf",
  2795. "#9c9ede",
  2796. "#637939",
  2797. "#8ca252",
  2798. "#b5cf6b",
  2799. "#cedb9c",
  2800. "#8c6d31",
  2801. "#bd9e39",
  2802. "#e7ba52",
  2803. "#e7cb94",
  2804. "#843c39",
  2805. "#ad494a",
  2806. "#d6616b",
  2807. "#e7969c",
  2808. "#7b4173",
  2809. "#a55194",
  2810. "#ce6dbd",
  2811. "#de9ed6"
  2812. ],
  2813. "d3Category20c": [
  2814. "#3182bd",
  2815. "#6baed6",
  2816. "#9ecae1",
  2817. "#c6dbef",
  2818. "#e6550d",
  2819. "#fd8d3c",
  2820. "#fdae6b",
  2821. "#fdd0a2",
  2822. "#31a354",
  2823. "#74c476",
  2824. "#a1d99b",
  2825. "#c7e9c0",
  2826. "#756bb1",
  2827. "#9e9ac8",
  2828. "#bcbddc",
  2829. "#dadaeb",
  2830. "#636363",
  2831. "#969696",
  2832. "#bdbdbd",
  2833. "#d9d9d9"
  2834. ],
  2835. "googleCategory10c": [
  2836. "#3366cc",
  2837. "#dc3912",
  2838. "#ff9900",
  2839. "#109618",
  2840. "#990099",
  2841. "#0099c6",
  2842. "#dd4477",
  2843. "#66aa00",
  2844. "#b82e2e",
  2845. "#316395"
  2846. ],
  2847. "googleCategory20c": [
  2848. "#3366cc",
  2849. "#dc3912",
  2850. "#ff9900",
  2851. "#109618",
  2852. "#990099",
  2853. "#0099c6",
  2854. "#dd4477",
  2855. "#66aa00",
  2856. "#b82e2e",
  2857. "#316395",
  2858. "#994499",
  2859. "#22aa99",
  2860. "#aaaa11",
  2861. "#6633cc",
  2862. "#e67300",
  2863. "#8b0707",
  2864. "#651067",
  2865. "#329262",
  2866. "#5574a6",
  2867. "#3b3eac"
  2868. ]
  2869. }
  2870. },
  2871. "significance_level": {
  2872. "type": "TextControl",
  2873. "label": "Significance Level",
  2874. "default": 0.05,
  2875. "description": "Threshold alpha level for determining significance"
  2876. },
  2877. "pvalue_precision": {
  2878. "type": "TextControl",
  2879. "label": "p-value precision",
  2880. "default": 6,
  2881. "description": "Number of decimal places with which to display p-values"
  2882. },
  2883. "liftvalue_precision": {
  2884. "type": "TextControl",
  2885. "label": "Lift percent precision",
  2886. "default": 4,
  2887. "description": "Number of decimal places with which to display lift values"
  2888. },
  2889. "column_collection": {
  2890. "type": "CollectionControl",
  2891. "label": "Time Series Columns",
  2892. "validators": [
  2893. null
  2894. ],
  2895. "controlName": "TimeSeriesColumnControl"
  2896. },
  2897. "time_series_option": {
  2898. "type": "SelectControl",
  2899. "label": "Options",
  2900. "validators": [
  2901. null
  2902. ],
  2903. "default": "not_time",
  2904. "valueKey": "value",
  2905. "options": [
  2906. {
  2907. "label": "Not Time Series",
  2908. "value": "not_time",
  2909. "description": "Ignore time"
  2910. },
  2911. {
  2912. "label": "Time Series",
  2913. "value": "time_series",
  2914. "description": "Standard time series"
  2915. },
  2916. {
  2917. "label": "Aggregate Mean",
  2918. "value": "agg_mean",
  2919. "description": "Mean of values over specified period"
  2920. },
  2921. {
  2922. "label": "Aggregate Sum",
  2923. "value": "agg_sum",
  2924. "description": "Sum of values over specified period"
  2925. },
  2926. {
  2927. "label": "Difference",
  2928. "value": "point_diff",
  2929. "description": "Metric change in value from `since` to `until`"
  2930. },
  2931. {
  2932. "label": "Percent Change",
  2933. "value": "point_percent",
  2934. "description": "Metric percent change in value from `since` to `until`"
  2935. },
  2936. {
  2937. "label": "Factor",
  2938. "value": "point_factor",
  2939. "description": "Metric factor change from `since` to `until`"
  2940. },
  2941. {
  2942. "label": "Advanced Analytics",
  2943. "value": "adv_anal",
  2944. "description": "Use the Advanced Analytics options below"
  2945. }
  2946. ],
  2947. "description": "Settings for time series"
  2948. },
  2949. "equal_date_size": {
  2950. "type": "CheckboxControl",
  2951. "label": "Equal Date Sizes",
  2952. "default": true,
  2953. "renderTrigger": true,
  2954. "description": "Check to force date partitions to have the same height"
  2955. },
  2956. "partition_limit": {
  2957. "type": "TextControl",
  2958. "label": "Partition Limit",
  2959. "isInt": true,
  2960. "default": "5",
  2961. "description": "The maximum number of subdivisions of each group; lower values are pruned first"
  2962. },
  2963. "partition_threshold": {
  2964. "type": "TextControl",
  2965. "label": "Partition Threshold",
  2966. "isFloat": true,
  2967. "default": "0.05",
  2968. "description": "Partitions whose height to parent height proportions are below this value are pruned"
  2969. }
  2970. }
  2971. }