API reference
Every name you can write in a spec: 180 members across 9 namespaces, from elicitjs@0.5.0-alpha.0. Search matches option names as well as factory names, so handleSize finds every mark that takes it. Each entry links to the page documenting it.
plot
Marks draw the rows of your dataset.
channelsideditstabletipclipmotioncontainsouterRadiusinnerRadiuspadAnglearcstartendhandleshandleSizehandleColororientationcurvehandleshandleSizehandleColorconnectgradientorientationhandleshandleSizehandleColorgradientcornerRadiuspartsdiscreteScaleorientationlengthorientationgapghostlabelgeojsonstrokestrokeWidthfillhandleshandleSizehandleColorclosedhandleshandleSizehandleColorformaturlsubdomainstileSizeminZoommaxZoomzoomOffsetattributionattributionSizeopacityorientationcurvehandleshandleSizehandleColorconnectclosedcurvecurvaturespreadarrowarrowSizeinsetsourceInsettargetInsetloopRadiusformatlabelBackgroundlabelPaddinglabelRadiuslabelOpacitycornerRadiussourceSidetargetSidesourceOffsettargetOffsethandleshandleSizehandleColorlengthhandleshandleSizehandleColorbaseWidthtipWidthdyshapeformatorientationwidthheightcornerRadiusgradientorientationdiscreteScalepaddingcornerRadiusmaxWidthminWidthminHeightlineHeightformatorientationformatwraplineHeightorientationinsetlengthpathjoinanchorprobegriphandleshandleSizehandleColorrenderlevelssamplesseedsigmadistributionanchorprobegriphandleshandleSizehandleColororientationunitmultiplegapshapeshowEmptyemptyFillelements
Chart elements draw a scale: axes, grids and legends.
idediteditsfieldtablechannelanchortransformtickstickValuestickFormattickSizetickPaddingtitletitleAnglestrokestrokeWidthlinefillfontSizefontFamilyfontWeightlabelAngletitleFilltitleFontSizetitleFontWeighttitlePaddingtitleAnchorlabelAlignlabelOffsetoffsetgridhandleColorhandleSizechannelchannelsouterRadiusinnerRadiusbandWidthtickstickValuestickFormattickSizetickPaddingbandstitlefillstrokestrokeWidthfontSizechanneltickstickValuesstrokestrokeWidthstrokeDashopacityzerobandPositionchannelanchororientationswatchSizegaplabelWidthrampLengthrampThicknesstickstickFormattitlerowstrokefillfontSizehandleColorhandleSizeedit.axis
fieldmodeedit
Edits map a gesture back through a scale to write a column.
typenamegesturechannelchannelswhenpickthresholdscopeconstrainguidestageadvancetargetcardinalityinvertsviewportmagnifiestableapplytargetscursorgrabsedgeInsetresizemoveedgeInsetspansdefaultsdefaultsintoinlinemultilinespansinlinemultilinerelativeTopivotfoldexclusivetogglemultiaxisincreaseextentmodedefaultsedit.geo
resizemoveedgeInsetdefaultsdefaultswidthheightedgeInsetminDistintodefaultsedit.hierarchy
edit.legend
edit.line
intoseriesalongvaluesamplesminDistseriesintodefaultsalongvaluesamplesseriesedit.network
edit.scale
fieldmodeedit.stack
defaultslabeledit.trend
anchorprobeanchorprobeanchorprobeanchorprobeedit.view
factorlimitminSpanminmaxmodeedit.waffle
edit.when
constraints
Constraints are rules over the dataset. Each one rejects or repairs every edit.
tableminmaxfieldparentchildmaxDepthmaxChildrenmaxstrategyfieldleadtotalfieldstrategyfieldalongdirectionseriesfieldstrategysteporiginfieldfieldminseriesfieldaboutfieldmaxstrategylayout
Layouts arrange and space marks in pixel space after each edit, writing the settled boxes back to the data.
tablewherecolumnsgapingapkeepingapinsnapgapinlayout.hierarchy
layout.network
guides
Guides draw reference lines and interaction state. They never write data.
idpaddingxyreadoutstrokestrokeDashfontSizeformattouchtracksPointersrcxyfitpositionrepeatopacitylabelOffsetsizecontrolmarkstrokestrokeDashstrokeWidthopacityxyfillopacitystrokelabelfieldtotalunitformatanchorlabelfillfontSizexystrokestrokeDashstrokeWidthopacitylabelmarktextanchordxdyfillstrokefontSizeformattouchlooks
Looks change how the finished chart is drawn: by hand, or through a shader. Experimental.
scopelevelsoutlineinkuniformsseedsizeangleroughnessfillseedamountgrainseedwidgets
Widgets are complete survey instruments. Each returns a spec.
format
Formatters turn a value into a string for a label or an axis.
Top-level exports
Imported from elicitjs directly, beside the namespaces above.