Settings
Configure DataGlass behavior in Settings → DataGlass.
Domain Inference
DataGlass detects categorical data patterns and preserves meaningful order instead of sorting alphabetically.
How It Works
When your data contains fields like status with values ["pending", "in-progress", "done"], DataGlass:
- Detects this as a categorical sequence
- Preserves the order values appear in your data
- Displays bars/points in that order on the axis
Without inference, values sort alphabetically: ["done", "in-progress", "pending"]—wrong for a workflow.
Settings
| Setting | Default | Description |
|---|---|---|
enableAutoDomainInference | true | Detect and preserve category order |
domainInferenceThreshold | 10 | Max unique values to trigger inference (2-50) |
showDomainWarnings | true | Warn when inference might be wrong |
showInferredDomainInfo | false | Show indicator when inference was used |
Override Inference
Specify explicit order when inference gets it wrong:
type: bar
x: priority
y: count
scales:
x:
domain: [Critical, High, Medium, Low]Command
Show Domain Quick Reference - Opens help modal with examples.
Data Quality
| Setting | Default | Description |
|---|---|---|
showDataQualityWarnings | true | Warn about missing data points in multi-series |
Warns when a category exists in some series but not others, which can cause gaps in grouped charts.
Caching
Data Cache
| Setting | Default | Description |
|---|---|---|
cacheEnabled | true | Cache parsed data in memory |
cacheMaxSize | 100 | Maximum number of cached items |
cacheTTL | 30 | Cache lifetime in minutes |
URL Cache
| Setting | Default | Description |
|---|---|---|
urlCacheEnabled | true | Cache URL fetch responses |
urlCacheDuration | 15 | URL cache lifetime in minutes |
URL Data
| Setting | Default | Description |
|---|---|---|
enableUrlData | true | Allow loading data from URLs |
allowInsecureHttp | false | Permit HTTP (not HTTPS) URLs |
urlWhitelist | [] | Allowed URL patterns (supports wildcards) |
URL Whitelist
Restrict which URLs can be fetched:
https://api.example.com/*
https://*.github.io/*Leave empty to allow all URLs.
Performance
| Setting | Default | Description |
|---|---|---|
enablePerformanceMonitoring | true | Track render times |
performanceLogLevel | 'warn' | Console log level ('none', 'warn', 'info', 'debug') |
See Performance for monitoring commands.
Rendering
| Setting | Default | Description |
|---|---|---|
defaultEngine | 'plot' | Default rendering engine ('plot' or 'd3') |
defaultWidth | 600 | Default chart width in pixels |
defaultHeight | 400 | Default chart height in pixels |
Chart Defaults
| Setting | Default | Description |
|---|---|---|
defaultColorScheme | 'schemeCategory10' | Default D3 color palette |
defaultLayout | 'default' | Default layout preset |
Security
| Setting | Default | Description |
|---|---|---|
maxConfigSize | 10240 | Maximum YAML size in bytes |
maxInlineJsonSize | 5120 | Maximum inline JSON size in bytes |
maxDataPoints | 10000 | Maximum points per chart |
maxChartWidth | 2000 | Maximum chart width in pixels |
maxChartHeight | 2000 | Maximum chart height in pixels |
maxConcurrentRequests | 5 | Parallel URL fetches |
maxRequestsPerMinute | 20 | Rate limit for URL fetches |
These limits prevent resource exhaustion from malformed or malicious configurations.
Resetting Settings
Click "Restore defaults" at the bottom of the settings panel to reset all options.