GithubHelp home page GithubHelp logo

Export Graph as picture about fastqt HOT 9 CLOSED

labsquare avatar labsquare commented on September 24, 2024
Export Graph as picture

from fastqt.

Comments (9)

natir avatar natir commented on September 24, 2024

It's possible to export image as svg ?

I think export all analyse in one pdf isn't a good idea create a directory with each graph in one file is more adaptable.

from fastqt.

dridk avatar dridk commented on September 24, 2024

it may be possible to render svg. Not sure ..
I will try with QSvgRenderer

from fastqt.

natir avatar natir commented on September 24, 2024

I try to use a adaptation of this code, but QChartView didn't want render in QSvgGenerator.

Pixmap image we can use view->grab.save("image.png")

from fastqt.

dridk avatar dridk commented on September 24, 2024

let me try

from fastqt.

natir avatar natir commented on September 24, 2024

I find a solution it's ok

from fastqt.

natir avatar natir commented on September 24, 2024

04efec5 add a possibility to all analyse to get result widget in Pixmap or in SVG.

For GUI application we can do :

  • export current graph (default name : filename_graph_name.format)
  • export all graph of file (default name: filename/graph_name.format)
  • export all graph of all file (default name : fastqt/filename/graph_name.format)

from fastqt.

dridk avatar dridk commented on September 24, 2024

I changed my mind, sorry for that.
But we must have Analysis::save(const QString& filename) as you said before. Check the extension ( QFileInfo) and do the save in function.

from fastqt.

dridk avatar dridk commented on September 24, 2024

What about table ? I can't export table as a picture. I need to export them as a file .
So, each analysis should have a export_data(const QString& filename).
From them, you can export image, or csv file etc ....

FastQC export all data as html page ... Is it a good idea ?
Also, from the gui I don't know what action is necessary.. export all results ? Export result from analysis ?
And what about svg / png export ...
So, we need to clarify everything .

from fastqt.

dridk avatar dridk commented on September 24, 2024

can be improve in next milestone.

from fastqt.

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.