graphein 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -175,6 +175,7 @@ declare function interpolateOklab(a: RGBA, b: RGBA): Interpolator;
175
175
 
176
176
  /** Get a categorical palette by name (defaults to the 'graphein' palette). */
177
177
  declare function categorical(name?: string): string[];
178
+ declare const categoricalSchemes: string[];
178
179
  /**
179
180
  * Build a continuous ramp from ordered color stops, interpolating each segment
180
181
  * in OKLab. Endpoints (t=0,1) return the first/last stop exactly.
@@ -1131,6 +1132,10 @@ interface LegendConfig {
1131
1132
  show?: boolean;
1132
1133
  position?: LegendPosition;
1133
1134
  title?: string;
1135
+ /** Allow clicking legend items to toggle/isolate series; publishes a selection. */
1136
+ interactive?: boolean;
1137
+ /** Selection param to publish legend visibility to; defaults to the series field name. */
1138
+ param?: string;
1134
1139
  }
1135
1140
  interface TooltipConfig {
1136
1141
  show?: boolean;
@@ -1181,6 +1186,8 @@ interface BaseSpec {
1181
1186
  transform?: Transform[];
1182
1187
  /** Theme name ('light' | 'dark') or a partial override object. */
1183
1188
  theme?: ThemeInput;
1189
+ /** Named categorical palette ('graphein'|'colorblind'|'bright'|'muted') or an explicit array of series colors. */
1190
+ palette?: string | string[];
1184
1191
  dimensions?: Dimensions;
1185
1192
  title?: string | TitleConfig;
1186
1193
  /**
@@ -1364,6 +1371,12 @@ interface BarSpec extends BaseSpec {
1364
1371
  x: FieldDef;
1365
1372
  y: FieldDef;
1366
1373
  };
1374
+ /**
1375
+ * Bar direction. `'vertical'` (default) draws columns growing up from the
1376
+ * x-axis; `'horizontal'` draws bars growing rightward from the y-axis, with the
1377
+ * `x` categories listed down the left — ideal when category names are long.
1378
+ * The `encoding` is unchanged either way (`x` = category, `y` = value).
1379
+ */
1367
1380
  orientation?: 'vertical' | 'horizontal';
1368
1381
  /** Stack series (default false). */
1369
1382
  stack?: boolean;
@@ -2361,6 +2374,23 @@ interface RegressionFit {
2361
2374
  */
2362
2375
  declare function linearRegression(xs: readonly number[], ys: readonly number[]): RegressionFit | null;
2363
2376
 
2377
+ interface ColumnProfile {
2378
+ field: string;
2379
+ type: 'quantitative' | 'temporal' | 'nominal' | 'ordinal';
2380
+ cardinality: number;
2381
+ }
2382
+ interface RecommendedChart {
2383
+ spec: ChartSpec;
2384
+ score: number;
2385
+ rationale: string;
2386
+ }
2387
+ interface RecommendOptions {
2388
+ intent?: 'trend' | 'comparison' | 'distribution' | 'relationship' | 'composition';
2389
+ maxResults?: number;
2390
+ }
2391
+ declare function profileColumns(data: Datum[]): ColumnProfile[];
2392
+ declare function recommendChart(data: Datum[], opts?: RecommendOptions): RecommendedChart[];
2393
+
2364
2394
  /** Environment helpers — safe in both browser and Node (SSR/test). */
2365
2395
  declare const isBrowser: boolean;
2366
2396
  /** Current device pixel ratio (defaults to 1 outside the browser). */
@@ -2981,6 +3011,17 @@ interface Hover {
2981
3011
  */
2982
3012
  draw?(ctx: CanvasRenderingContext2D): void;
2983
3013
  }
3014
+ /** A click target for an interactive legend item. */
3015
+ interface LegendHitRegion {
3016
+ /** Swatch rectangle in CSS px. */
3017
+ rect: Rect;
3018
+ /** Stable string key for the series. */
3019
+ key: string;
3020
+ /** Raw series value used when publishing a selection. */
3021
+ value: unknown;
3022
+ /** Human-readable legend label. */
3023
+ label: string;
3024
+ }
2984
3025
  /** A chart's hit-testable description for the current frame. */
2985
3026
  interface InteractionModel {
2986
3027
  /** Hit region in CSS px. Moves outside it clear the hover. */
@@ -2993,6 +3034,8 @@ interface InteractionModel {
2993
3034
  * a `pick` are hover-only.
2994
3035
  */
2995
3036
  pick?(px: number, py: number): SelectionValue | null;
3037
+ /** Optional interactive legend click targets for this frame. */
3038
+ legendHits?: LegendHitRegion[];
2996
3039
  }
2997
3040
  /**
2998
3041
  * Resolved emphasis for the current frame: which rows are "in" the active
@@ -3063,6 +3106,23 @@ interface CartesianModel {
3063
3106
  series: ResolvedSeries[];
3064
3107
  seriesField?: string;
3065
3108
  stacked: boolean;
3109
+ /**
3110
+ * Bar orientation. Only `bar` ever sets `'horizontal'`; every other chart is
3111
+ * `'vertical'`. In horizontal mode the `x` (category/band) axis runs vertically
3112
+ * and the `y` (value) axis runs horizontally — so `x.pixel`/`x.bandwidth` are
3113
+ * vertical extents and `y.pixel`/`y.baseline` are horizontal ones. Consumers map
3114
+ * an (category-axis, value-axis) pixel pair to screen coords via {@link project}.
3115
+ */
3116
+ orientation: 'vertical' | 'horizontal';
3117
+ /**
3118
+ * Map a (category-axis pixel, value-axis pixel) pair to screen `{x, y}`,
3119
+ * accounting for orientation. Vertical is the identity; horizontal swaps the
3120
+ * pair (value → screen x, category → screen y).
3121
+ */
3122
+ project(catPixel: number, valPixel: number): {
3123
+ x: number;
3124
+ y: number;
3125
+ };
3066
3126
  xTicks: Tick[];
3067
3127
  yTicks: Tick[];
3068
3128
  colorOf(key: string): string;
@@ -3074,6 +3134,13 @@ interface CartesianModel {
3074
3134
  * `highlight` param + the shared store; `buildCartesianModel` leaves it null.
3075
3135
  */
3076
3136
  emphasis?: Emphasis | null;
3137
+ /** Interactive legend swatch hit targets; only present when legend.interactive is true. */
3138
+ legendHits?: LegendHitRegion[];
3139
+ /** Draw-side mark counts for render diagnostics; semantic markCount stays data-based. */
3140
+ markStats?: {
3141
+ drawn: number;
3142
+ original: number;
3143
+ };
3077
3144
  }
3078
3145
  declare function resolveCurve(curve?: CurveType): Curve;
3079
3146
  interface BuildOptions {
@@ -3253,7 +3320,9 @@ declare const customRenderers: Partial<Record<ChartType, CustomRenderer>>;
3253
3320
  /** How the controller publishes a click/tap selection from the current model. */
3254
3321
  interface ControllerSelect {
3255
3322
  /** Called with the picked value (or `null` when empty space is clicked). */
3256
- onPick(value: SelectionValue | null): void;
3323
+ onPick?(value: SelectionValue | null): void;
3324
+ /** Called when an interactive legend swatch is clicked. */
3325
+ onLegendToggle?(hit: LegendHitRegion, event: MouseEvent): void;
3257
3326
  }
3258
3327
  declare class InteractionController {
3259
3328
  private readonly surface;
@@ -3498,6 +3567,10 @@ interface RenderDiagnostic {
3498
3567
  axis?: 'x' | 'y';
3499
3568
  /** Structured extras (counts, ratios) for programmatic consumers. */
3500
3569
  details?: Record<string, unknown>;
3570
+ /** Safe JSON Patch operations an agent may apply to address this finding. */
3571
+ fix?: JsonPatchOp[];
3572
+ /** One-line advisory when there is no unambiguous safe patch. */
3573
+ hint?: string;
3501
3574
  }
3502
3575
  /** A post-render, vision-free description of what was drawn. */
3503
3576
  interface RenderReport {
@@ -3538,6 +3611,11 @@ interface ReportInput {
3538
3611
  * resolved model + theme, never the canvas bitmap.
3539
3612
  */
3540
3613
  declare function buildRenderReport(input: ReportInput): RenderReport;
3614
+ /** Apply safe render-report JSON Patch fixes to a clone of the spec. Pure: no rendering. */
3615
+ declare function repairReport(spec: ChartSpec, report: RenderReport): {
3616
+ spec: ChartSpec;
3617
+ applied: JsonPatchOp[];
3618
+ };
3541
3619
 
3542
3620
  /**
3543
3621
  * Faceting / small multiples.
@@ -3803,4 +3881,4 @@ declare function renderDashboard(target: HTMLElement | string, spec: DashboardSp
3803
3881
  */
3804
3882
  declare const VERSION = "0.1.0";
3805
3883
 
3806
- export { type AggOp, type AggregateOp, type AggregateTransform, type AnimateOptions, type AnimationConfig, type AnimationHandle, type Annotation, type AnySpec, type ArcOptions, type AreaOptions, type AreaPoint, type AreaSpec, type AxesConfig, type AxisConfig, type AxisInput, type BackingSize, type BandScale, type BandScaleOptions, type BarSpec, type BaseSlicerSpec, type BaseSpec, type BinLayout, type BinTransform, type BoxSpec, type BuildOptions, type BulletSpec, CARTESIAN_TYPES, CHART_TYPES, type CalculateTransform, type CalendarHeatmapSpec, CanvasLayer, type CanvasPillStyle, type CanvasTextCmd, type CartesianChartSpec, type CartesianInteractionBuilder, type CartesianModel, type CartesianRenderer, type CategoryInsights, type ChartInsights, type ChartInstance, type ChartSpec, type ChartSummary, type ChartType, type ChoroplethSpec, type ColorScale, type ComboAxisModel, type ComboLayer, type ComboLayerModel, type ComboMark, type ComboModel, type ComboSide, type ComboSpec, type Comparable, type ConditionalFormat, type ContinuousScale, type ControllerSelect, type Curve, type CurveType, type CustomRenderer, DEFAULT_ENTRANCE_DURATION, DEFAULT_ROUGH_STYLE, DEFAULT_UPDATE_DURATION, DIM_ALPHA, type DashboardCell, type DashboardInstance, type DashboardLayout, type DashboardResponsiveSpan, type DashboardSection, type DashboardSpec, type DashboardView, type DateRangeSlicerSpec, type Datum, type DecimateOptions, type Dimensions, type DropdownSlicerSpec, type DumbbellSpec, type EasingFunction, type Emphasis, type Encoding, type EntranceContext, ExpressionError, type Extent, FACETABLE_TYPES, FUNCTION_NAMES, type FacetConfig, type FacetLayout, type FacetPanel, type FieldDef, type FieldType, type FieldValue, type FillStyle, type FilterClause, type FilterPredicate, type FilterTransform, type FoldTransform, type Frame, type FrameInput, type FunnelSpec, type GaugeSpec, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoMultiPolygon, type GeoPolygon, type GeoPosition, type GroupedMap, type HachureSegment, type HeadlessTarget, type HeatmapSpec, type HighlightConfig, type HistogramBin, type HistogramBinDatum, type HistogramModel, type HistogramSpec, type Hover, type IconRule, type Insets, type InsightFamily, type InsightOptions, InteractionController, type InteractionLink, type InteractionModel, type Interpolator, type JsonPatchOp, type KpiSpec, type LegendConfig, type LegendItem, type LegendPosition, type LegendSymbol, type LineOptions, type LineSpec, type LinearScaleOptions, type LintFinding, type ListSlicerSpec, type LiteralPredicate, type LogScaleOptions, type MapProjection, type MarkOptions, type MatrixSpec, type MatrixValueDef, type NumberFormatSpec, type OKLCH, type OKLab, type OverlayTextOpts, type PathSink, type PieLabels, type PieSpec, type PivotCell, type PivotFlatRow, type PivotHeaderNode, type PivotOptions, type PivotResult, type PivotValueDef, type Point, type PointRef, type PointScale, type PointScaleOptions, type PointSelection, type PositionedLegendItem, type RGBA, type RangeSelection, type RangeSlicerSpec, type Rect, type RegressionFit, type RenderContext, type RenderDashboardOptions, type RenderDiagnostic, type RenderOptions, type RenderReport, type RepairResult, type ReportInput, type ReportSeverity, type ResolvedEntrance, type ResolvedSeries, type ResolvedSketch, type Rng, type RoughContext, RoughPen, type RoughStyle, SKETCH_FONT_FAMILY, SKETCH_FONT_NAME, SLICER_TYPES, SR_ONLY_STYLE, type SankeySpec, type ScaleConfig, type ScaleType, type ScatterInsights, type ScatterSpec, type SearchSlicerSpec, type SelectConfig, type SelectionChangeListener, type SelectionDef, type SelectionListener, type SelectionParam, type SelectionStore, type SelectionValue, type SeriesInsights, type SetSelection, type SharedScales, type Size, type SketchConfig, type SlicerSpec, type SlicerType, type SlopeSpec, Surface, TICK_SIZE, TIME_UNITS, TRANSFORM_KINDS, type TableColumn, type TableSpec, type TextMetricsLite, type TextSelection, type ThemeColors, type ThemeFont, type ThemeInput, type ThemeTokens, type Tick, type TimeScaleOptions, type TimeUnit, type TimeUnitTransform, type TitleConfig, type TitleInput, Tooltip, type TooltipConfig, type TooltipContent, type TooltipRow, type Transform, type TreemapSpec, type TrendlineConfig, type UpdateContext, VERSION, type ValidationError, type ValidationResult, type ValueInsights, type ValueRef, type ValueRule, type WaterfallSpec, type WiredView, type XKind, type XModel, type YModel, aggregateValues, analyzeChart, animate, applyA11y, applyAggregate, applyBin, applyCalculate, applyFilter, applyFold, applyPatch, applyPick, applyTimeUnit, applyTransform, applyTransforms, arc, area, assertValidSpec, autoInsightAnnotations, backOut, bandScale, bounceOut, buildCartesianInteraction, buildCartesianModel, buildComboModel, buildDataTableFallback, buildFacetModels, buildHistogramModel, buildRenderReport, cartesianInteractionBuilders, cartesianRenderers, categorical, chartTitleText, chartTypeLabel, checkExpression, clamp01, clamp255, compileExpression, compilePredicate, computeBackingSize, computeBins, computeFrame, computeSeriesInsights, contrastRatio, createDiv, createRoughPen, createSelectionStore, cubicIn, cubicInOut, cubicOut, curveCatmullRom, curveLinear, curveMonotoneX, curveStep, curveStepAfter, curveStepBefore, customRenderers, darkTheme, decimate, defaultSpan, dependentParams, diverging, divergingColorScale, divergingSchemes, drawAnnotationLabels, drawAnnotations, drawAxesUnderlay, drawFacet, drawLegend, drawOverlay, drawTitle, drawTrendlineLabels, drawTrendlines, easings, elasticOut, ellipsize, ensureSketchFont, expoInOut, expoOut, facetReport, fillParentStyle, filterRows, fontString, formatDate, formatNumber, formatValue, getDevicePixelRatio, groupBy, hashString, inferFieldType, inferFieldTypes, inferValueType, inheritInto, interpolateArray, interpolateNumber, interpolateNumberArray, interpolateObject, interpolateOklab, interpolateRgb, isBrowser, isEmptyValue, isFaceted, isParamClause, isSlicerType, keyFields, legendSwatchWidth, lightTheme, line, linear, linearRegression, linearScale, linearToSrgb, lintSpec, literalToValue, logScale, lttbRun, makeMatcher, matchesValue, measureText, monotoneXTangents, mulberry32, niceDomain, oklabToOklch, oklabToRgb, oklchToOklab, ordinalColorScale, overlayTextToCanvasCmd, paintCanvasText, paintLegendSwatch, parseColor, parseNumberFormat, pivot, placeViews, pointScale, polygonHachureLines, prefersReducedMotion, prettyDate, quadIn, quadInOut, quadOut, rampFromStops, readableTextColor, relativeLuminance, render, renderDashboard, renderToContext, repairSpec, resolveCurve, resolveDashboardLayout, resolveDashboardSections, resolveEmphasis, resolveEntrance, resolveFilterValues, resolveInsightOptions, resolveSketch, resolveTheme, resolveUpdate, rgbToOklab, rgbaToCss, rotatePoint, roundedRect, sampleArc, sequential, sequentialColorScale, sequentialSchemes, setMeasureContext, setStyle, sinInOut, slicerParamName, smartDate, specFields, srgbToLinear, summarize, summarizeChart, themes, tickIncrement, tickStep, ticks, timeScale, timeTickFormat, timeTicks, toHex, toPointer, tooltipEnabled, truncateTo, validateDashboard, validateSpec, wireViews, withAlpha, withSketchFont };
3884
+ export { type AggOp, type AggregateOp, type AggregateTransform, type AnimateOptions, type AnimationConfig, type AnimationHandle, type Annotation, type AnySpec, type ArcOptions, type AreaOptions, type AreaPoint, type AreaSpec, type AxesConfig, type AxisConfig, type AxisInput, type BackingSize, type BandScale, type BandScaleOptions, type BarSpec, type BaseSlicerSpec, type BaseSpec, type BinLayout, type BinTransform, type BoxSpec, type BuildOptions, type BulletSpec, CARTESIAN_TYPES, CHART_TYPES, type CalculateTransform, type CalendarHeatmapSpec, CanvasLayer, type CanvasPillStyle, type CanvasTextCmd, type CartesianChartSpec, type CartesianInteractionBuilder, type CartesianModel, type CartesianRenderer, type CategoryInsights, type ChartInsights, type ChartInstance, type ChartSpec, type ChartSummary, type ChartType, type ChoroplethSpec, type ColorScale, type ColumnProfile, type ComboAxisModel, type ComboLayer, type ComboLayerModel, type ComboMark, type ComboModel, type ComboSide, type ComboSpec, type Comparable, type ConditionalFormat, type ContinuousScale, type ControllerSelect, type Curve, type CurveType, type CustomRenderer, DEFAULT_ENTRANCE_DURATION, DEFAULT_ROUGH_STYLE, DEFAULT_UPDATE_DURATION, DIM_ALPHA, type DashboardCell, type DashboardInstance, type DashboardLayout, type DashboardResponsiveSpan, type DashboardSection, type DashboardSpec, type DashboardView, type DateRangeSlicerSpec, type Datum, type DecimateOptions, type Dimensions, type DropdownSlicerSpec, type DumbbellSpec, type EasingFunction, type Emphasis, type Encoding, type EntranceContext, ExpressionError, type Extent, FACETABLE_TYPES, FUNCTION_NAMES, type FacetConfig, type FacetLayout, type FacetPanel, type FieldDef, type FieldType, type FieldValue, type FillStyle, type FilterClause, type FilterPredicate, type FilterTransform, type FoldTransform, type Frame, type FrameInput, type FunnelSpec, type GaugeSpec, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoMultiPolygon, type GeoPolygon, type GeoPosition, type GroupedMap, type HachureSegment, type HeadlessTarget, type HeatmapSpec, type HighlightConfig, type HistogramBin, type HistogramBinDatum, type HistogramModel, type HistogramSpec, type Hover, type IconRule, type Insets, type InsightFamily, type InsightOptions, InteractionController, type InteractionLink, type InteractionModel, type Interpolator, type JsonPatchOp, type KpiSpec, type LegendConfig, type LegendHitRegion, type LegendItem, type LegendPosition, type LegendSymbol, type LineOptions, type LineSpec, type LinearScaleOptions, type LintFinding, type ListSlicerSpec, type LiteralPredicate, type LogScaleOptions, type MapProjection, type MarkOptions, type MatrixSpec, type MatrixValueDef, type NumberFormatSpec, type OKLCH, type OKLab, type OverlayTextOpts, type PathSink, type PieLabels, type PieSpec, type PivotCell, type PivotFlatRow, type PivotHeaderNode, type PivotOptions, type PivotResult, type PivotValueDef, type Point, type PointRef, type PointScale, type PointScaleOptions, type PointSelection, type PositionedLegendItem, type RGBA, type RangeSelection, type RangeSlicerSpec, type RecommendOptions, type RecommendedChart, type Rect, type RegressionFit, type RenderContext, type RenderDashboardOptions, type RenderDiagnostic, type RenderOptions, type RenderReport, type RepairResult, type ReportInput, type ReportSeverity, type ResolvedEntrance, type ResolvedSeries, type ResolvedSketch, type Rng, type RoughContext, RoughPen, type RoughStyle, SKETCH_FONT_FAMILY, SKETCH_FONT_NAME, SLICER_TYPES, SR_ONLY_STYLE, type SankeySpec, type ScaleConfig, type ScaleType, type ScatterInsights, type ScatterSpec, type SearchSlicerSpec, type SelectConfig, type SelectionChangeListener, type SelectionDef, type SelectionListener, type SelectionParam, type SelectionStore, type SelectionValue, type SeriesInsights, type SetSelection, type SharedScales, type Size, type SketchConfig, type SlicerSpec, type SlicerType, type SlopeSpec, Surface, TICK_SIZE, TIME_UNITS, TRANSFORM_KINDS, type TableColumn, type TableSpec, type TextMetricsLite, type TextSelection, type ThemeColors, type ThemeFont, type ThemeInput, type ThemeTokens, type Tick, type TimeScaleOptions, type TimeUnit, type TimeUnitTransform, type TitleConfig, type TitleInput, Tooltip, type TooltipConfig, type TooltipContent, type TooltipRow, type Transform, type TreemapSpec, type TrendlineConfig, type UpdateContext, VERSION, type ValidationError, type ValidationResult, type ValueInsights, type ValueRef, type ValueRule, type WaterfallSpec, type WiredView, type XKind, type XModel, type YModel, aggregateValues, analyzeChart, animate, applyA11y, applyAggregate, applyBin, applyCalculate, applyFilter, applyFold, applyPatch, applyPick, applyTimeUnit, applyTransform, applyTransforms, arc, area, assertValidSpec, autoInsightAnnotations, backOut, bandScale, bounceOut, buildCartesianInteraction, buildCartesianModel, buildComboModel, buildDataTableFallback, buildFacetModels, buildHistogramModel, buildRenderReport, cartesianInteractionBuilders, cartesianRenderers, categorical, categoricalSchemes, chartTitleText, chartTypeLabel, checkExpression, clamp01, clamp255, compileExpression, compilePredicate, computeBackingSize, computeBins, computeFrame, computeSeriesInsights, contrastRatio, createDiv, createRoughPen, createSelectionStore, cubicIn, cubicInOut, cubicOut, curveCatmullRom, curveLinear, curveMonotoneX, curveStep, curveStepAfter, curveStepBefore, customRenderers, darkTheme, decimate, defaultSpan, dependentParams, diverging, divergingColorScale, divergingSchemes, drawAnnotationLabels, drawAnnotations, drawAxesUnderlay, drawFacet, drawLegend, drawOverlay, drawTitle, drawTrendlineLabels, drawTrendlines, easings, elasticOut, ellipsize, ensureSketchFont, expoInOut, expoOut, facetReport, fillParentStyle, filterRows, fontString, formatDate, formatNumber, formatValue, getDevicePixelRatio, groupBy, hashString, inferFieldType, inferFieldTypes, inferValueType, inheritInto, interpolateArray, interpolateNumber, interpolateNumberArray, interpolateObject, interpolateOklab, interpolateRgb, isBrowser, isEmptyValue, isFaceted, isParamClause, isSlicerType, keyFields, legendSwatchWidth, lightTheme, line, linear, linearRegression, linearScale, linearToSrgb, lintSpec, literalToValue, logScale, lttbRun, makeMatcher, matchesValue, measureText, monotoneXTangents, mulberry32, niceDomain, oklabToOklch, oklabToRgb, oklchToOklab, ordinalColorScale, overlayTextToCanvasCmd, paintCanvasText, paintLegendSwatch, parseColor, parseNumberFormat, pivot, placeViews, pointScale, polygonHachureLines, prefersReducedMotion, prettyDate, profileColumns, quadIn, quadInOut, quadOut, rampFromStops, readableTextColor, recommendChart, relativeLuminance, render, renderDashboard, renderToContext, repairReport, repairSpec, resolveCurve, resolveDashboardLayout, resolveDashboardSections, resolveEmphasis, resolveEntrance, resolveFilterValues, resolveInsightOptions, resolveSketch, resolveTheme, resolveUpdate, rgbToOklab, rgbaToCss, rotatePoint, roundedRect, sampleArc, sequential, sequentialColorScale, sequentialSchemes, setMeasureContext, setStyle, sinInOut, slicerParamName, smartDate, specFields, srgbToLinear, summarize, summarizeChart, themes, tickIncrement, tickStep, ticks, timeScale, timeTickFormat, timeTicks, toHex, toPointer, tooltipEnabled, truncateTo, validateDashboard, validateSpec, wireViews, withAlpha, withSketchFont };