Giter Site home page Giter Site logo

Download / embed charts? about charted HOT 6 CLOSED

charted-co avatar charted-co commented on September 17, 2024
Download / embed charts?

from charted.

Comments (6)

hermanschaaf avatar hermanschaaf commented on September 17, 2024

👍

from charted.

connorshea avatar connorshea commented on September 17, 2024

I would love a downloadable SVG, PNG also works!

from charted.

unity3diy avatar unity3diy commented on September 17, 2024

great :) 👍

from charted.

d2s avatar d2s commented on September 17, 2024

Workaround:

SVG Crowbar –bookmarklet seems to work… almost.

  • It does not capture detail texts from the sides of a chart, but at least gets some of the details.
  • Only thing captured is another type of the chart (line drawing), even while it was not active on the screen.

Still, this could be solved, if someone has a time for such.

“A Chrome-specific bookmarklet that extracts SVG nodes and accompanying styles from an HTML document and downloads them as an SVG file—A file which you could open and edit in Adobe Illustrator, for instance. Because SVGs are resolution independent, it’s great for when you want to use web technologies to create documents that are meant to be printed (like, maybe on newsprint). It was created with d3.js in mind, but it should work fine no matter how you choose to generate your SVG.”

from charted.

stjoseph999 avatar stjoseph999 commented on September 17, 2024

i'm not dure i understand what this all about but i surely want to know whats all tis for??

from charted.

aboutaaron avatar aboutaaron commented on September 17, 2024

FWIW @d2s, Quartz/Chartbuilder uses SVG Crowbar to extract the SVG so it seems to be the most tested approach: https://github.com/Quartz/Chartbuilder/blob/master/js/chartbuilder.js#L369

from charted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.