Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SVG patterns #1

Open
ashiguruma opened this issue Aug 3, 2016 · 1 comment
Open

Add support for SVG patterns #1

ashiguruma opened this issue Aug 3, 2016 · 1 comment
Assignees

Comments

@ashiguruma
Copy link
Owner

Many data graphics libraries use an SVG element instead of a Canvas element. It would be helpful if the library provided a way to choose what type of elements to output.

Possible API Formats

// global format
pattern.format('svg');
pattern.draw('circle', '#333');

// pattern specific format
pattern
  .format('svg')
  .draw('circle', '#333');

// default format
pattern
  .draw('circle', '#333');
@ashiguruma ashiguruma self-assigned this Aug 3, 2016
@JewelsJLF
Copy link

+1 we're trying to export a canvas chart using patternomaly to SVG using canvas2svg, but it's not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants