3.0.7 • Published 1 year ago

@thematic/vega v3.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This package provides a Vega adapter for thematic.

To use this, you feed it a Vega Specification and a Theme instance, and it will return a copy of the Vega spec with appropriate properties added to globally theme the chart and marks.

Example:

import { load } from '@thematic/core'
import { vega as decorator } from '@thematic/vega'
const vega = require('vega')

const theme = load()
const spec = // a valid Vega spec
const merged = decorator(theme, spec)
const parsed = vega.parse(merged)
return new vega.View(parsed).renderer('svg')
3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

2.0.15

2 years ago

2.0.14

2 years ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.13

2 years ago

2.0.11

2 years ago

2.0.12

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.5

2 years ago

2.0.6

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.0

2 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

0.9.0

4 years ago

0.8.0

4 years ago