12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972 |
- {
- "controls": {
- "datasource": {
- "type": "DatasourceControl",
- "label": "Datasource",
- "default": null,
- "description": null
- },
- "viz_type": {
- "type": "VizTypeControl",
- "label": "Visualization Type",
- "default": "table",
- "description": "The type of visualization to display"
- },
- "metrics": {
- "type": "SelectControl",
- "multi": true,
- "label": "Metrics",
- "validators": [
- null
- ],
- "valueKey": "metric_name",
- "description": "One or many metrics to display"
- },
- "percent_metrics": {
- "type": "SelectControl",
- "multi": true,
- "label": "Percentage Metrics",
- "valueKey": "metric_name",
- "description": "Metrics for which percentage of total are to be displayed"
- },
- "y_axis_bounds": {
- "type": "BoundsControl",
- "label": "Y Axis Bounds",
- "renderTrigger": true,
- "default": [
- null,
- null
- ],
- "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."
- },
- "order_by_cols": {
- "type": "SelectControl",
- "multi": true,
- "label": "Ordering",
- "default": [],
- "description": "One or many metrics to display"
- },
- "color_picker": {
- "label": "Fixed Color",
- "description": "Use this to define a static color for all circles",
- "type": "ColorPickerControl",
- "default": {
- "r": 0,
- "g": 122,
- "b": 135,
- "a": 1
- },
- "renderTrigger": true
- },
- "metric": {
- "type": "SelectControl",
- "label": "Metric",
- "clearable": false,
- "description": "Choose the metric",
- "validators": [
- null
- ],
- "valueKey": "metric_name"
- },
- "metric_2": {
- "type": "SelectControl",
- "label": "Right Axis Metric",
- "default": null,
- "validators": [
- null
- ],
- "clearable": true,
- "description": "Choose a metric for right axis",
- "valueKey": "metric_name"
- },
- "stacked_style": {
- "type": "SelectControl",
- "label": "Stacked Style",
- "choices": [
- [
- "stack",
- "stack"
- ],
- [
- "stream",
- "stream"
- ],
- [
- "expand",
- "expand"
- ]
- ],
- "default": "stack",
- "description": ""
- },
- "sort_x_axis": {
- "type": "SelectControl",
- "label": "Sort X Axis",
- "choices": [
- [
- "alpha_asc",
- "Axis ascending"
- ],
- [
- "alpha_desc",
- "Axis descending"
- ],
- [
- "value_asc",
- "sum(value) ascending"
- ],
- [
- "value_desc",
- "sum(value) descending"
- ]
- ],
- "clearable": false,
- "default": "alpha_asc"
- },
- "sort_y_axis": {
- "type": "SelectControl",
- "label": "Sort Y Axis",
- "choices": [
- [
- "alpha_asc",
- "Axis ascending"
- ],
- [
- "alpha_desc",
- "Axis descending"
- ],
- [
- "value_asc",
- "sum(value) ascending"
- ],
- [
- "value_desc",
- "sum(value) descending"
- ]
- ],
- "clearable": false,
- "default": "alpha_asc"
- },
- "linear_color_scheme": {
- "type": "ColorSchemeControl",
- "label": "Linear Color Scheme",
- "choices": [
- [
- "fire",
- "fire"
- ],
- [
- "blue_white_yellow",
- "blue/white/yellow"
- ],
- [
- "white_black",
- "white/black"
- ],
- [
- "black_white",
- "black/white"
- ],
- [
- "dark_blue",
- "light/dark blue"
- ],
- [
- "pink_grey",
- "pink/white/grey"
- ]
- ],
- "default": "blue_white_yellow",
- "clearable": false,
- "description": "",
- "renderTrigger": true,
- "schemes": {
- "blue_white_yellow": [
- "#00d1c1",
- "white",
- "#ffb400"
- ],
- "fire": [
- "white",
- "yellow",
- "red",
- "black"
- ],
- "white_black": [
- "white",
- "black"
- ],
- "black_white": [
- "black",
- "white"
- ],
- "dark_blue": [
- "#EBF5F8",
- "#6BB1CC",
- "#357E9B",
- "#1B4150",
- "#092935"
- ],
- "pink_grey": [
- "#E70B81",
- "#FAFAFA",
- "#666666"
- ]
- },
- "isLinear": true
- },
- "normalize_across": {
- "type": "SelectControl",
- "label": "Normalize Across",
- "choices": [
- [
- "heatmap",
- "heatmap"
- ],
- [
- "x",
- "x"
- ],
- [
- "y",
- "y"
- ]
- ],
- "default": "heatmap",
- "description": "Color will be rendered based on a ratio of the cell against the sum of across this criteria"
- },
- "horizon_color_scale": {
- "type": "SelectControl",
- "label": "Horizon Color Scale",
- "choices": [
- [
- "series",
- "series"
- ],
- [
- "overall",
- "overall"
- ],
- [
- "change",
- "change"
- ]
- ],
- "default": "series",
- "description": "Defines how the color are attributed."
- },
- "canvas_image_rendering": {
- "type": "SelectControl",
- "label": "Rendering",
- "renderTrigger": true,
- "choices": [
- [
- "pixelated",
- "pixelated (Sharp)"
- ],
- [
- "auto",
- "auto (Smooth)"
- ]
- ],
- "default": "pixelated",
- "description": "image-rendering CSS attribute of the canvas object that defines how the browser scales up the image"
- },
- "xscale_interval": {
- "type": "SelectControl",
- "label": "XScale Interval",
- "choices": [
- [
- 1,
- "1"
- ],
- [
- 2,
- "2"
- ],
- [
- 3,
- "3"
- ],
- [
- 4,
- "4"
- ],
- [
- 5,
- "5"
- ],
- [
- 6,
- "6"
- ],
- [
- 7,
- "7"
- ],
- [
- 8,
- "8"
- ],
- [
- 9,
- "9"
- ],
- [
- 10,
- "10"
- ],
- [
- 11,
- "11"
- ],
- [
- 12,
- "12"
- ],
- [
- 13,
- "13"
- ],
- [
- 14,
- "14"
- ],
- [
- 15,
- "15"
- ],
- [
- 16,
- "16"
- ],
- [
- 17,
- "17"
- ],
- [
- 18,
- "18"
- ],
- [
- 19,
- "19"
- ],
- [
- 20,
- "20"
- ],
- [
- 21,
- "21"
- ],
- [
- 22,
- "22"
- ],
- [
- 23,
- "23"
- ],
- [
- 24,
- "24"
- ],
- [
- 25,
- "25"
- ],
- [
- 26,
- "26"
- ],
- [
- 27,
- "27"
- ],
- [
- 28,
- "28"
- ],
- [
- 29,
- "29"
- ],
- [
- 30,
- "30"
- ],
- [
- 31,
- "31"
- ],
- [
- 32,
- "32"
- ],
- [
- 33,
- "33"
- ],
- [
- 34,
- "34"
- ],
- [
- 35,
- "35"
- ],
- [
- 36,
- "36"
- ],
- [
- 37,
- "37"
- ],
- [
- 38,
- "38"
- ],
- [
- 39,
- "39"
- ],
- [
- 40,
- "40"
- ],
- [
- 41,
- "41"
- ],
- [
- 42,
- "42"
- ],
- [
- 43,
- "43"
- ],
- [
- 44,
- "44"
- ],
- [
- 45,
- "45"
- ],
- [
- 46,
- "46"
- ],
- [
- 47,
- "47"
- ],
- [
- 48,
- "48"
- ],
- [
- 49,
- "49"
- ],
- [
- 50,
- "50"
- ]
- ],
- "default": "1",
- "description": "Number of steps to take between ticks when displaying the X scale"
- },
- "yscale_interval": {
- "type": "SelectControl",
- "label": "YScale Interval",
- "choices": [
- [
- 1,
- "1"
- ],
- [
- 2,
- "2"
- ],
- [
- 3,
- "3"
- ],
- [
- 4,
- "4"
- ],
- [
- 5,
- "5"
- ],
- [
- 6,
- "6"
- ],
- [
- 7,
- "7"
- ],
- [
- 8,
- "8"
- ],
- [
- 9,
- "9"
- ],
- [
- 10,
- "10"
- ],
- [
- 11,
- "11"
- ],
- [
- 12,
- "12"
- ],
- [
- 13,
- "13"
- ],
- [
- 14,
- "14"
- ],
- [
- 15,
- "15"
- ],
- [
- 16,
- "16"
- ],
- [
- 17,
- "17"
- ],
- [
- 18,
- "18"
- ],
- [
- 19,
- "19"
- ],
- [
- 20,
- "20"
- ],
- [
- 21,
- "21"
- ],
- [
- 22,
- "22"
- ],
- [
- 23,
- "23"
- ],
- [
- 24,
- "24"
- ],
- [
- 25,
- "25"
- ],
- [
- 26,
- "26"
- ],
- [
- 27,
- "27"
- ],
- [
- 28,
- "28"
- ],
- [
- 29,
- "29"
- ],
- [
- 30,
- "30"
- ],
- [
- 31,
- "31"
- ],
- [
- 32,
- "32"
- ],
- [
- 33,
- "33"
- ],
- [
- 34,
- "34"
- ],
- [
- 35,
- "35"
- ],
- [
- 36,
- "36"
- ],
- [
- 37,
- "37"
- ],
- [
- 38,
- "38"
- ],
- [
- 39,
- "39"
- ],
- [
- 40,
- "40"
- ],
- [
- 41,
- "41"
- ],
- [
- 42,
- "42"
- ],
- [
- 43,
- "43"
- ],
- [
- 44,
- "44"
- ],
- [
- 45,
- "45"
- ],
- [
- 46,
- "46"
- ],
- [
- 47,
- "47"
- ],
- [
- 48,
- "48"
- ],
- [
- 49,
- "49"
- ],
- [
- 50,
- "50"
- ]
- ],
- "default": null,
- "description": "Number of steps to take between ticks when displaying the Y scale"
- },
- "include_time": {
- "type": "CheckboxControl",
- "label": "Include Time",
- "description": "Whether to include the time granularity as defined in the time section",
- "default": false
- },
- "show_perc": {
- "type": "CheckboxControl",
- "label": "Show percentage",
- "renderTrigger": true,
- "description": "Whether to include the percentage in the tooltip",
- "default": true
- },
- "bar_stacked": {
- "type": "CheckboxControl",
- "label": "Stacked Bars",
- "renderTrigger": true,
- "default": false,
- "description": null
- },
- "pivot_margins": {
- "type": "CheckboxControl",
- "label": "Show totals",
- "renderTrigger": false,
- "default": true,
- "description": "Display total row/column"
- },
- "show_markers": {
- "type": "CheckboxControl",
- "label": "Show Markers",
- "renderTrigger": true,
- "default": false,
- "description": "Show data points as circle markers on the lines"
- },
- "show_bar_value": {
- "type": "CheckboxControl",
- "label": "Bar Values",
- "default": false,
- "renderTrigger": true,
- "description": "Show the value on top of the bar"
- },
- "order_bars": {
- "type": "CheckboxControl",
- "label": "Sort Bars",
- "default": false,
- "description": "Sort bars by x labels."
- },
- "combine_metric": {
- "type": "CheckboxControl",
- "label": "Combine Metrics",
- "default": false,
- "description": "Display metrics side by side within each column, as opposed to each column being displayed side by side for each metric."
- },
- "show_controls": {
- "type": "CheckboxControl",
- "label": "Extra Controls",
- "renderTrigger": true,
- "default": false,
- "description": "Whether to show extra controls or not. Extra controls include things like making mulitBar charts stacked or side by side."
- },
- "reduce_x_ticks": {
- "type": "CheckboxControl",
- "label": "Reduce X ticks",
- "renderTrigger": true,
- "default": false,
- "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."
- },
- "include_series": {
- "type": "CheckboxControl",
- "label": "Include Series",
- "renderTrigger": true,
- "default": false,
- "description": "Include series name as an axis"
- },
- "secondary_metric": {
- "type": "SelectControl",
- "label": "Color Metric",
- "default": null,
- "description": "A metric to use for color"
- },
- "select_country": {
- "type": "SelectControl",
- "label": "Country Name",
- "default": "France",
- "choices": [
- [
- "Belgium",
- "Belgium"
- ],
- [
- "Brazil",
- "Brazil"
- ],
- [
- "China",
- "China"
- ],
- [
- "Egypt",
- "Egypt"
- ],
- [
- "France",
- "France"
- ],
- [
- "Germany",
- "Germany"
- ],
- [
- "Italy",
- "Italy"
- ],
- [
- "Morocco",
- "Morocco"
- ],
- [
- "Netherlands",
- "Netherlands"
- ],
- [
- "Russia",
- "Russia"
- ],
- [
- "Singapore",
- "Singapore"
- ],
- [
- "Spain",
- "Spain"
- ],
- [
- "Uk",
- "Uk"
- ],
- [
- "Ukraine",
- "Ukraine"
- ],
- [
- "Usa",
- "Usa"
- ]
- ],
- "description": "The name of country that Superset should display"
- },
- "country_fieldtype": {
- "type": "SelectControl",
- "label": "Country Field Type",
- "default": "cca2",
- "choices": [
- [
- "name",
- "Full name"
- ],
- [
- "cioc",
- "code International Olympic Committee (cioc)"
- ],
- [
- "cca2",
- "code ISO 3166-1 alpha-2 (cca2)"
- ],
- [
- "cca3",
- "code ISO 3166-1 alpha-3 (cca3)"
- ]
- ],
- "description": "The country code standard that Superset should expect to find in the [country] column"
- },
- "freq": {
- "type": "SelectControl",
- "label": "Frequency",
- "default": "W-MON",
- "freeForm": true,
- "clearable": false,
- "choices": [
- [
- "AS",
- "Year (freq=AS)"
- ],
- [
- "52W-MON",
- "52 weeks starting Monday (freq=52W-MON)"
- ],
- [
- "W-SUN",
- "1 week starting Sunday (freq=W-SUN)"
- ],
- [
- "W-MON",
- "1 week starting Monday (freq=W-MON)"
- ],
- [
- "D",
- "Day (freq=D)"
- ],
- [
- "4W-MON",
- "4 weeks (freq=4W-MON)"
- ]
- ],
- "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."
- },
- "groupby": {
- "type": "SelectControl",
- "multi": true,
- "label": "Group by",
- "default": [],
- "includeTime": false,
- "description": "One or many controls to group by",
- "valueKey": "column_name"
- },
- "dimension": {
- "type": "SelectControl",
- "multi": false,
- "label": "Dimension",
- "default": null,
- "includeTime": false,
- "description": "Select a dimension",
- "valueKey": "column_name"
- },
- "columns": {
- "type": "SelectControl",
- "multi": true,
- "label": "Columns",
- "default": [],
- "includeTime": false,
- "description": "One or many controls to pivot as columns",
- "valueKey": "column_name"
- },
- "all_columns": {
- "type": "SelectControl",
- "multi": true,
- "label": "Columns",
- "default": [],
- "description": "Columns to display"
- },
- "longitude": {
- "type": "SelectControl",
- "label": "Longitude",
- "default": 1,
- "validators": [
- null
- ],
- "description": "Select the longitude column"
- },
- "latitude": {
- "type": "SelectControl",
- "label": "Latitude",
- "default": 1,
- "validators": [
- null
- ],
- "description": "Select the latitude column"
- },
- "all_columns_x": {
- "type": "SelectControl",
- "label": "X",
- "default": null,
- "description": "Columns to display"
- },
- "all_columns_y": {
- "type": "SelectControl",
- "label": "Y",
- "default": null,
- "description": "Columns to display"
- },
- "druid_time_origin": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Origin",
- "choices": [
- [
- "",
- "default"
- ],
- [
- "now",
- "now"
- ]
- ],
- "default": null,
- "description": "Defines the origin where time buckets start, accepts natural dates as in `now`, `sunday` or `1970-01-01`"
- },
- "bottom_margin": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Bottom Margin",
- "choices": [
- [
- "auto",
- "auto"
- ],
- [
- 50,
- "50"
- ],
- [
- 75,
- "75"
- ],
- [
- 100,
- "100"
- ],
- [
- 125,
- "125"
- ],
- [
- 150,
- "150"
- ],
- [
- 200,
- "200"
- ]
- ],
- "default": "auto",
- "renderTrigger": true,
- "description": "Bottom margin, in pixels, allowing for more room for axis labels"
- },
- "left_margin": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Left Margin",
- "choices": [
- [
- "auto",
- "auto"
- ],
- [
- 50,
- "50"
- ],
- [
- 75,
- "75"
- ],
- [
- 100,
- "100"
- ],
- [
- 125,
- "125"
- ],
- [
- 150,
- "150"
- ],
- [
- 200,
- "200"
- ]
- ],
- "default": "auto",
- "renderTrigger": true,
- "description": "Left margin, in pixels, allowing for more room for axis labels"
- },
- "granularity": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Time Granularity",
- "default": "one day",
- "choices": [
- [
- "all",
- "all"
- ],
- [
- "5 seconds",
- "5 seconds"
- ],
- [
- "30 seconds",
- "30 seconds"
- ],
- [
- "1 minute",
- "1 minute"
- ],
- [
- "5 minutes",
- "5 minutes"
- ],
- [
- "1 hour",
- "1 hour"
- ],
- [
- "6 hour",
- "6 hour"
- ],
- [
- "1 day",
- "1 day"
- ],
- [
- "7 days",
- "7 days"
- ],
- [
- "week",
- "week"
- ],
- [
- "week_starting_sunday",
- "week_starting_sunday"
- ],
- [
- "week_ending_saturday",
- "week_ending_saturday"
- ],
- [
- "month",
- "month"
- ]
- ],
- "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`"
- },
- "domain_granularity": {
- "type": "SelectControl",
- "label": "Domain",
- "default": "month",
- "choices": [
- [
- "hour",
- "hour"
- ],
- [
- "day",
- "day"
- ],
- [
- "week",
- "week"
- ],
- [
- "month",
- "month"
- ],
- [
- "year",
- "year"
- ]
- ],
- "description": "The time unit used for the grouping of blocks"
- },
- "subdomain_granularity": {
- "type": "SelectControl",
- "label": "Subdomain",
- "default": "day",
- "choices": [
- [
- "min",
- "min"
- ],
- [
- "hour",
- "hour"
- ],
- [
- "day",
- "day"
- ],
- [
- "week",
- "week"
- ],
- [
- "month",
- "month"
- ]
- ],
- "description": "The time unit for each block. Should be a smaller unit than domain_granularity. Should be larger or equal to Time Grain"
- },
- "link_length": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Link Length",
- "default": "200",
- "choices": [
- [
- "10",
- "10"
- ],
- [
- "25",
- "25"
- ],
- [
- "50",
- "50"
- ],
- [
- "75",
- "75"
- ],
- [
- "100",
- "100"
- ],
- [
- "150",
- "150"
- ],
- [
- "200",
- "200"
- ],
- [
- "250",
- "250"
- ]
- ],
- "description": "Link length in the force layout"
- },
- "charge": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Charge",
- "default": "-500",
- "choices": [
- [
- "-50",
- "-50"
- ],
- [
- "-75",
- "-75"
- ],
- [
- "-100",
- "-100"
- ],
- [
- "-150",
- "-150"
- ],
- [
- "-200",
- "-200"
- ],
- [
- "-250",
- "-250"
- ],
- [
- "-500",
- "-500"
- ],
- [
- "-1000",
- "-1000"
- ],
- [
- "-2500",
- "-2500"
- ],
- [
- "-5000",
- "-5000"
- ]
- ],
- "description": "Charge in the force layout"
- },
- "granularity_sqla": {
- "type": "SelectControl",
- "label": "Time Column",
- "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",
- "clearable": false,
- "valueKey": "column_name"
- },
- "time_grain_sqla": {
- "type": "SelectControl",
- "label": "Time Grain",
- "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."
- },
- "resample_rule": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Resample Rule",
- "default": null,
- "choices": [
- [
- "",
- ""
- ],
- [
- "1T",
- "1T"
- ],
- [
- "1H",
- "1H"
- ],
- [
- "1D",
- "1D"
- ],
- [
- "7D",
- "7D"
- ],
- [
- "1M",
- "1M"
- ],
- [
- "1AS",
- "1AS"
- ]
- ],
- "description": "Pandas resample rule"
- },
- "resample_how": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Resample How",
- "default": null,
- "choices": [
- [
- "",
- ""
- ],
- [
- "mean",
- "mean"
- ],
- [
- "sum",
- "sum"
- ],
- [
- "median",
- "median"
- ]
- ],
- "description": "Pandas resample how"
- },
- "resample_fillmethod": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Resample Fill Method",
- "default": null,
- "choices": [
- [
- "",
- ""
- ],
- [
- "ffill",
- "ffill"
- ],
- [
- "bfill",
- "bfill"
- ]
- ],
- "description": "Pandas resample fill method"
- },
- "since": {
- "type": "DateFilterControl",
- "freeForm": true,
- "label": "Since",
- "default": "7 days ago"
- },
- "until": {
- "type": "DateFilterControl",
- "freeForm": true,
- "label": "Until",
- "default": "now"
- },
- "max_bubble_size": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Max Bubble Size",
- "default": "25",
- "choices": [
- [
- "5",
- "5"
- ],
- [
- "10",
- "10"
- ],
- [
- "15",
- "15"
- ],
- [
- "25",
- "25"
- ],
- [
- "50",
- "50"
- ],
- [
- "75",
- "75"
- ],
- [
- "100",
- "100"
- ]
- ]
- },
- "whisker_options": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Whisker/outlier options",
- "default": "Tukey",
- "description": "Determines how whiskers and outliers are calculated.",
- "choices": [
- [
- "Tukey",
- "Tukey"
- ],
- [
- "Min/max (no outliers)",
- "Min/max (no outliers)"
- ],
- [
- "2/98 percentiles",
- "2/98 percentiles"
- ],
- [
- "9/91 percentiles",
- "9/91 percentiles"
- ]
- ]
- },
- "treemap_ratio": {
- "type": "TextControl",
- "label": "Ratio",
- "isFloat": true,
- "default": 1.618033988749895,
- "description": "Target aspect ratio for treemap tiles."
- },
- "number_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Number format",
- "renderTrigger": true,
- "default": ".3s",
- "choices": [
- [
- ".3s",
- ".3s | 12.3k"
- ],
- [
- ".3%",
- ".3% | 1234543.210%"
- ],
- [
- ".4r",
- ".4r | 12350"
- ],
- [
- ".3f",
- ".3f | 12345.432"
- ],
- [
- "+,",
- "+, | +12,345.4321"
- ],
- [
- "$,.2f",
- "$,.2f | $12,345.43"
- ]
- ],
- "description": "D3 format syntax: https://github.com/d3/d3-format"
- },
- "row_limit": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Row limit",
- "validators": [
- null
- ],
- "default": null,
- "choices": [
- [
- 10,
- "10"
- ],
- [
- 50,
- "50"
- ],
- [
- 100,
- "100"
- ],
- [
- 250,
- "250"
- ],
- [
- 500,
- "500"
- ],
- [
- 1000,
- "1000"
- ],
- [
- 5000,
- "5000"
- ],
- [
- 10000,
- "10000"
- ],
- [
- 50000,
- "50000"
- ]
- ]
- },
- "limit": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Series limit",
- "validators": [
- null
- ],
- "choices": [
- [
- 0,
- "0"
- ],
- [
- 5,
- "5"
- ],
- [
- 10,
- "10"
- ],
- [
- 25,
- "25"
- ],
- [
- 50,
- "50"
- ],
- [
- 100,
- "100"
- ],
- [
- 500,
- "500"
- ]
- ],
- "default": 50,
- "description": "Limits the number of time series that get displayed"
- },
- "timeseries_limit_metric": {
- "type": "SelectControl",
- "label": "Sort By",
- "default": null,
- "description": "Metric used to define the top series"
- },
- "order_desc": {
- "type": "CheckboxControl",
- "label": "Sort Descending",
- "default": true,
- "description": "Whether to sort descending or ascending"
- },
- "rolling_type": {
- "type": "SelectControl",
- "label": "Rolling",
- "default": "None",
- "choices": [
- [
- "None",
- "None"
- ],
- [
- "mean",
- "mean"
- ],
- [
- "sum",
- "sum"
- ],
- [
- "std",
- "std"
- ],
- [
- "cumsum",
- "cumsum"
- ]
- ],
- "description": "Defines a rolling window function to apply, works along with the [Periods] text box"
- },
- "multiplier": {
- "type": "TextControl",
- "label": "Multiplier",
- "isFloat": true,
- "default": 1,
- "description": "Factor to multiply the metric by"
- },
- "rolling_periods": {
- "type": "TextControl",
- "label": "Periods",
- "isInt": true,
- "description": "Defines the size of the rolling window function, relative to the time granularity selected"
- },
- "grid_size": {
- "type": "TextControl",
- "label": "Grid Size",
- "renderTrigger": true,
- "default": 20,
- "isInt": true,
- "description": "Defines the grid size in pixels"
- },
- "min_periods": {
- "type": "TextControl",
- "label": "Min Periods",
- "isInt": true,
- "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"
- },
- "series": {
- "type": "SelectControl",
- "label": "Series",
- "default": null,
- "description": "Defines the grouping of entities. Each series is shown as a specific color on the chart and has a legend toggle"
- },
- "entity": {
- "type": "SelectControl",
- "label": "Entity",
- "default": null,
- "validators": [
- null
- ],
- "description": "This defines the element to be plotted on the chart"
- },
- "x": {
- "type": "SelectControl",
- "label": "X Axis",
- "description": "Metric assigned to the [X] axis",
- "default": null,
- "validators": [
- null
- ],
- "valueKey": "metric_name"
- },
- "y": {
- "type": "SelectControl",
- "label": "Y Axis",
- "default": null,
- "validators": [
- null
- ],
- "description": "Metric assigned to the [Y] axis",
- "valueKey": "metric_name"
- },
- "size": {
- "type": "SelectControl",
- "label": "Bubble Size",
- "default": null,
- "validators": [
- null
- ],
- "valueKey": "metric_name"
- },
- "url": {
- "type": "TextControl",
- "label": "URL",
- "description": "The URL, this control is templated, so you can integrate {{ width }} and/or {{ height }} in your URL string.",
- "default": "https://www.youtube.com/embed/AdSZJzb-aX8"
- },
- "x_axis_label": {
- "type": "TextControl",
- "label": "X Axis Label",
- "renderTrigger": true,
- "default": ""
- },
- "y_axis_label": {
- "type": "TextControl",
- "label": "Y Axis Label",
- "renderTrigger": true,
- "default": ""
- },
- "compare_lag": {
- "type": "TextControl",
- "label": "Comparison Period Lag",
- "isInt": true,
- "description": "Based on granularity, number of time periods to compare against"
- },
- "compare_suffix": {
- "type": "TextControl",
- "label": "Comparison suffix",
- "description": "Suffix to apply after the percentage display"
- },
- "table_timestamp_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Table Timestamp Format",
- "default": "%Y-%m-%d %H:%M:%S",
- "validators": [
- null
- ],
- "clearable": false,
- "choices": [
- [
- "smart_date",
- "Adaptative formating"
- ],
- [
- "%m/%d/%Y",
- "%m/%d/%Y | 01/14/2019"
- ],
- [
- "%Y-%m-%d",
- "%Y-%m-%d | 2019-01-14"
- ],
- [
- "%Y-%m-%d %H:%M:%S",
- "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10"
- ],
- [
- "%H:%M:%S",
- "%H:%M:%S | 01:32:10"
- ]
- ],
- "description": "Timestamp Format"
- },
- "series_height": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Series Height",
- "default": "25",
- "choices": [
- [
- "10",
- "10"
- ],
- [
- "25",
- "25"
- ],
- [
- "40",
- "40"
- ],
- [
- "50",
- "50"
- ],
- [
- "75",
- "75"
- ],
- [
- "100",
- "100"
- ],
- [
- "150",
- "150"
- ],
- [
- "200",
- "200"
- ]
- ],
- "description": "Pixel height of each series"
- },
- "page_length": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Page Length",
- "default": 0,
- "choices": [
- [
- 0,
- "0"
- ],
- [
- 10,
- "10"
- ],
- [
- 25,
- "25"
- ],
- [
- 40,
- "40"
- ],
- [
- 50,
- "50"
- ],
- [
- 75,
- "75"
- ],
- [
- 100,
- "100"
- ],
- [
- 150,
- "150"
- ],
- [
- 200,
- "200"
- ]
- ],
- "description": "Rows per page, 0 means no pagination"
- },
- "x_axis_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "X Axis Format",
- "renderTrigger": true,
- "default": ".3s",
- "choices": [
- [
- ".3s",
- ".3s | 12.3k"
- ],
- [
- ".3%",
- ".3% | 1234543.210%"
- ],
- [
- ".4r",
- ".4r | 12350"
- ],
- [
- ".3f",
- ".3f | 12345.432"
- ],
- [
- "+,",
- "+, | +12,345.4321"
- ],
- [
- "$,.2f",
- "$,.2f | $12,345.43"
- ]
- ],
- "description": "D3 format syntax: https://github.com/d3/d3-format"
- },
- "x_axis_time_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "X Axis Format",
- "renderTrigger": true,
- "default": "smart_date",
- "choices": [
- [
- "smart_date",
- "Adaptative formating"
- ],
- [
- "%m/%d/%Y",
- "%m/%d/%Y | 01/14/2019"
- ],
- [
- "%Y-%m-%d",
- "%Y-%m-%d | 2019-01-14"
- ],
- [
- "%Y-%m-%d %H:%M:%S",
- "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10"
- ],
- [
- "%H:%M:%S",
- "%H:%M:%S | 01:32:10"
- ]
- ],
- "description": "D3 format syntax: https://github.com/d3/d3-format"
- },
- "y_axis_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Y Axis Format",
- "renderTrigger": true,
- "default": ".3s",
- "choices": [
- [
- ".3s",
- ".3s | 12.3k"
- ],
- [
- ".3%",
- ".3% | 1234543.210%"
- ],
- [
- ".4r",
- ".4r | 12350"
- ],
- [
- ".3f",
- ".3f | 12345.432"
- ],
- [
- "+,",
- "+, | +12,345.4321"
- ],
- [
- "$,.2f",
- "$,.2f | $12,345.43"
- ]
- ],
- "description": "D3 format syntax: https://github.com/d3/d3-format"
- },
- "y_axis_2_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Right Axis Format",
- "default": ".3s",
- "choices": [
- [
- ".3s",
- ".3s | 12.3k"
- ],
- [
- ".3%",
- ".3% | 1234543.210%"
- ],
- [
- ".4r",
- ".4r | 12350"
- ],
- [
- ".3f",
- ".3f | 12345.432"
- ],
- [
- "+,",
- "+, | +12,345.4321"
- ],
- [
- "$,.2f",
- "$,.2f | $12,345.43"
- ]
- ],
- "description": "D3 format syntax: https://github.com/d3/d3-format"
- },
- "date_time_format": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Date Time Format",
- "renderTrigger": true,
- "default": "smart_date",
- "choices": [
- [
- "smart_date",
- "Adaptative formating"
- ],
- [
- "%m/%d/%Y",
- "%m/%d/%Y | 01/14/2019"
- ],
- [
- "%Y-%m-%d",
- "%Y-%m-%d | 2019-01-14"
- ],
- [
- "%Y-%m-%d %H:%M:%S",
- "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10"
- ],
- [
- "%H:%M:%S",
- "%H:%M:%S | 01:32:10"
- ]
- ],
- "description": "D3 format syntax: https://github.com/d3/d3-format"
- },
- "markup_type": {
- "type": "SelectControl",
- "label": "Markup Type",
- "clearable": false,
- "choices": [
- [
- "markdown",
- "markdown"
- ],
- [
- "html",
- "html"
- ]
- ],
- "default": "markdown",
- "validators": [
- null
- ],
- "description": "Pick your favorite markup language"
- },
- "rotation": {
- "type": "SelectControl",
- "label": "Rotation",
- "choices": [
- [
- "random",
- "random"
- ],
- [
- "flat",
- "flat"
- ],
- [
- "square",
- "square"
- ]
- ],
- "default": "random",
- "description": "Rotation to apply to words in the cloud"
- },
- "line_interpolation": {
- "type": "SelectControl",
- "label": "Line Style",
- "renderTrigger": true,
- "choices": [
- [
- "linear",
- "linear"
- ],
- [
- "basis",
- "basis"
- ],
- [
- "cardinal",
- "cardinal"
- ],
- [
- "monotone",
- "monotone"
- ],
- [
- "step-before",
- "step-before"
- ],
- [
- "step-after",
- "step-after"
- ]
- ],
- "default": "linear",
- "description": "Line interpolation as defined by d3.js"
- },
- "pie_label_type": {
- "type": "SelectControl",
- "label": "Label Type",
- "default": "key",
- "choices": [
- [
- "key",
- "Category Name"
- ],
- [
- "value",
- "Value"
- ],
- [
- "percent",
- "Percentage"
- ],
- [
- "key_value",
- "Category and Value"
- ],
- [
- "key_percent",
- "Category and Percentage"
- ]
- ],
- "description": "What should be shown on the label?"
- },
- "code": {
- "type": "TextAreaControl",
- "label": "Code",
- "description": "Put your code here",
- "default": ""
- },
- "pandas_aggfunc": {
- "type": "SelectControl",
- "label": "Aggregation function",
- "clearable": false,
- "choices": [
- [
- "sum",
- "sum"
- ],
- [
- "mean",
- "mean"
- ],
- [
- "min",
- "min"
- ],
- [
- "max",
- "max"
- ],
- [
- "median",
- "median"
- ],
- [
- "stdev",
- "stdev"
- ],
- [
- "var",
- "var"
- ]
- ],
- "default": "sum",
- "description": "Aggregate function to apply when pivoting and computing the total rows and columns"
- },
- "size_from": {
- "type": "TextControl",
- "isInt": true,
- "label": "Font Size From",
- "default": "20",
- "description": "Font size for the smallest value in the list"
- },
- "size_to": {
- "type": "TextControl",
- "isInt": true,
- "label": "Font Size To",
- "default": "150",
- "description": "Font size for the biggest value in the list"
- },
- "instant_filtering": {
- "type": "CheckboxControl",
- "label": "Instant Filtering",
- "renderTrigger": true,
- "default": true,
- "description": "Whether to apply filters as they change, or wait forusers to hit an [Apply] button"
- },
- "extruded": {
- "type": "CheckboxControl",
- "label": "Extruded",
- "renderTrigger": true,
- "default": true,
- "description": "Whether to make the grid 3D"
- },
- "show_brush": {
- "type": "CheckboxControl",
- "label": "Range Filter",
- "renderTrigger": true,
- "default": false,
- "description": "Whether to display the time range interactive selector"
- },
- "date_filter": {
- "type": "CheckboxControl",
- "label": "Date Filter",
- "default": false,
- "description": "Whether to include a time filter"
- },
- "show_sqla_time_granularity": {
- "type": "CheckboxControl",
- "label": "Show SQL Granularity Dropdown",
- "default": false,
- "description": "Check to include SQL Granularity dropdown"
- },
- "show_sqla_time_column": {
- "type": "CheckboxControl",
- "label": "Show SQL Time Column",
- "default": false,
- "description": "Check to include Time Column dropdown"
- },
- "show_druid_time_granularity": {
- "type": "CheckboxControl",
- "label": "Show Druid Granularity Dropdown",
- "default": false,
- "description": "Check to include Druid Granularity dropdown"
- },
- "show_druid_time_origin": {
- "type": "CheckboxControl",
- "label": "Show Druid Time Origin",
- "default": false,
- "description": "Check to include Time Origin dropdown"
- },
- "show_datatable": {
- "type": "CheckboxControl",
- "label": "Data Table",
- "default": false,
- "description": "Whether to display the interactive data table"
- },
- "include_search": {
- "type": "CheckboxControl",
- "label": "Search Box",
- "renderTrigger": true,
- "default": false,
- "description": "Whether to include a client side search box"
- },
- "table_filter": {
- "type": "CheckboxControl",
- "label": "Table Filter",
- "default": false,
- "description": "Whether to apply filter when table cell is clicked"
- },
- "align_pn": {
- "type": "CheckboxControl",
- "label": "Align +/-",
- "renderTrigger": true,
- "default": false,
- "description": "Whether to align the background chart for +/- values"
- },
- "color_pn": {
- "type": "CheckboxControl",
- "label": "Color +/-",
- "renderTrigger": true,
- "default": true,
- "description": "Whether to color +/- values"
- },
- "show_bubbles": {
- "type": "CheckboxControl",
- "label": "Show Bubbles",
- "default": false,
- "renderTrigger": true,
- "description": "Whether to display bubbles on top of countries"
- },
- "show_legend": {
- "type": "CheckboxControl",
- "label": "Legend",
- "renderTrigger": true,
- "default": true,
- "description": "Whether to display the legend (toggles)"
- },
- "show_values": {
- "type": "CheckboxControl",
- "label": "Show Values",
- "renderTrigger": true,
- "default": false,
- "description": "Whether to display the numerical values within the cells"
- },
- "x_axis_showminmax": {
- "type": "CheckboxControl",
- "label": "X bounds",
- "renderTrigger": true,
- "default": true,
- "description": "Whether to display the min and max values of the X axis"
- },
- "y_axis_showminmax": {
- "type": "CheckboxControl",
- "label": "Y bounds",
- "renderTrigger": true,
- "default": true,
- "description": "Whether to display the min and max values of the Y axis"
- },
- "rich_tooltip": {
- "type": "CheckboxControl",
- "label": "Rich Tooltip",
- "renderTrigger": true,
- "default": true,
- "description": "The rich tooltip shows a list of all series for that point in time"
- },
- "y_log_scale": {
- "type": "CheckboxControl",
- "label": "Y Log Scale",
- "default": false,
- "renderTrigger": true,
- "description": "Use a log scale for the Y axis"
- },
- "x_log_scale": {
- "type": "CheckboxControl",
- "label": "X Log Scale",
- "default": false,
- "renderTrigger": true,
- "description": "Use a log scale for the X axis"
- },
- "log_scale": {
- "type": "CheckboxControl",
- "label": "Log Scale",
- "default": false,
- "renderTrigger": true,
- "description": "Use a log scale"
- },
- "donut": {
- "type": "CheckboxControl",
- "label": "Donut",
- "default": false,
- "renderTrigger": true,
- "description": "Do you want a donut or a pie?"
- },
- "labels_outside": {
- "type": "CheckboxControl",
- "label": "Put labels outside",
- "default": true,
- "renderTrigger": true,
- "description": "Put the labels outside the pie?"
- },
- "contribution": {
- "type": "CheckboxControl",
- "label": "Contribution",
- "default": false,
- "description": "Compute the contribution to the total"
- },
- "num_period_compare": {
- "type": "TextControl",
- "label": "Period Ratio",
- "default": "",
- "isInt": true,
- "description": "[integer] Number of period to compare against, this is relative to the granularity selected"
- },
- "period_ratio_type": {
- "type": "SelectControl",
- "label": "Period Ratio Type",
- "default": "growth",
- "choices": [
- [
- "factor",
- "factor"
- ],
- [
- "growth",
- "growth"
- ],
- [
- "value",
- "value"
- ]
- ],
- "description": "`factor` means (new/previous), `growth` is ((new/previous) - 1), `value` is (new-previous)"
- },
- "time_compare": {
- "type": "TextControl",
- "label": "Time Shift",
- "default": null,
- "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)"
- },
- "subheader": {
- "type": "TextControl",
- "label": "Subheader",
- "description": "Description text that shows up below your Big Number"
- },
- "mapbox_label": {
- "type": "SelectControl",
- "multi": true,
- "label": "label",
- "default": [],
- "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."
- },
- "mapbox_style": {
- "type": "SelectControl",
- "label": "Map Style",
- "renderTrigger": true,
- "choices": [
- [
- "mapbox://styles/mapbox/streets-v9",
- "Streets"
- ],
- [
- "mapbox://styles/mapbox/dark-v9",
- "Dark"
- ],
- [
- "mapbox://styles/mapbox/light-v9",
- "Light"
- ],
- [
- "mapbox://styles/mapbox/satellite-streets-v9",
- "Satellite Streets"
- ],
- [
- "mapbox://styles/mapbox/satellite-v9",
- "Satellite"
- ],
- [
- "mapbox://styles/mapbox/outdoors-v9",
- "Outdoors"
- ]
- ],
- "default": "mapbox://styles/mapbox/streets-v9",
- "description": "Base layer map style"
- },
- "clustering_radius": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "Clustering Radius",
- "default": "60",
- "choices": [
- [
- "0",
- "0"
- ],
- [
- "20",
- "20"
- ],
- [
- "40",
- "40"
- ],
- [
- "60",
- "60"
- ],
- [
- "80",
- "80"
- ],
- [
- "100",
- "100"
- ],
- [
- "200",
- "200"
- ],
- [
- "500",
- "500"
- ],
- [
- "1000",
- "1000"
- ]
- ],
- "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."
- },
- "point_radius_fixed": {
- "type": "FixedOrMetricControl",
- "label": "Point Size",
- "description": "Fixed point radius"
- },
- "point_radius": {
- "type": "SelectControl",
- "label": "Point Radius",
- "default": "Auto",
- "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"
- },
- "point_radius_unit": {
- "type": "SelectControl",
- "label": "Point Radius Unit",
- "default": "Pixels",
- "choices": [
- [
- "Pixels",
- "Pixels"
- ],
- [
- "Miles",
- "Miles"
- ],
- [
- "Kilometers",
- "Kilometers"
- ]
- ],
- "description": "The unit of measure for the specified point radius"
- },
- "point_unit": {
- "type": "SelectControl",
- "label": "Point Unit",
- "default": "square_m",
- "clearable": false,
- "choices": [
- [
- "square_m",
- "Square meters"
- ],
- [
- "square_km",
- "Square kilometers"
- ],
- [
- "square_miles",
- "Square miles"
- ],
- [
- "radius_m",
- "Radius in meters"
- ],
- [
- "radius_km",
- "Radius in kilometers"
- ],
- [
- "radius_miles",
- "Radius in miles"
- ]
- ],
- "description": "The unit of measure for the specified point radius"
- },
- "global_opacity": {
- "type": "TextControl",
- "label": "Opacity",
- "default": 1,
- "isFloat": true,
- "description": "Opacity of all clusters, points, and labels. Between 0 and 1."
- },
- "viewport": {
- "type": "ViewportControl",
- "label": "Viewport",
- "renderTrigger": true,
- "description": "Parameters related to the view and perspective on the map",
- "default": {
- "longitude": 6.85236157047845,
- "latitude": 31.222656842808707,
- "zoom": 1,
- "bearing": 0,
- "pitch": 0
- }
- },
- "viewport_zoom": {
- "type": "TextControl",
- "label": "Zoom",
- "isFloat": true,
- "default": 11,
- "description": "Zoom level of the map",
- "places": 8
- },
- "viewport_latitude": {
- "type": "TextControl",
- "label": "Default latitude",
- "default": 37.772123,
- "isFloat": true,
- "description": "Latitude of default viewport",
- "places": 8
- },
- "viewport_longitude": {
- "type": "TextControl",
- "label": "Default longitude",
- "default": -122.405293,
- "isFloat": true,
- "description": "Longitude of default viewport",
- "places": 8
- },
- "render_while_dragging": {
- "type": "CheckboxControl",
- "label": "Live render",
- "default": true,
- "description": "Points and clusters will update as viewport is being changed"
- },
- "mapbox_color": {
- "type": "SelectControl",
- "freeForm": true,
- "label": "RGB Color",
- "default": "rgb(0, 122, 135)",
- "choices": [
- [
- "rgb(0, 139, 139)",
- "Dark Cyan"
- ],
- [
- "rgb(128, 0, 128)",
- "Purple"
- ],
- [
- "rgb(255, 215, 0)",
- "Gold"
- ],
- [
- "rgb(69, 69, 69)",
- "Dim Gray"
- ],
- [
- "rgb(220, 20, 60)",
- "Crimson"
- ],
- [
- "rgb(34, 139, 34)",
- "Forest Green"
- ]
- ],
- "description": "The color for points and clusters in RGB"
- },
- "color": {
- "type": "ColorPickerControl",
- "label": "Color",
- "default": {
- "r": 0,
- "g": 122,
- "b": 135,
- "a": 1
- },
- "description": "Pick a color"
- },
- "ranges": {
- "type": "TextControl",
- "label": "Ranges",
- "default": "",
- "description": "Ranges to highlight with shading"
- },
- "range_labels": {
- "type": "TextControl",
- "label": "Range labels",
- "default": "",
- "description": "Labels for the ranges"
- },
- "markers": {
- "type": "TextControl",
- "label": "Markers",
- "default": "",
- "description": "List of values to mark with triangles"
- },
- "marker_labels": {
- "type": "TextControl",
- "label": "Marker labels",
- "default": "",
- "description": "Labels for the markers"
- },
- "marker_lines": {
- "type": "TextControl",
- "label": "Marker lines",
- "default": "",
- "description": "List of values to mark with lines"
- },
- "marker_line_labels": {
- "type": "TextControl",
- "label": "Marker line labels",
- "default": "",
- "description": "Labels for the marker lines"
- },
- "annotation_layers": {
- "type": "AnnotationLayerControl",
- "label": "",
- "default": [],
- "description": "Annotation Layers",
- "renderTrigger": true
- },
- "slice_id": {
- "type": "HiddenControl",
- "label": "Slice ID",
- "hidden": true,
- "description": "The id of the active slice"
- },
- "cache_timeout": {
- "type": "HiddenControl",
- "label": "Cache Timeout (seconds)",
- "hidden": true,
- "description": "The number of seconds before expiring the cache"
- },
- "order_by_entity": {
- "type": "CheckboxControl",
- "label": "Order by entity id",
- "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.",
- "default": true
- },
- "min_leaf_node_event_count": {
- "type": "SelectControl",
- "freeForm": false,
- "label": "Minimum leaf node event count",
- "default": 1,
- "choices": [
- [
- 1,
- "1"
- ],
- [
- 2,
- "2"
- ],
- [
- 3,
- "3"
- ],
- [
- 4,
- "4"
- ],
- [
- 5,
- "5"
- ],
- [
- 6,
- "6"
- ],
- [
- 7,
- "7"
- ],
- [
- 8,
- "8"
- ],
- [
- 9,
- "9"
- ],
- [
- 10,
- "10"
- ]
- ],
- "description": "Leaf nodes that represent fewer than this number of events will be initially hidden in the visualization"
- },
- "color_scheme": {
- "type": "ColorSchemeControl",
- "label": "Color Scheme",
- "default": "bnbColors",
- "renderTrigger": true,
- "choices": [
- [
- "bnbColors",
- "bnbColors"
- ],
- [
- "d3Category10",
- "d3Category10"
- ],
- [
- "d3Category20",
- "d3Category20"
- ],
- [
- "d3Category20b",
- "d3Category20b"
- ],
- [
- "d3Category20c",
- "d3Category20c"
- ],
- [
- "googleCategory10c",
- "googleCategory10c"
- ],
- [
- "googleCategory20c",
- "googleCategory20c"
- ],
- [
- "lyftColors",
- "lyftColors"
- ]
- ],
- "description": "The color scheme for rendering chart",
- "schemes": {
- "bnbColors": [
- "#ff5a5f",
- "#7b0051",
- "#007A87",
- "#00d1c1",
- "#8ce071",
- "#ffb400",
- "#b4a76c",
- "#ff8083",
- "#cc0086",
- "#00a1b3",
- "#00ffeb",
- "#bbedab",
- "#ffd266",
- "#cbc29a",
- "#ff3339",
- "#ff1ab1",
- "#005c66",
- "#00b3a5",
- "#55d12e",
- "#b37e00",
- "#988b4e"
- ],
- "d3Category10": [
- "#1f77b4",
- "#ff7f0e",
- "#2ca02c",
- "#d62728",
- "#9467bd",
- "#8c564b",
- "#e377c2",
- "#7f7f7f",
- "#bcbd22",
- "#17becf"
- ],
- "d3Category20": [
- "#1f77b4",
- "#aec7e8",
- "#ff7f0e",
- "#ffbb78",
- "#2ca02c",
- "#98df8a",
- "#d62728",
- "#ff9896",
- "#9467bd",
- "#c5b0d5",
- "#8c564b",
- "#c49c94",
- "#e377c2",
- "#f7b6d2",
- "#7f7f7f",
- "#c7c7c7",
- "#bcbd22",
- "#dbdb8d",
- "#17becf",
- "#9edae5"
- ],
- "d3Category20b": [
- "#393b79",
- "#5254a3",
- "#6b6ecf",
- "#9c9ede",
- "#637939",
- "#8ca252",
- "#b5cf6b",
- "#cedb9c",
- "#8c6d31",
- "#bd9e39",
- "#e7ba52",
- "#e7cb94",
- "#843c39",
- "#ad494a",
- "#d6616b",
- "#e7969c",
- "#7b4173",
- "#a55194",
- "#ce6dbd",
- "#de9ed6"
- ],
- "d3Category20c": [
- "#3182bd",
- "#6baed6",
- "#9ecae1",
- "#c6dbef",
- "#e6550d",
- "#fd8d3c",
- "#fdae6b",
- "#fdd0a2",
- "#31a354",
- "#74c476",
- "#a1d99b",
- "#c7e9c0",
- "#756bb1",
- "#9e9ac8",
- "#bcbddc",
- "#dadaeb",
- "#636363",
- "#969696",
- "#bdbdbd",
- "#d9d9d9"
- ],
- "googleCategory10c": [
- "#3366cc",
- "#dc3912",
- "#ff9900",
- "#109618",
- "#990099",
- "#0099c6",
- "#dd4477",
- "#66aa00",
- "#b82e2e",
- "#316395"
- ],
- "googleCategory20c": [
- "#3366cc",
- "#dc3912",
- "#ff9900",
- "#109618",
- "#990099",
- "#0099c6",
- "#dd4477",
- "#66aa00",
- "#b82e2e",
- "#316395",
- "#994499",
- "#22aa99",
- "#aaaa11",
- "#6633cc",
- "#e67300",
- "#8b0707",
- "#651067",
- "#329262",
- "#5574a6",
- "#3b3eac"
- ]
- }
- },
- "significance_level": {
- "type": "TextControl",
- "label": "Significance Level",
- "default": 0.05,
- "description": "Threshold alpha level for determining significance"
- },
- "pvalue_precision": {
- "type": "TextControl",
- "label": "p-value precision",
- "default": 6,
- "description": "Number of decimal places with which to display p-values"
- },
- "liftvalue_precision": {
- "type": "TextControl",
- "label": "Lift percent precision",
- "default": 4,
- "description": "Number of decimal places with which to display lift values"
- },
- "column_collection": {
- "type": "CollectionControl",
- "label": "Time Series Columns",
- "validators": [
- null
- ],
- "controlName": "TimeSeriesColumnControl"
- },
- "time_series_option": {
- "type": "SelectControl",
- "label": "Options",
- "validators": [
- null
- ],
- "default": "not_time",
- "valueKey": "value",
- "options": [
- {
- "label": "Not Time Series",
- "value": "not_time",
- "description": "Ignore time"
- },
- {
- "label": "Time Series",
- "value": "time_series",
- "description": "Standard time series"
- },
- {
- "label": "Aggregate Mean",
- "value": "agg_mean",
- "description": "Mean of values over specified period"
- },
- {
- "label": "Aggregate Sum",
- "value": "agg_sum",
- "description": "Sum of values over specified period"
- },
- {
- "label": "Difference",
- "value": "point_diff",
- "description": "Metric change in value from `since` to `until`"
- },
- {
- "label": "Percent Change",
- "value": "point_percent",
- "description": "Metric percent change in value from `since` to `until`"
- },
- {
- "label": "Factor",
- "value": "point_factor",
- "description": "Metric factor change from `since` to `until`"
- },
- {
- "label": "Advanced Analytics",
- "value": "adv_anal",
- "description": "Use the Advanced Analytics options below"
- }
- ],
- "description": "Settings for time series"
- },
- "equal_date_size": {
- "type": "CheckboxControl",
- "label": "Equal Date Sizes",
- "default": true,
- "renderTrigger": true,
- "description": "Check to force date partitions to have the same height"
- },
- "partition_limit": {
- "type": "TextControl",
- "label": "Partition Limit",
- "isInt": true,
- "default": "5",
- "description": "The maximum number of subdivisions of each group; lower values are pruned first"
- },
- "partition_threshold": {
- "type": "TextControl",
- "label": "Partition Threshold",
- "isFloat": true,
- "default": "0.05",
- "description": "Partitions whose height to parent height proportions are below this value are pruned"
- }
- }
- }
|