phantomjs allows to screen capture
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+unsubscribe@googlegroups.com.
Hi,When we say "inline" are we talking about "<p style="..."> or does "In Page" (defining all styles in the HTML <head> section) styling count? We use In Page and it's a very nice way to deal with things but I don't know if In Page would allow the SVG to be saved with all styling.Thoughts?Frank
On Thu, Jun 27, 2013 at 3:17 PM, Christophe Viau <christo...@gmail.com> wrote:
Inlining styles is not bad practices. There must be a reason why google.com inlines all its css.
Have you tried adding a style attributes inside the SVG? It works for styling, but I would be curious to know if it works with client-side conversion.
svg.append('style').attr({type: 'text/css', media: 'screen'})
.text('text{font-size: '10px;} line{stroke: grey}');
Chris
On 6/27/13 11:26 AM, Nate Vack wrote:
If you're planning to have your image as a downloadable SVG file, you
might consider using inline CSS.
Yes, I know it makes babies cry; however, it makes packaging an
illustration (and, later, editing it in Adobe Illustrator) much
easier.
-n
On Thu, Jun 27, 2013 at 1:24 PM, Scott Murray <s...@alignedleft.com> wrote:
There's no automatic, built-in way, but since the source is all there, presumably you could include it in your page and trigger it programmatically.
Scott
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.