pablo
pablo copied to clipboard
Pablo is a lightweight, expressive JavaScript SVG library. Pablo creates interactive drawings with SVG (Scalable Vector Graphics), giving access to all of SVG's granularity and power.
I'm having issues using the the dataUrl to extract a base64 png on Internet Explorer 11 ``` // svg to test var svg = ''; // Outputs data:image/svg+xml;base64,PHN2Z...... Pablo(svg).dataUrl('svg', function(uri){console.log(uri)});...
Hi, I'm trying to convert D3 code with inline styles to .png image. Everything is included in the generated image except `
Hi, I have multiple d3 charts and would like to download these as an image file. Is this possible with pablo? if so, how would i go about it correctly?...
Using CSS transitions of CSS transformations is one of the most reliable and simplest ways to achieve animation. At it's simplest, this kind of thing is currently required: ``` js...
e.g. ``` js var myObj = {}; Pablo.extend(myObj, Pablo.Events); myObj.on('foo', fn); myObj.trigger('foo'); ```
E.g. `Pablo.cssPrefix('transform, transform-origin')` or `Pablo.cssPrefix(['transform', 'transform-origin'])` should return a comma-separated string for all properties: `transform, -moz-transform..., transform-origin, -moz-transform-origin...` This is useful in specifying transitions: ``` js rectangle.cssPrefix( 'transition', Pablo.cssPrefix('transform, transform-origin')...
`patch` is a boolean that determines whether the value (an object) should be used to update a subset of keys in the data object, rather than replacing the existing object,...
Pablo.svg() includes specific attributes, but these are not currently added when creating elements via an array with `Pablo(['svg'])`
e.g. ``` js collection.transform('rotate', function(){ return [45, 50, 60]; }); ```