From b552060b57a1ae3d1303ce9db2c101ba13a6c134 Mon Sep 17 00:00:00 2001 From: Chris Trevino Date: Fri, 20 Sep 2019 12:53:43 -0700 Subject: [PATCH] chore: run prettier over json, markdown --- lerna.json | 8 +- packages/client/builder/README.md | 2 +- packages/client/builder/package.json | 58 +- packages/client/builder/tsconfig.json | 16 +- packages/client/builder/tsconfig.typedoc.json | 8 +- packages/client/interfaces/README.md | 2 +- packages/client/interfaces/package.json | 32 +- packages/client/interfaces/tsconfig.json | 20 +- .../client/interfaces/tsconfig.typedoc.json | 8 +- packages/client/react/package.json | 62 +- packages/client/react/tsconfig.json | 22 +- packages/client/react/tsconfig.typedoc.json | 8 +- packages/docs/docsite/README.md | 4 + packages/docs/docsite/package.json | 2 +- .../src/components/sidebar/interfaces.ts | 16 +- packages/docs/docsite/src/types.ts | 8 +- .../docsite/src/util/convertGraphqlToc.ts | 44 +- .../src/util/processImagesInMarkdownAst.ts | 36 +- packages/docs/examples/package.json | 62 +- packages/docs/examples/tsconfig.json | 16 +- packages/docs/examplesweb/package.json | 94 +- packages/docs/examplesweb/tsconfig.json | 10 +- packages/docs/testdata/package.json | 40 +- packages/docs/testdata/tsconfig.json | 16 +- packages/processing/orchestrator/package.json | 44 +- .../processing/orchestrator/tsconfig.json | 20 +- .../orchestrator/tsconfig.typedoc.json | 8 +- packages/processing/scenegraph/README.md | 2 +- packages/processing/scenegraph/package.json | 38 +- .../scenegraph/src/__tests__/barley.json | 4136 ++++++++--------- packages/processing/scenegraph/src/factory.ts | 4 +- packages/processing/scenegraph/tsconfig.json | 20 +- .../scenegraph/tsconfig.typedoc.json | 8 +- packages/processing/vsvg/package.json | 58 +- packages/processing/vsvg/tsconfig.json | 20 +- .../processing/vsvg/tsconfig.typedoc.json | 8 +- packages/renderers/react-native-svg/README.md | 2 +- .../renderers/react-native-svg/package.json | 58 +- .../renderers/react-native-svg/tsconfig.json | 22 +- .../react-native-svg/tsconfig.typedoc.json | 8 +- packages/renderers/react-svg/README.md | 2 +- packages/renderers/react-svg/package.json | 62 +- packages/renderers/react-svg/tsconfig.json | 20 +- .../renderers/react-svg/tsconfig.typedoc.json | 8 +- packages/util/scales/package.json | 52 +- packages/util/scales/src/util.ts | 4 +- packages/util/scales/tsconfig.json | 22 +- packages/util/scales/tsconfig.typedoc.json | 8 +- packages/util/shapes/README.md | 2 +- packages/util/shapes/package.json | 46 +- packages/util/shapes/tsconfig.json | 20 +- packages/util/shapes/tsconfig.typedoc.json | 8 +- packages/util/transform/README.md | 2 +- packages/util/transform/package.json | 50 +- packages/util/transform/tsconfig.json | 22 +- packages/util/transform/tsconfig.typedoc.json | 8 +- tsconfig.json | 24 +- 57 files changed, 2706 insertions(+), 2704 deletions(-) diff --git a/lerna.json b/lerna.json index e9e8649c73..20b8b53b5f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { - "lerna": "2.11.0", - "useWorkspaces": true, - "npmClient": "yarn", - "version": "0.1.2" + "lerna": "2.11.0", + "useWorkspaces": true, + "npmClient": "yarn", + "version": "0.1.2" } diff --git a/packages/client/builder/README.md b/packages/client/builder/README.md index c72df23868..59e451ffb4 100644 --- a/packages/client/builder/README.md +++ b/packages/client/builder/README.md @@ -1,3 +1,3 @@ ## Purpose -This library contains the API for specifying visulaization scenes. The scene specification API uses the builder pattern extensively. This is the core of the frontend of the visualization system and is used by the React-based API. \ No newline at end of file +This library contains the API for specifying visulaization scenes. The scene specification API uses the builder pattern extensively. This is the core of the frontend of the visualization system and is used by the React-based API. diff --git a/packages/client/builder/package.json b/packages/client/builder/package.json index 0809eab1a0..e3f0c1dd65 100644 --- a/packages/client/builder/package.json +++ b/packages/client/builder/package.json @@ -1,31 +1,31 @@ { - "name": "@chart-parts/builder", - "description": "Visualization components for specifying scenes", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "tsc -w --preserveWatchOutput" - }, - "devDependencies": { - "@chart-parts/scales": "^0.1.1" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "@chart-parts/scenegraph": "^0.1.1", - "@types/d3-format": "^1.3.1", - "@types/d3-time-format": "^2.1.0", - "d3-format": "^1.4.1", - "d3-time-format": "^2.1.1", - "lodash": "^4.17.15", - "rxjs": "^6.5.3" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/builder", + "description": "Visualization components for specifying scenes", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "tsc -w --preserveWatchOutput" + }, + "devDependencies": { + "@chart-parts/scales": "^0.1.1" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "@chart-parts/scenegraph": "^0.1.1", + "@types/d3-format": "^1.3.1", + "@types/d3-time-format": "^2.1.0", + "d3-format": "^1.4.1", + "d3-time-format": "^2.1.1", + "lodash": "^4.17.15", + "rxjs": "^6.5.3" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/client/builder/tsconfig.json b/packages/client/builder/tsconfig.json index d5506614f8..868197a471 100644 --- a/packages/client/builder/tsconfig.json +++ b/packages/client/builder/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"] } diff --git a/packages/client/builder/tsconfig.typedoc.json b/packages/client/builder/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/client/builder/tsconfig.typedoc.json +++ b/packages/client/builder/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/client/interfaces/README.md b/packages/client/interfaces/README.md index 1201f65bcc..bf2638cf18 100644 --- a/packages/client/interfaces/README.md +++ b/packages/client/interfaces/README.md @@ -1,3 +1,3 @@ ## Purpose -This library contains Typescript interfaces for the key architectural pieces of the visualization system. \ No newline at end of file +This library contains Typescript interfaces for the key architectural pieces of the visualization system. diff --git a/packages/client/interfaces/package.json b/packages/client/interfaces/package.json index e0dd5966a4..1fc8c87411 100644 --- a/packages/client/interfaces/package.json +++ b/packages/client/interfaces/package.json @@ -1,18 +1,18 @@ { - "name": "@chart-parts/interfaces", - "description": "Common interfaces for the visualization system, including marks, mark specifications, scenegraphs, and virtual dom definitions", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/interfaces", + "description": "Common interfaces for the visualization system, including marks, mark specifications, scenegraphs, and virtual dom definitions", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/client/interfaces/tsconfig.json b/packages/client/interfaces/tsconfig.json index 3d5228db48..9e73f328b4 100644 --- a/packages/client/interfaces/tsconfig.json +++ b/packages/client/interfaces/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext"], - "composite": true, - "outDir": "lib", - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext"], + "composite": true, + "outDir": "lib", + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/client/interfaces/tsconfig.typedoc.json b/packages/client/interfaces/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/client/interfaces/tsconfig.typedoc.json +++ b/packages/client/interfaces/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/client/react/package.json b/packages/client/react/package.json index fc27a0ccb3..d3dbc52d03 100644 --- a/packages/client/react/package.json +++ b/packages/client/react/package.json @@ -1,33 +1,33 @@ { - "name": "@chart-parts/react", - "description": "React components for specifying data visualizations", - "version": "0.1.2", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "tsc -w --preserveWatchOutput" - }, - "devDependencies": { - "@types/react": "^16.9.2", - "react": "^16.9.0" - }, - "dependencies": { - "@chart-parts/builder": "^0.1.1", - "@chart-parts/interfaces": "^0.1.1", - "@chart-parts/orchestrator": "^0.1.1", - "@chart-parts/scales": "^0.1.1", - "lodash": "^4.17.15", - "shallowequal": "^1.1.0" - }, - "peerDependencies": { - "react": ">= 16.9" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/react", + "description": "React components for specifying data visualizations", + "version": "0.1.2", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "tsc -w --preserveWatchOutput" + }, + "devDependencies": { + "@types/react": "^16.9.2", + "react": "^16.9.0" + }, + "dependencies": { + "@chart-parts/builder": "^0.1.1", + "@chart-parts/interfaces": "^0.1.1", + "@chart-parts/orchestrator": "^0.1.1", + "@chart-parts/scales": "^0.1.1", + "lodash": "^4.17.15", + "shallowequal": "^1.1.0" + }, + "peerDependencies": { + "react": ">= 16.9" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/client/react/tsconfig.json b/packages/client/react/tsconfig.json index 6c25d8f27e..87351fed53 100644 --- a/packages/client/react/tsconfig.json +++ b/packages/client/react/tsconfig.json @@ -1,13 +1,13 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "experimentalDecorators": true, - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "include": ["./src/**/*.ts*"], - "files": ["src/index.ts"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "experimentalDecorators": true, + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "include": ["./src/**/*.ts*"], + "files": ["src/index.ts"] } diff --git a/packages/client/react/tsconfig.typedoc.json b/packages/client/react/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/client/react/tsconfig.typedoc.json +++ b/packages/client/react/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/docs/docsite/README.md b/packages/docs/docsite/README.md index 7c165f7e67..3d4bd1c0a6 100644 --- a/packages/docs/docsite/README.md +++ b/packages/docs/docsite/README.md @@ -1,4 +1,5 @@ # gatsby-starter-default + The default Gatsby starter. For an overview of the project structure please refer to the [Gatsby documentation - Building with Components](https://www.gatsbyjs.org/docs/building-with-components/). @@ -6,16 +7,19 @@ For an overview of the project structure please refer to the [Gatsby documentati ## Install Make sure that you have the Gatsby CLI program installed: + ```sh npm install --global gatsby-cli ``` And run from your CLI: + ```sh gatsby new gatsby-example-site ``` Then you can run it by: + ```sh cd gatsby-example-site gatsby develop diff --git a/packages/docs/docsite/package.json b/packages/docs/docsite/package.json index b92dff6b68..2111ce6eaa 100644 --- a/packages/docs/docsite/package.json +++ b/packages/docs/docsite/package.json @@ -51,7 +51,7 @@ "license": "MIT", "scripts": { "clean_gatsby": "gatsby clean", - "clean_generated": "rimraf apidocs static/examples", + "clean_generated": "rimraf static/apidocs static/examples", "clean": "run-p clean_generated clean_gatsby", "build_docs": "run-s clean:docs gen:docs", "start": "gatsby develop -H 0.0.0.0", diff --git a/packages/docs/docsite/src/components/sidebar/interfaces.ts b/packages/docs/docsite/src/components/sidebar/interfaces.ts index a25d95182e..109d839ae6 100644 --- a/packages/docs/docsite/src/components/sidebar/interfaces.ts +++ b/packages/docs/docsite/src/components/sidebar/interfaces.ts @@ -4,15 +4,15 @@ */ export interface SidebarItem { - path: string - title: string - area: string - order: number + path: string + title: string + area: string + order: number } export interface TreeNode { - item: SidebarItem - pathKey: string - order?: number - children: { [key: string]: TreeNode } + item: SidebarItem + pathKey: string + order?: number + children: { [key: string]: TreeNode } } diff --git a/packages/docs/docsite/src/types.ts b/packages/docs/docsite/src/types.ts index e411a02172..3e38cbd218 100644 --- a/packages/docs/docsite/src/types.ts +++ b/packages/docs/docsite/src/types.ts @@ -4,8 +4,8 @@ */ export interface SiteMetadata { - title: string - githubUrl: string - keywords: string[] - description: string + title: string + githubUrl: string + keywords: string[] + description: string } diff --git a/packages/docs/docsite/src/util/convertGraphqlToc.ts b/packages/docs/docsite/src/util/convertGraphqlToc.ts index 0132b2e807..432625c471 100644 --- a/packages/docs/docsite/src/util/convertGraphqlToc.ts +++ b/packages/docs/docsite/src/util/convertGraphqlToc.ts @@ -6,28 +6,28 @@ import { SidebarItem } from '../components/sidebar' export default function convertGraphqlToc(input: { - edges: Array<{ - node: { - frontmatter: { - path: string - title: string - order: number - } - } - }> + edges: Array<{ + node: { + frontmatter: { + path: string + title: string + order: number + } + } + }> }): SidebarItem[] { - return input.edges.map(e => { - const pathItems = e.node.frontmatter.path - .split('/') - .filter(t => !!t) - .slice(1) + return input.edges.map(e => { + const pathItems = e.node.frontmatter.path + .split('/') + .filter(t => !!t) + .slice(1) - return { - path: e.node.frontmatter.path, - pathItems, - title: e.node.frontmatter.title, - area: pathItems[0], - order: e.node.frontmatter.order, - } - }) + return { + path: e.node.frontmatter.path, + pathItems, + title: e.node.frontmatter.title, + area: pathItems[0], + order: e.node.frontmatter.order, + } + }) } diff --git a/packages/docs/docsite/src/util/processImagesInMarkdownAst.ts b/packages/docs/docsite/src/util/processImagesInMarkdownAst.ts index 9973f8eeb2..984292805a 100644 --- a/packages/docs/docsite/src/util/processImagesInMarkdownAst.ts +++ b/packages/docs/docsite/src/util/processImagesInMarkdownAst.ts @@ -6,28 +6,28 @@ import { withPrefix } from 'gatsby' export interface MarkdownAstNode { - tagName?: string - type: string - properties?: { [key: string]: any } - children: MarkdownAstNode[] - data: any + tagName?: string + type: string + properties?: { [key: string]: any } + children: MarkdownAstNode[] + data: any } export default function processImagesInMarkdownAst(ast: MarkdownAstNode): void { - checkNode(ast) + checkNode(ast) } function checkNode(node: MarkdownAstNode) { - if (!node) { - return - } - if (node.tagName === 'img') { - const properties = node.properties as { [key: string]: any } - const imageSrc: string = (properties && properties.src) || '' - if (imageSrc.startsWith('/images')) { - properties.src = withPrefix(imageSrc) - } - } - const children = node.children || [] - children.forEach(child => checkNode(child)) + if (!node) { + return + } + if (node.tagName === 'img') { + const properties = node.properties as { [key: string]: any } + const imageSrc: string = (properties && properties.src) || '' + if (imageSrc.startsWith('/images')) { + properties.src = withPrefix(imageSrc) + } + } + const children = node.children || [] + children.forEach(child => checkNode(child)) } diff --git a/packages/docs/examples/package.json b/packages/docs/examples/package.json index 1ee3c1c724..a294572b96 100644 --- a/packages/docs/examples/package.json +++ b/packages/docs/examples/package.json @@ -1,33 +1,33 @@ { - "name": "@chart-parts/examples", - "private": true, - "description": "Example Chart Implementations", - "version": "0.1.2", - "main": "lib/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "dependencies": { - "@types/react": "^16.9.2", - "@types/react-dom": "^16.9.0", - "@chart-parts/builder": "^0.1.1", - "@chart-parts/interfaces": "^0.1.1", - "@chart-parts/react": "^0.1.2", - "@chart-parts/transform": "^0.1.1", - "vega-datasets": "^1.25.0" - }, - "devDependencies": { - "react": "^16.9.0" - }, - "peerDependencies": { - "react": ">= 16.9" - }, - "publishConfig": { - "access": "public" - } + "name": "@chart-parts/examples", + "private": true, + "description": "Example Chart Implementations", + "version": "0.1.2", + "main": "lib/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "dependencies": { + "@types/react": "^16.9.2", + "@types/react-dom": "^16.9.0", + "@chart-parts/builder": "^0.1.1", + "@chart-parts/interfaces": "^0.1.1", + "@chart-parts/react": "^0.1.2", + "@chart-parts/transform": "^0.1.1", + "vega-datasets": "^1.25.0" + }, + "devDependencies": { + "react": "^16.9.0" + }, + "peerDependencies": { + "react": ">= 16.9" + }, + "publishConfig": { + "access": "public" + } } diff --git a/packages/docs/examples/tsconfig.json b/packages/docs/examples/tsconfig.json index d5506614f8..868197a471 100644 --- a/packages/docs/examples/tsconfig.json +++ b/packages/docs/examples/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"] } diff --git a/packages/docs/examplesweb/package.json b/packages/docs/examplesweb/package.json index 3afc308008..a3e61404d7 100644 --- a/packages/docs/examplesweb/package.json +++ b/packages/docs/examplesweb/package.json @@ -1,49 +1,49 @@ { - "name": "@chart-parts/examples-web", - "private": true, - "version": "0.1.2", - "scripts": { - "//serve": "webpack-dev-server --mode development --open --host 0.0.0.0", - "storybook": "start-storybook -p 6006", - "start": "npm run storybook", - "build-storybook": "build-storybook" - }, - "dependencies": { - "@babel/core": "^7.6.0", - "@chart-parts/examples": "^0.1.2", - "@chart-parts/orchestrator": "^0.1.1", - "@chart-parts/react": "^0.1.2", - "@chart-parts/react-svg-renderer": "^0.1.1", - "@chart-parts/scales": "^0.1.1", - "@chart-parts/testdata": "^0.1.1", - "@chart-parts/transform": "^0.1.1", - "@storybook/addon-actions": "^5.2.1", - "@storybook/addon-links": "^5.2.1", - "@storybook/addons": "^5.2.1", - "@storybook/react": "^5.2.1", - "babel-loader": "^8.0.6", - "d3-array": "^2.3.1", - "d3-scale": "^3.1.0", - "react": "^16.9.0", - "react-dom": "^16.9.0", - "styled-components": "^4.3.2" - }, - "devDependencies": { - "@types/d3-array": "^2.0.0", - "@types/d3-scale": "^2.1.1", - "@types/react": "^16.9.2", - "@types/react-dom": "^16.9.0", - "@types/storybook__addon-actions": "^3.4.3", - "@types/storybook__addon-links": "^3.3.5", - "@types/storybook__react": "^4.0.2", - "@types/styled-components": "^4.1.19", - "html-webpack-plugin": "^3.2.0", - "npm-run-all": "^4.1.5", - "react-docgen-typescript-webpack-plugin": "^1.1.0", - "ts-loader": "^6.1.0", - "typescript": "^3.6.3", - "webpack": "^4.40.2", - "webpack-cli": "^3.3.9", - "webpack-dev-server": "^3.8.1" - } + "name": "@chart-parts/examples-web", + "private": true, + "version": "0.1.2", + "scripts": { + "//serve": "webpack-dev-server --mode development --open --host 0.0.0.0", + "storybook": "start-storybook -p 6006", + "start": "npm run storybook", + "build-storybook": "build-storybook" + }, + "dependencies": { + "@babel/core": "^7.6.0", + "@chart-parts/examples": "^0.1.2", + "@chart-parts/orchestrator": "^0.1.1", + "@chart-parts/react": "^0.1.2", + "@chart-parts/react-svg-renderer": "^0.1.1", + "@chart-parts/scales": "^0.1.1", + "@chart-parts/testdata": "^0.1.1", + "@chart-parts/transform": "^0.1.1", + "@storybook/addon-actions": "^5.2.1", + "@storybook/addon-links": "^5.2.1", + "@storybook/addons": "^5.2.1", + "@storybook/react": "^5.2.1", + "babel-loader": "^8.0.6", + "d3-array": "^2.3.1", + "d3-scale": "^3.1.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", + "styled-components": "^4.3.2" + }, + "devDependencies": { + "@types/d3-array": "^2.0.0", + "@types/d3-scale": "^2.1.1", + "@types/react": "^16.9.2", + "@types/react-dom": "^16.9.0", + "@types/storybook__addon-actions": "^3.4.3", + "@types/storybook__addon-links": "^3.3.5", + "@types/storybook__react": "^4.0.2", + "@types/styled-components": "^4.1.19", + "html-webpack-plugin": "^3.2.0", + "npm-run-all": "^4.1.5", + "react-docgen-typescript-webpack-plugin": "^1.1.0", + "ts-loader": "^6.1.0", + "typescript": "^3.6.3", + "webpack": "^4.40.2", + "webpack-cli": "^3.3.9", + "webpack-dev-server": "^3.8.1" + } } diff --git a/packages/docs/examplesweb/tsconfig.json b/packages/docs/examplesweb/tsconfig.json index 31bed77108..1cee1e5553 100644 --- a/packages/docs/examplesweb/tsconfig.json +++ b/packages/docs/examplesweb/tsconfig.json @@ -1,7 +1,7 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "jsx": "react", - "lib": ["esnext", "dom"] - } + "extends": "../../../tsconfig.json", + "compilerOptions": { + "jsx": "react", + "lib": ["esnext", "dom"] + } } diff --git a/packages/docs/testdata/package.json b/packages/docs/testdata/package.json index 68f4e1990b..880754ca3f 100644 --- a/packages/docs/testdata/package.json +++ b/packages/docs/testdata/package.json @@ -1,22 +1,22 @@ { - "name": "@chart-parts/testdata", - "description": "Test data for charts", - "version": "0.1.1", - "main": "lib/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "@chart-parts/scenegraph": "^0.1.1" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/testdata", + "description": "Test data for charts", + "version": "0.1.1", + "main": "lib/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "@chart-parts/scenegraph": "^0.1.1" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/docs/testdata/tsconfig.json b/packages/docs/testdata/tsconfig.json index 13534ff4e7..9472fbc424 100644 --- a/packages/docs/testdata/tsconfig.json +++ b/packages/docs/testdata/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext"], - "outDir": "lib", - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext"], + "outDir": "lib", + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"] } diff --git a/packages/processing/orchestrator/package.json b/packages/processing/orchestrator/package.json index 07030eebd5..164eae79e7 100644 --- a/packages/processing/orchestrator/package.json +++ b/packages/processing/orchestrator/package.json @@ -1,24 +1,24 @@ { - "name": "@chart-parts/orchestrator", - "description": "chart-parts rendering orchestration", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "dependencies": { - "@chart-parts/builder": "^0.1.1", - "@chart-parts/interfaces": "^0.1.1", - "@chart-parts/scenegraph": "^0.1.1", - "@chart-parts/vsvg": "^0.1.1" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/orchestrator", + "description": "chart-parts rendering orchestration", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "dependencies": { + "@chart-parts/builder": "^0.1.1", + "@chart-parts/interfaces": "^0.1.1", + "@chart-parts/scenegraph": "^0.1.1", + "@chart-parts/vsvg": "^0.1.1" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/processing/orchestrator/tsconfig.json b/packages/processing/orchestrator/tsconfig.json index 128c135bdc..cc93ca8102 100644 --- a/packages/processing/orchestrator/tsconfig.json +++ b/packages/processing/orchestrator/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/processing/orchestrator/tsconfig.typedoc.json b/packages/processing/orchestrator/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/processing/orchestrator/tsconfig.typedoc.json +++ b/packages/processing/orchestrator/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/processing/scenegraph/README.md b/packages/processing/scenegraph/README.md index 0036902585..1a55c8f884 100644 --- a/packages/processing/scenegraph/README.md +++ b/packages/processing/scenegraph/README.md @@ -1,3 +1,3 @@ ## Purpose -This library contains utilities for parsing and creating instances of the Scenegraph model. \ No newline at end of file +This library contains utilities for parsing and creating instances of the Scenegraph model. diff --git a/packages/processing/scenegraph/package.json b/packages/processing/scenegraph/package.json index cb44159786..6db1f09c9c 100644 --- a/packages/processing/scenegraph/package.json +++ b/packages/processing/scenegraph/package.json @@ -1,21 +1,21 @@ { - "name": "@chart-parts/scenegraph", - "description": "A library that parses Vega scenegraphs into an object model", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/scenegraph", + "description": "A library that parses Vega scenegraphs into an object model", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/processing/scenegraph/src/__tests__/barley.json b/packages/processing/scenegraph/src/__tests__/barley.json index 046dfbd804..cc79def1e9 100644 --- a/packages/processing/scenegraph/src/__tests__/barley.json +++ b/packages/processing/scenegraph/src/__tests__/barley.json @@ -1,2070 +1,2070 @@ { - "marktype": "group", - "interactive": false, - "items": [ - { - "x": 95, - "y": 0, - "items": [ - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "rule", - "interactive": false, - "items": [ - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 0.5, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 29.07142857142857, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 57.64285714285714, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 86.21428571428571, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 114.78571428571428, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 143.35714285714286, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 171.92857142857142, - "y": 0, - "y2": 6, - "height": 6 - }, - { - "stroke": "#000", - "strokeWidth": 1, - "opacity": 1, - "x": 200.5, - "y": 0, - "y2": 6, - "height": 6 - } - ] - }, - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "0", - "x": 0.5, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "10", - "x": 29.07142857142857, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "20", - "x": 57.64285714285714, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "30", - "x": 86.21428571428571, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "40", - "x": 114.78571428571428, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "50", - "x": 143.35714285714286, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "60", - "x": 171.92857142857142, - "y": 9, - "align": "center", - "baseline": "top" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "70", - "x": 200.5, - "y": 9, - "align": "center", - "baseline": "top" - } - ] - }, - { - "marktype": "path", - "interactive": false, - "items": [ - { - "x": 0.5, - "y": 0.5, - "stroke": "#000", - "strokeWidth": 1, - "path": "M0,6V0H200V6" - } - ] - }, - { - "marktype": "text", - "interactive": false - } - ], - "x": 0, - "y": 708 - } - ] - }, - { - "marktype": "text", - "interactive": true, - "items": [ - { - "x": 100, - "y": 16, - "fontWeight": "bold", - "text": "Waseca", - "align": "center", - "baseline": "bottom", - "fill": "#000" - }, - { - "x": 100, - "y": 133, - "fontWeight": "bold", - "text": "Crookston", - "align": "center", - "baseline": "bottom", - "fill": "#000" - }, - { - "x": 100, - "y": 250, - "fontWeight": "bold", - "text": "Morris", - "align": "center", - "baseline": "bottom", - "fill": "#000" - }, - { - "x": 100, - "y": 367, - "fontWeight": "bold", - "text": "University Farm", - "align": "center", - "baseline": "bottom", - "fill": "#000" - }, - { - "x": 100, - "y": 484, - "fontWeight": "bold", - "text": "Duluth", - "align": "center", - "baseline": "bottom", - "fill": "#000" - }, - { - "x": 100, - "y": 601, - "fontWeight": "bold", - "text": "Grand Rapids", - "align": "center", - "baseline": "bottom", - "fill": "#000" - } - ] - }, - { - "marktype": "group", - "interactive": true, - "items": [ - { - "items": [ - { - "marktype": "symbol", - "interactive": true, - "items": [ - { - "x": 139.61905714285714, - "y": 72, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 157.71428571428572, - "y": 36, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 135.23808571428572, - "y": 90, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 143.5238, - "y": 54, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 182.38085714285714, - "y": 9, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 166, - "y": 27, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 187.90485714285714, - "y": 81, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 138.7618857142857, - "y": 45, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 133.61905714285714, - "y": 63, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 168, - "y": 18, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 95.61905714285714, - "y": 72, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 107.8095142857143, - "y": 36, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 110.00000000000001, - "y": 90, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 106.85714285714285, - "y": 54, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 140.66657142857142, - "y": 9, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 120.57142857142857, - "y": 27, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 127.71428571428571, - "y": 81, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 102.95237142857144, - "y": 45, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 117.90477142857144, - "y": 63, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 166.19048571428573, - "y": 18, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Trebi", - "x": -3, - "y": 9.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Wisconsin No. 38", - "x": -3, - "y": 18.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 457", - "x": -3, - "y": 27.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Glabron", - "x": -3, - "y": 36.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Peatland", - "x": -3, - "y": 45.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Velvet", - "x": -3, - "y": 54.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 475", - "x": -3, - "y": 63.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Lorem Ipsum", - "x": -3, - "y": 72.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 462", - "x": -3, - "y": 81.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Svansota", - "x": -3, - "y": 90.5, - "align": "right", - "baseline": "middle" - } - ] - } - ], - "x": 0, - "y": 0 - } - ] - } - ], - "x": 0.5, - "y": 18, - "height": 99, - "width": 200, - "stroke": "#ccc" - }, - { - "items": [ - { - "marktype": "symbol", - "interactive": true, - "items": [ - { - "x": 114.09522857142858, - "y": 72, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 108.95237142857144, - "y": 36, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 115.61905714285714, - "y": 90, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 118.09522857142855, - "y": 54, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 134.09522857142858, - "y": 9, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 130.4762, - "y": 27, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 138.7618857142857, - "y": 81, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 118.85714285714286, - "y": 45, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 126, - "y": 63, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 142.4762, - "y": 18, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 94.19048571428573, - "y": 72, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 74.76191428571428, - "y": 36, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 58.952371428571425, - "y": 90, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 91.61902857142857, - "y": 54, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 119.52379999999998, - "y": 9, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 98.09522857142856, - "y": 27, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 87.23808571428572, - "y": 81, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 72.09522857142858, - "y": 45, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 91.80951428571429, - "y": 63, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 102.57142857142856, - "y": 18, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Trebi", - "x": -3, - "y": 9.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Wisconsin No. 38", - "x": -3, - "y": 18.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 457", - "x": -3, - "y": 27.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Glabron", - "x": -3, - "y": 36.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Peatland", - "x": -3, - "y": 45.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Velvet", - "x": -3, - "y": 54.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 475", - "x": -3, - "y": 63.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Lorem Ipsum", - "x": -3, - "y": 72.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 462", - "x": -3, - "y": 81.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Svansota", - "x": -3, - "y": 90.5, - "align": "right", - "baseline": "middle" - } - ] - } - ], - "x": 0, - "y": 0 - } - ] - } - ], - "x": 0.5, - "y": 135, - "height": 99, - "width": 200, - "stroke": "#ccc" - }, - { - "items": [ - { - "marktype": "symbol", - "interactive": true, - "items": [ - { - "x": 78.38097142857143, - "y": 72, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 82.19048571428573, - "y": 36, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 73.61905714285714, - "y": 90, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 74.66665714285713, - "y": 54, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 125.04762857142858, - "y": 9, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 82, - "y": 27, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 86.76191428571428, - "y": 81, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 85.33334285714285, - "y": 45, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 64.57142857142858, - "y": 63, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 84.19048571428571, - "y": 18, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 98.19045714285716, - "y": 72, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 100.38094285714286, - "y": 36, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 100.09522857142856, - "y": 90, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 110.95237142857141, - "y": 54, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 133.23808571428572, - "y": 9, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 124.38097142857143, - "y": 27, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 134.28571428571428, - "y": 81, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 123.42857142857144, - "y": 45, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 126.38094285714286, - "y": 63, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 134.76191428571428, - "y": 18, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Trebi", - "x": -3, - "y": 9.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Wisconsin No. 38", - "x": -3, - "y": 18.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 457", - "x": -3, - "y": 27.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Glabron", - "x": -3, - "y": 36.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Peatland", - "x": -3, - "y": 45.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Velvet", - "x": -3, - "y": 54.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 475", - "x": -3, - "y": 63.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Lorem Ipsum", - "x": -3, - "y": 72.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 462", - "x": -3, - "y": 81.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Svansota", - "x": -3, - "y": 90.5, - "align": "right", - "baseline": "middle" - } - ] - } - ], - "x": 0, - "y": 0 - } - ] - } - ], - "x": 0.5, - "y": 252, - "height": 99, - "width": 200, - "stroke": "#ccc" - }, - { - "items": [ - { - "marktype": "symbol", - "interactive": true, - "items": [ - { - "x": 77.14285714285715, - "y": 72, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 123.04759999999999, - "y": 36, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 100.38094285714286, - "y": 90, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 113.99999999999999, - "y": 54, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 104.47617142857142, - "y": 9, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 123.61905714285714, - "y": 27, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 104.57142857142858, - "y": 81, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 93.61905714285713, - "y": 45, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 70.4762, - "y": 63, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 112.28571428571428, - "y": 18, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 76.85714285714286, - "y": 72, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 105.14285714285714, - "y": 36, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 78.38097142857143, - "y": 90, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 76.57142857142857, - "y": 54, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 83.04762857142856, - "y": 9, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 75.52382857142858, - "y": 27, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 73.04762857142858, - "y": 81, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 80.19048571428571, - "y": 45, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 85.71428571428571, - "y": 63, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 108.57142857142857, - "y": 18, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Trebi", - "x": -3, - "y": 9.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Wisconsin No. 38", - "x": -3, - "y": 18.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 457", - "x": -3, - "y": 27.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Glabron", - "x": -3, - "y": 36.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Peatland", - "x": -3, - "y": 45.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Velvet", - "x": -3, - "y": 54.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 475", - "x": -3, - "y": 63.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Lorem Ipsum", - "x": -3, - "y": 72.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 462", - "x": -3, - "y": 81.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Svansota", - "x": -3, - "y": 90.5, - "align": "right", - "baseline": "middle" - } - ] - } - ], - "x": 0, - "y": 0 - } - ] - } - ], - "x": 0.5, - "y": 369, - "height": 99, - "width": 200, - "stroke": "#ccc" - }, - { - "items": [ - { - "marktype": "symbol", - "interactive": true, - "items": [ - { - "x": 82.76191428571428, - "y": 72, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 84.76191428571428, - "y": 36, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 73.42857142857143, - "y": 90, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 75.14285714285714, - "y": 54, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 96.95237142857142, - "y": 9, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 96.00000000000001, - "y": 27, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 80.28571428571429, - "y": 81, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 91.42857142857143, - "y": 45, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 94.47617142857142, - "y": 63, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 90.28571428571429, - "y": 18, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 64.47619999999999, - "y": 72, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 73.90477142857142, - "y": 36, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 63.523799999999994, - "y": 90, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 64.19048571428571, - "y": 54, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 87.42857142857143, - "y": 9, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 64.85714285714286, - "y": 27, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 64.28571428571429, - "y": 81, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 89.61905714285714, - "y": 45, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 78.1904857142857, - "y": 63, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 83.80951428571429, - "y": 18, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Trebi", - "x": -3, - "y": 9.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Wisconsin No. 38", - "x": -3, - "y": 18.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 457", - "x": -3, - "y": 27.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Glabron", - "x": -3, - "y": 36.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Peatland", - "x": -3, - "y": 45.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Velvet", - "x": -3, - "y": 54.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 475", - "x": -3, - "y": 63.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Lorem Ipsum", - "x": -3, - "y": 72.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 462", - "x": -3, - "y": 81.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Svansota", - "x": -3, - "y": 90.5, - "align": "right", - "baseline": "middle" - } - ] - } - ], - "x": 0, - "y": 0 - } - ] - } - ], - "x": 0.5, - "y": 486, - "height": 99, - "width": 200, - "stroke": "#ccc" - }, - { - "items": [ - { - "marktype": "symbol", - "interactive": true, - "items": [ - { - "x": 94.19048571428573, - "y": 72, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 83.23808571428572, - "y": 36, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 84.76191428571428, - "y": 90, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 65.80951428571429, - "y": 54, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 85.04762857142858, - "y": 9, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 91.90477142857144, - "y": 27, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 71.23811428571429, - "y": 81, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 99.14285714285715, - "y": 45, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 56.285714285714285, - "y": 63, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 98.4762, - "y": 18, - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 2 - }, - { - "x": 63.23808571428572, - "y": 72, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 41.23808571428572, - "y": 36, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 47.52380000000001, - "y": 90, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 92.09522857142858, - "y": 54, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 58.952371428571425, - "y": 9, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 55.619057142857145, - "y": 27, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 56.85714285714285, - "y": 81, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 76.4762, - "y": 45, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 43.5238, - "y": 63, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - }, - { - "x": 59.04762857142857, - "y": 18, - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 2 - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "axis", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": true, - "items": [ - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Trebi", - "x": -3, - "y": 9.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Wisconsin No. 38", - "x": -3, - "y": 18.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 457", - "x": -3, - "y": 27.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Glabron", - "x": -3, - "y": 36.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Peatland", - "x": -3, - "y": 45.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Velvet", - "x": -3, - "y": 54.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 475", - "x": -3, - "y": 63.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Lorem Ipsum", - "x": -3, - "y": 72.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "No. 462", - "x": -3, - "y": 81.5, - "align": "right", - "baseline": "middle" - }, - { - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "opacity": 1, - "text": "Svansota", - "x": -3, - "y": 90.5, - "align": "right", - "baseline": "middle" - } - ] - } - ], - "x": 0, - "y": 0 - } - ] - } - ], - "x": 0.5, - "y": 603, - "height": 99, - "width": 200, - "stroke": "#ccc" - } - ] - }, - { - "marktype": "group", - "interactive": false, - "role": "legend", - "items": [ - { - "items": [ - { - "marktype": "text", - "interactive": false, - "items": [ - { - "x": 3, - "y": 3, - "fill": "#000", - "font": "sans-serif", - "fontSize": 11, - "fontWeight": "bold", - "baseline": "top", - "text": "Year", - "opacity": 1 - } - ] - }, - { - "marktype": "symbol", - "interactive": false, - "items": [ - { - "x": 7.5, - "y": 23, - "shape": "circle", - "size": 50, - "stroke": "#1f77b4", - "strokeWidth": 1, - "opacity": 1 - }, - { - "x": 7.5, - "y": 38, - "shape": "circle", - "size": 50, - "stroke": "#ff7f0e", - "strokeWidth": 1, - "opacity": 1 - } - ] - }, - { - "marktype": "text", - "interactive": false, - "items": [ - { - "x": 16, - "y": 23, - "fill": "#000", - "font": "sans-serif", - "fontSize": 10, - "align": "left", - "baseline": "middle", - "text": "1931", - "opacity": 1 - }, - { - "x": 16, - "y": 38, - "fill": "#000", - "font": "sans-serif", - "fontSize": 10, - "align": "left", - "baseline": "middle", - "text": "1932", - "opacity": 1 - } - ] - } - ], - "x": 218.11767578125, - "y": 0.5, - "width": 43, - "height": 46 - } - ] - } - ], - "width": 200, - "height": 720 - } - ] + "marktype": "group", + "interactive": false, + "items": [ + { + "x": 95, + "y": 0, + "items": [ + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "rule", + "interactive": false, + "items": [ + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 0.5, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 29.07142857142857, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 57.64285714285714, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 86.21428571428571, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 114.78571428571428, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 143.35714285714286, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 171.92857142857142, + "y": 0, + "y2": 6, + "height": 6 + }, + { + "stroke": "#000", + "strokeWidth": 1, + "opacity": 1, + "x": 200.5, + "y": 0, + "y2": 6, + "height": 6 + } + ] + }, + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "0", + "x": 0.5, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "10", + "x": 29.07142857142857, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "20", + "x": 57.64285714285714, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "30", + "x": 86.21428571428571, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "40", + "x": 114.78571428571428, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "50", + "x": 143.35714285714286, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "60", + "x": 171.92857142857142, + "y": 9, + "align": "center", + "baseline": "top" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "70", + "x": 200.5, + "y": 9, + "align": "center", + "baseline": "top" + } + ] + }, + { + "marktype": "path", + "interactive": false, + "items": [ + { + "x": 0.5, + "y": 0.5, + "stroke": "#000", + "strokeWidth": 1, + "path": "M0,6V0H200V6" + } + ] + }, + { + "marktype": "text", + "interactive": false + } + ], + "x": 0, + "y": 708 + } + ] + }, + { + "marktype": "text", + "interactive": true, + "items": [ + { + "x": 100, + "y": 16, + "fontWeight": "bold", + "text": "Waseca", + "align": "center", + "baseline": "bottom", + "fill": "#000" + }, + { + "x": 100, + "y": 133, + "fontWeight": "bold", + "text": "Crookston", + "align": "center", + "baseline": "bottom", + "fill": "#000" + }, + { + "x": 100, + "y": 250, + "fontWeight": "bold", + "text": "Morris", + "align": "center", + "baseline": "bottom", + "fill": "#000" + }, + { + "x": 100, + "y": 367, + "fontWeight": "bold", + "text": "University Farm", + "align": "center", + "baseline": "bottom", + "fill": "#000" + }, + { + "x": 100, + "y": 484, + "fontWeight": "bold", + "text": "Duluth", + "align": "center", + "baseline": "bottom", + "fill": "#000" + }, + { + "x": 100, + "y": 601, + "fontWeight": "bold", + "text": "Grand Rapids", + "align": "center", + "baseline": "bottom", + "fill": "#000" + } + ] + }, + { + "marktype": "group", + "interactive": true, + "items": [ + { + "items": [ + { + "marktype": "symbol", + "interactive": true, + "items": [ + { + "x": 139.61905714285714, + "y": 72, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 157.71428571428572, + "y": 36, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 135.23808571428572, + "y": 90, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 143.5238, + "y": 54, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 182.38085714285714, + "y": 9, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 166, + "y": 27, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 187.90485714285714, + "y": 81, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 138.7618857142857, + "y": 45, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 133.61905714285714, + "y": 63, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 168, + "y": 18, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 95.61905714285714, + "y": 72, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 107.8095142857143, + "y": 36, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 110.00000000000001, + "y": 90, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 106.85714285714285, + "y": 54, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 140.66657142857142, + "y": 9, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 120.57142857142857, + "y": 27, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 127.71428571428571, + "y": 81, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 102.95237142857144, + "y": 45, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 117.90477142857144, + "y": 63, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 166.19048571428573, + "y": 18, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Trebi", + "x": -3, + "y": 9.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Wisconsin No. 38", + "x": -3, + "y": 18.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 457", + "x": -3, + "y": 27.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Glabron", + "x": -3, + "y": 36.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Peatland", + "x": -3, + "y": 45.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Velvet", + "x": -3, + "y": 54.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 475", + "x": -3, + "y": 63.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Lorem Ipsum", + "x": -3, + "y": 72.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 462", + "x": -3, + "y": 81.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Svansota", + "x": -3, + "y": 90.5, + "align": "right", + "baseline": "middle" + } + ] + } + ], + "x": 0, + "y": 0 + } + ] + } + ], + "x": 0.5, + "y": 18, + "height": 99, + "width": 200, + "stroke": "#ccc" + }, + { + "items": [ + { + "marktype": "symbol", + "interactive": true, + "items": [ + { + "x": 114.09522857142858, + "y": 72, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 108.95237142857144, + "y": 36, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 115.61905714285714, + "y": 90, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 118.09522857142855, + "y": 54, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 134.09522857142858, + "y": 9, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 130.4762, + "y": 27, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 138.7618857142857, + "y": 81, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 118.85714285714286, + "y": 45, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 126, + "y": 63, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 142.4762, + "y": 18, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 94.19048571428573, + "y": 72, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 74.76191428571428, + "y": 36, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 58.952371428571425, + "y": 90, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 91.61902857142857, + "y": 54, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 119.52379999999998, + "y": 9, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 98.09522857142856, + "y": 27, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 87.23808571428572, + "y": 81, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 72.09522857142858, + "y": 45, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 91.80951428571429, + "y": 63, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 102.57142857142856, + "y": 18, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Trebi", + "x": -3, + "y": 9.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Wisconsin No. 38", + "x": -3, + "y": 18.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 457", + "x": -3, + "y": 27.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Glabron", + "x": -3, + "y": 36.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Peatland", + "x": -3, + "y": 45.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Velvet", + "x": -3, + "y": 54.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 475", + "x": -3, + "y": 63.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Lorem Ipsum", + "x": -3, + "y": 72.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 462", + "x": -3, + "y": 81.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Svansota", + "x": -3, + "y": 90.5, + "align": "right", + "baseline": "middle" + } + ] + } + ], + "x": 0, + "y": 0 + } + ] + } + ], + "x": 0.5, + "y": 135, + "height": 99, + "width": 200, + "stroke": "#ccc" + }, + { + "items": [ + { + "marktype": "symbol", + "interactive": true, + "items": [ + { + "x": 78.38097142857143, + "y": 72, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 82.19048571428573, + "y": 36, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 73.61905714285714, + "y": 90, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 74.66665714285713, + "y": 54, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 125.04762857142858, + "y": 9, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 82, + "y": 27, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 86.76191428571428, + "y": 81, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 85.33334285714285, + "y": 45, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 64.57142857142858, + "y": 63, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 84.19048571428571, + "y": 18, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 98.19045714285716, + "y": 72, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 100.38094285714286, + "y": 36, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 100.09522857142856, + "y": 90, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 110.95237142857141, + "y": 54, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 133.23808571428572, + "y": 9, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 124.38097142857143, + "y": 27, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 134.28571428571428, + "y": 81, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 123.42857142857144, + "y": 45, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 126.38094285714286, + "y": 63, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 134.76191428571428, + "y": 18, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Trebi", + "x": -3, + "y": 9.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Wisconsin No. 38", + "x": -3, + "y": 18.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 457", + "x": -3, + "y": 27.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Glabron", + "x": -3, + "y": 36.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Peatland", + "x": -3, + "y": 45.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Velvet", + "x": -3, + "y": 54.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 475", + "x": -3, + "y": 63.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Lorem Ipsum", + "x": -3, + "y": 72.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 462", + "x": -3, + "y": 81.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Svansota", + "x": -3, + "y": 90.5, + "align": "right", + "baseline": "middle" + } + ] + } + ], + "x": 0, + "y": 0 + } + ] + } + ], + "x": 0.5, + "y": 252, + "height": 99, + "width": 200, + "stroke": "#ccc" + }, + { + "items": [ + { + "marktype": "symbol", + "interactive": true, + "items": [ + { + "x": 77.14285714285715, + "y": 72, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 123.04759999999999, + "y": 36, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 100.38094285714286, + "y": 90, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 113.99999999999999, + "y": 54, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 104.47617142857142, + "y": 9, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 123.61905714285714, + "y": 27, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 104.57142857142858, + "y": 81, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 93.61905714285713, + "y": 45, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 70.4762, + "y": 63, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 112.28571428571428, + "y": 18, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 76.85714285714286, + "y": 72, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 105.14285714285714, + "y": 36, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 78.38097142857143, + "y": 90, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 76.57142857142857, + "y": 54, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 83.04762857142856, + "y": 9, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 75.52382857142858, + "y": 27, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 73.04762857142858, + "y": 81, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 80.19048571428571, + "y": 45, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 85.71428571428571, + "y": 63, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 108.57142857142857, + "y": 18, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Trebi", + "x": -3, + "y": 9.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Wisconsin No. 38", + "x": -3, + "y": 18.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 457", + "x": -3, + "y": 27.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Glabron", + "x": -3, + "y": 36.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Peatland", + "x": -3, + "y": 45.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Velvet", + "x": -3, + "y": 54.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 475", + "x": -3, + "y": 63.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Lorem Ipsum", + "x": -3, + "y": 72.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 462", + "x": -3, + "y": 81.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Svansota", + "x": -3, + "y": 90.5, + "align": "right", + "baseline": "middle" + } + ] + } + ], + "x": 0, + "y": 0 + } + ] + } + ], + "x": 0.5, + "y": 369, + "height": 99, + "width": 200, + "stroke": "#ccc" + }, + { + "items": [ + { + "marktype": "symbol", + "interactive": true, + "items": [ + { + "x": 82.76191428571428, + "y": 72, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 84.76191428571428, + "y": 36, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 73.42857142857143, + "y": 90, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 75.14285714285714, + "y": 54, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 96.95237142857142, + "y": 9, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 96.00000000000001, + "y": 27, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 80.28571428571429, + "y": 81, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 91.42857142857143, + "y": 45, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 94.47617142857142, + "y": 63, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 90.28571428571429, + "y": 18, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 64.47619999999999, + "y": 72, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 73.90477142857142, + "y": 36, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 63.523799999999994, + "y": 90, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 64.19048571428571, + "y": 54, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 87.42857142857143, + "y": 9, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 64.85714285714286, + "y": 27, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 64.28571428571429, + "y": 81, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 89.61905714285714, + "y": 45, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 78.1904857142857, + "y": 63, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 83.80951428571429, + "y": 18, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Trebi", + "x": -3, + "y": 9.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Wisconsin No. 38", + "x": -3, + "y": 18.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 457", + "x": -3, + "y": 27.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Glabron", + "x": -3, + "y": 36.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Peatland", + "x": -3, + "y": 45.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Velvet", + "x": -3, + "y": 54.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 475", + "x": -3, + "y": 63.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Lorem Ipsum", + "x": -3, + "y": 72.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 462", + "x": -3, + "y": 81.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Svansota", + "x": -3, + "y": 90.5, + "align": "right", + "baseline": "middle" + } + ] + } + ], + "x": 0, + "y": 0 + } + ] + } + ], + "x": 0.5, + "y": 486, + "height": 99, + "width": 200, + "stroke": "#ccc" + }, + { + "items": [ + { + "marktype": "symbol", + "interactive": true, + "items": [ + { + "x": 94.19048571428573, + "y": 72, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 83.23808571428572, + "y": 36, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 84.76191428571428, + "y": 90, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 65.80951428571429, + "y": 54, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 85.04762857142858, + "y": 9, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 91.90477142857144, + "y": 27, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 71.23811428571429, + "y": 81, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 99.14285714285715, + "y": 45, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 56.285714285714285, + "y": 63, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 98.4762, + "y": 18, + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 2 + }, + { + "x": 63.23808571428572, + "y": 72, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 41.23808571428572, + "y": 36, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 47.52380000000001, + "y": 90, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 92.09522857142858, + "y": 54, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 58.952371428571425, + "y": 9, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 55.619057142857145, + "y": 27, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 56.85714285714285, + "y": 81, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 76.4762, + "y": 45, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 43.5238, + "y": 63, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + }, + { + "x": 59.04762857142857, + "y": 18, + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 2 + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "axis", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": true, + "items": [ + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Trebi", + "x": -3, + "y": 9.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Wisconsin No. 38", + "x": -3, + "y": 18.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 457", + "x": -3, + "y": 27.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Glabron", + "x": -3, + "y": 36.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Peatland", + "x": -3, + "y": 45.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Velvet", + "x": -3, + "y": 54.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 475", + "x": -3, + "y": 63.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Lorem Ipsum", + "x": -3, + "y": 72.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "No. 462", + "x": -3, + "y": 81.5, + "align": "right", + "baseline": "middle" + }, + { + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "opacity": 1, + "text": "Svansota", + "x": -3, + "y": 90.5, + "align": "right", + "baseline": "middle" + } + ] + } + ], + "x": 0, + "y": 0 + } + ] + } + ], + "x": 0.5, + "y": 603, + "height": 99, + "width": 200, + "stroke": "#ccc" + } + ] + }, + { + "marktype": "group", + "interactive": false, + "role": "legend", + "items": [ + { + "items": [ + { + "marktype": "text", + "interactive": false, + "items": [ + { + "x": 3, + "y": 3, + "fill": "#000", + "font": "sans-serif", + "fontSize": 11, + "fontWeight": "bold", + "baseline": "top", + "text": "Year", + "opacity": 1 + } + ] + }, + { + "marktype": "symbol", + "interactive": false, + "items": [ + { + "x": 7.5, + "y": 23, + "shape": "circle", + "size": 50, + "stroke": "#1f77b4", + "strokeWidth": 1, + "opacity": 1 + }, + { + "x": 7.5, + "y": 38, + "shape": "circle", + "size": 50, + "stroke": "#ff7f0e", + "strokeWidth": 1, + "opacity": 1 + } + ] + }, + { + "marktype": "text", + "interactive": false, + "items": [ + { + "x": 16, + "y": 23, + "fill": "#000", + "font": "sans-serif", + "fontSize": 10, + "align": "left", + "baseline": "middle", + "text": "1931", + "opacity": 1 + }, + { + "x": 16, + "y": 38, + "fill": "#000", + "font": "sans-serif", + "fontSize": 10, + "align": "left", + "baseline": "middle", + "text": "1932", + "opacity": 1 + } + ] + } + ], + "x": 218.11767578125, + "y": 0.5, + "width": 43, + "height": 46 + } + ] + } + ], + "width": 200, + "height": 720 + } + ] } diff --git a/packages/processing/scenegraph/src/factory.ts b/packages/processing/scenegraph/src/factory.ts index e22a197460..8e492c482a 100644 --- a/packages/processing/scenegraph/src/factory.ts +++ b/packages/processing/scenegraph/src/factory.ts @@ -17,9 +17,7 @@ export function createMark(markType: MarkType, items: SGItem[]) { items.forEach((item, index) => { if (item.itemtype !== markType) { throw new Error( - `Mark type must match the type of it's child items. Mark ${markType}, child ${ - item.itemtype - }@${index}`, + `Mark type must match the type of it's child items. Mark ${markType}, child ${item.itemtype}@${index}`, ) } }) diff --git a/packages/processing/scenegraph/tsconfig.json b/packages/processing/scenegraph/tsconfig.json index 128c135bdc..cc93ca8102 100644 --- a/packages/processing/scenegraph/tsconfig.json +++ b/packages/processing/scenegraph/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/processing/scenegraph/tsconfig.typedoc.json b/packages/processing/scenegraph/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/processing/scenegraph/tsconfig.typedoc.json +++ b/packages/processing/scenegraph/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/processing/vsvg/package.json b/packages/processing/vsvg/package.json index c274ddc520..856143f1e0 100644 --- a/packages/processing/vsvg/package.json +++ b/packages/processing/vsvg/package.json @@ -1,31 +1,31 @@ { - "name": "@chart-parts/vsvg", - "description": "Implementation of the visual prerendering phase, which translates scenegraphs to an intermediate, svg-based, form", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "devDependencies": { - "@chart-parts/scenegraph": "^0.1.1" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "@chart-parts/shapes": "^0.1.1", - "@types/d3-path": "^1.0.8", - "@types/d3-shape": "^1.2.7", - "d3-path": "^1.0.8", - "d3-shape": "^1.3.5", - "lodash": "^4.17.15", - "shallowequal": "^1.1.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/vsvg", + "description": "Implementation of the visual prerendering phase, which translates scenegraphs to an intermediate, svg-based, form", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "devDependencies": { + "@chart-parts/scenegraph": "^0.1.1" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "@chart-parts/shapes": "^0.1.1", + "@types/d3-path": "^1.0.8", + "@types/d3-shape": "^1.2.7", + "d3-path": "^1.0.8", + "d3-shape": "^1.3.5", + "lodash": "^4.17.15", + "shallowequal": "^1.1.0" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/processing/vsvg/tsconfig.json b/packages/processing/vsvg/tsconfig.json index 128c135bdc..cc93ca8102 100644 --- a/packages/processing/vsvg/tsconfig.json +++ b/packages/processing/vsvg/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/processing/vsvg/tsconfig.typedoc.json b/packages/processing/vsvg/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/processing/vsvg/tsconfig.typedoc.json +++ b/packages/processing/vsvg/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/renderers/react-native-svg/README.md b/packages/renderers/react-native-svg/README.md index 57f1519705..6f1a8af80c 100644 --- a/packages/renderers/react-native-svg/README.md +++ b/packages/renderers/react-native-svg/README.md @@ -1,3 +1,3 @@ ## Purpose -This library contains the React-Native SVG render. It depends on the _react-native-svg_ library. \ No newline at end of file +This library contains the React-Native SVG render. It depends on the _react-native-svg_ library. diff --git a/packages/renderers/react-native-svg/package.json b/packages/renderers/react-native-svg/package.json index 1fa875abc5..f036ffb4e4 100644 --- a/packages/renderers/react-native-svg/package.json +++ b/packages/renderers/react-native-svg/package.json @@ -1,31 +1,31 @@ { - "name": "@chart-parts/react-native-svg-renderer", - "description": "A virtual dom renderer that emits react-native-svg elements", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "devDependencies": { - "@types/react-native": "^0.60.15", - "react": "^16.9.0" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "lodash": "^4.17.15", - "react-native-svg": "^9.9.4" - }, - "peerDependencies": { - "react": ">= 16.9", - "react-native": ">= ^0.56.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/react-native-svg-renderer", + "description": "A virtual dom renderer that emits react-native-svg elements", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "devDependencies": { + "@types/react-native": "^0.60.15", + "react": "^16.9.0" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "lodash": "^4.17.15", + "react-native-svg": "^9.9.4" + }, + "peerDependencies": { + "react": ">= 16.9", + "react-native": ">= ^0.56.0" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/renderers/react-native-svg/tsconfig.json b/packages/renderers/react-native-svg/tsconfig.json index be3e2b33c0..55905977dc 100644 --- a/packages/renderers/react-native-svg/tsconfig.json +++ b/packages/renderers/react-native-svg/tsconfig.json @@ -1,13 +1,13 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext"], - "strict": false, - "outDir": "lib", - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext"], + "strict": false, + "outDir": "lib", + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/renderers/react-native-svg/tsconfig.typedoc.json b/packages/renderers/react-native-svg/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/renderers/react-native-svg/tsconfig.typedoc.json +++ b/packages/renderers/react-native-svg/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/renderers/react-svg/README.md b/packages/renderers/react-svg/README.md index 3c29b5694d..9b68801ae4 100644 --- a/packages/renderers/react-svg/README.md +++ b/packages/renderers/react-svg/README.md @@ -1,3 +1,3 @@ ## Purpose -This library contains the implementation of the React-SVG Renderer for browser contexts. \ No newline at end of file +This library contains the implementation of the React-SVG Renderer for browser contexts. diff --git a/packages/renderers/react-svg/package.json b/packages/renderers/react-svg/package.json index 32b44a9265..daa708bca1 100644 --- a/packages/renderers/react-svg/package.json +++ b/packages/renderers/react-svg/package.json @@ -1,33 +1,33 @@ { - "name": "@chart-parts/react-svg-renderer", - "description": "A virtual dom renderer that emits React-DOM Svg", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "devDependencies": { - "@types/react": "^16.9.2", - "@types/react-dom": "^16.9.0", - "react": "^16.9.0" - }, - "resolutions": { - "@types/react": "^16.9.2" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "lodash": "^4.17.15" - }, - "peerDependencies": { - "react": ">= 16.9" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/react-svg-renderer", + "description": "A virtual dom renderer that emits React-DOM Svg", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "devDependencies": { + "@types/react": "^16.9.2", + "@types/react-dom": "^16.9.0", + "react": "^16.9.0" + }, + "resolutions": { + "@types/react": "^16.9.2" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "lodash": "^4.17.15" + }, + "peerDependencies": { + "react": ">= 16.9" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/renderers/react-svg/tsconfig.json b/packages/renderers/react-svg/tsconfig.json index 128c135bdc..cc93ca8102 100644 --- a/packages/renderers/react-svg/tsconfig.json +++ b/packages/renderers/react-svg/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/renderers/react-svg/tsconfig.typedoc.json b/packages/renderers/react-svg/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/renderers/react-svg/tsconfig.typedoc.json +++ b/packages/renderers/react-svg/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/util/scales/package.json b/packages/util/scales/package.json index bce5b8ff95..4c5d3d790c 100644 --- a/packages/util/scales/package.json +++ b/packages/util/scales/package.json @@ -1,28 +1,28 @@ { - "name": "@chart-parts/scales", - "description": "Scaling utilities for chart-parts", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "@types/d3-array": "^2.0.0", - "@types/d3-interpolate": "^1.2.0", - "@types/d3-scale": "^2.1.1", - "d3-array": "^2.3.1", - "d3-interpolate": "^1.3.2", - "d3-scale": "^3.1.0", - "lodash": "^4.17.15" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/scales", + "description": "Scaling utilities for chart-parts", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "@types/d3-array": "^2.0.0", + "@types/d3-interpolate": "^1.2.0", + "@types/d3-scale": "^2.1.1", + "d3-array": "^2.3.1", + "d3-interpolate": "^1.3.2", + "d3-scale": "^3.1.0", + "lodash": "^4.17.15" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/util/scales/src/util.ts b/packages/util/scales/src/util.ts index 6e44c97a27..af2c460f53 100644 --- a/packages/util/scales/src/util.ts +++ b/packages/util/scales/src/util.ts @@ -12,6 +12,6 @@ export function optionalArgument( return argLength === 0 ? defaultWithoutArg : value === undefined - ? defaultWithArg - : value + ? defaultWithArg + : value } diff --git a/packages/util/scales/tsconfig.json b/packages/util/scales/tsconfig.json index 2d4b2981b2..7a7368942f 100644 --- a/packages/util/scales/tsconfig.json +++ b/packages/util/scales/tsconfig.json @@ -1,13 +1,13 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "experimentalDecorators": true, - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "experimentalDecorators": true, + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/util/scales/tsconfig.typedoc.json b/packages/util/scales/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/util/scales/tsconfig.typedoc.json +++ b/packages/util/scales/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/util/shapes/README.md b/packages/util/shapes/README.md index 62c13490b2..e771f38eed 100644 --- a/packages/util/shapes/README.md +++ b/packages/util/shapes/README.md @@ -1,3 +1,3 @@ ## Purpose -This library contains shape-drawing utilities. It is used by the rendering pipeline to draw SVG primitives from scenegraph elements. \ No newline at end of file +This library contains shape-drawing utilities. It is used by the rendering pipeline to draw SVG primitives from scenegraph elements. diff --git a/packages/util/shapes/package.json b/packages/util/shapes/package.json index a2627f4216..3c5c567d2f 100644 --- a/packages/util/shapes/package.json +++ b/packages/util/shapes/package.json @@ -1,25 +1,25 @@ { - "name": "@chart-parts/shapes", - "description": "Shape-drawing utilities", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "dependencies": { - "@chart-parts/interfaces": "^0.1.1", - "@types/d3-path": "^1.0.8", - "@types/d3-shape": "^1.2.4", - "d3-path": "^1.0.8", - "d3-shape": "^1.3.5" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/shapes", + "description": "Shape-drawing utilities", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "dependencies": { + "@chart-parts/interfaces": "^0.1.1", + "@types/d3-path": "^1.0.8", + "@types/d3-shape": "^1.2.4", + "d3-path": "^1.0.8", + "d3-shape": "^1.3.5" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/util/shapes/tsconfig.json b/packages/util/shapes/tsconfig.json index 128c135bdc..cc93ca8102 100644 --- a/packages/util/shapes/tsconfig.json +++ b/packages/util/shapes/tsconfig.json @@ -1,12 +1,12 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/util/shapes/tsconfig.typedoc.json b/packages/util/shapes/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/util/shapes/tsconfig.typedoc.json +++ b/packages/util/shapes/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/packages/util/transform/README.md b/packages/util/transform/README.md index f1e8f42a40..20ff1c5486 100644 --- a/packages/util/transform/README.md +++ b/packages/util/transform/README.md @@ -1,3 +1,3 @@ ## Purpose -This library is a grab-bag of client data-transformation utilities. Data-transformation is a problem mostly left to the user (at least for now). As we start to implement data transformation and aggregation utilities, they will likely end up here. The transforms we support currently are all layout-centric for now. \ No newline at end of file +This library is a grab-bag of client data-transformation utilities. Data-transformation is a problem mostly left to the user (at least for now). As we start to implement data transformation and aggregation utilities, they will likely end up here. The transforms we support currently are all layout-centric for now. diff --git a/packages/util/transform/package.json b/packages/util/transform/package.json index 205aa61878..f14d235b84 100644 --- a/packages/util/transform/package.json +++ b/packages/util/transform/package.json @@ -1,27 +1,27 @@ { - "name": "@chart-parts/transform", - "description": "Data transformation utilities", - "version": "0.1.1", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "lib/index.d.ts", - "license": "MIT", - "scripts": { - "clean": "../../../scripts/clean_package.sh", - "build": "../../../scripts/build_package.sh", - "start": "../../../scripts/watch_package.sh" - }, - "devDependencies": { - "lodash": "^4.17.15" - }, - "dependencies": { - "vega-dataflow": "^5.4.0", - "vega-encode": "^4.3.3", - "vega-transforms": "^4.3.0", - "vega-util": "^1.11.2" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" + "name": "@chart-parts/transform", + "description": "Data transformation utilities", + "version": "0.1.1", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "lib/index.d.ts", + "license": "MIT", + "scripts": { + "clean": "../../../scripts/clean_package.sh", + "build": "../../../scripts/build_package.sh", + "start": "../../../scripts/watch_package.sh" + }, + "devDependencies": { + "lodash": "^4.17.15" + }, + "dependencies": { + "vega-dataflow": "^5.4.0", + "vega-encode": "^4.3.3", + "vega-transforms": "^4.3.0", + "vega-util": "^1.11.2" + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "745ce2d7118a3b17d0c6ce32555582fdc22d88ff" } diff --git a/packages/util/transform/tsconfig.json b/packages/util/transform/tsconfig.json index 2d4b2981b2..7a7368942f 100644 --- a/packages/util/transform/tsconfig.json +++ b/packages/util/transform/tsconfig.json @@ -1,13 +1,13 @@ { - "extends": "../../../tsconfig.json", - "compilerOptions": { - "lib": ["esnext", "dom"], - "outDir": "lib", - "experimentalDecorators": true, - "composite": true, - "rootDir": "./src", - "baseUrl": "./src" - }, - "files": ["src/index.ts"], - "include": ["./src/**/*.ts*"] + "extends": "../../../tsconfig.json", + "compilerOptions": { + "lib": ["esnext", "dom"], + "outDir": "lib", + "experimentalDecorators": true, + "composite": true, + "rootDir": "./src", + "baseUrl": "./src" + }, + "files": ["src/index.ts"], + "include": ["./src/**/*.ts*"] } diff --git a/packages/util/transform/tsconfig.typedoc.json b/packages/util/transform/tsconfig.typedoc.json index 0b9342f4ad..80b6a0a846 100644 --- a/packages/util/transform/tsconfig.typedoc.json +++ b/packages/util/transform/tsconfig.typedoc.json @@ -1,6 +1,6 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "composite": false - } + "extends": "./tsconfig.json", + "compilerOptions": { + "composite": false + } } diff --git a/tsconfig.json b/tsconfig.json index 388df8c65f..d0668876ac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,14 @@ { - "compilerOptions": { - "target": "esnext", - "module": "esnext", - "moduleResolution": "node", - "declaration": true, - "forceConsistentCasingInFileNames": true, - "allowSyntheticDefaultImports": true, - "jsx": "react", - "strict": true, - "noUnusedLocals": true, - "lib": ["esnext"] - } + "compilerOptions": { + "target": "esnext", + "module": "esnext", + "moduleResolution": "node", + "declaration": true, + "forceConsistentCasingInFileNames": true, + "allowSyntheticDefaultImports": true, + "jsx": "react", + "strict": true, + "noUnusedLocals": true, + "lib": ["esnext"] + } }