@vizabi/core
Advanced tools
Comparing version 1.23.3 to 1.23.4
@@ -1,2 +0,2 @@ | ||
// http://vizabi.org v1.23.3 Copyright 2022 Jasper Heeffer and others at Gapminder Foundation | ||
// http://vizabi.org v1.23.4 Copyright 2022 Jasper Heeffer and others at Gapminder Foundation | ||
(function (global, factory) { | ||
@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx')) : |
{ | ||
"name": "@vizabi/core", | ||
"version": "1.23.3", | ||
"version": "1.23.4", | ||
"description": "Vizabi core (data layer)", | ||
@@ -5,0 +5,0 @@ "main": "dist/Vizabi.js", |
import { encoding } from './encoding'; | ||
import { assign, defaultDecorator, filterObject } from '../utils'; | ||
import { DataFrame } from '../../dataframe/dataFrame'; | ||
import { pick } from '../../dataframe/dfutils'; | ||
import { defaultDecorator} from '../utils'; | ||
const defaultConfig = { | ||
data: { | ||
concept: undefined, | ||
space: undefined | ||
} | ||
data: {} | ||
} | ||
const defaults = { | ||
ncolumns: 1 | ||
wrap: 1 | ||
} | ||
@@ -21,14 +16,5 @@ | ||
functions: { | ||
//"geo" | ||
get row() { | ||
return this.config.row; | ||
get wrap() { | ||
return this.config.wrap || defaults.wrap; | ||
}, | ||
//"gender" | ||
get column() { | ||
return this.config.column; | ||
}, | ||
//1, generic way: number of columns for wrapping | ||
get ncolumns() { | ||
return this.config.ncolumns || defaults.ncolumns; | ||
}, | ||
facet(df) { | ||
@@ -35,0 +21,0 @@ console.log("called transformation in facet enc", df) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1224906
12804