3.0.7 • Published 2 years ago

@thematic/vega v3.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

3 years ago

3.0.2

3 years ago

2.0.15

3 years ago

2.0.14

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.13

3 years ago

2.0.11

3 years ago

2.0.12

3 years ago

2.0.10

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.5

3 years ago

2.0.6

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.4

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

0.9.0

5 years ago

0.8.0

5 years ago