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

pdf export in explore data tab #91

Open
shlurbee opened this issue Jul 25, 2011 · 8 comments
Open

pdf export in explore data tab #91

shlurbee opened this issue Jul 25, 2011 · 8 comments

Comments

@shlurbee
Copy link
Author

shlurbee commented Aug 4, 2011

@joshuaselsky is pdf export supposed to be done through an ohmage api?

@jshslsky
Copy link

jshslsky commented Aug 4, 2011

@hongsudt Do we need PDF export for Mobilize?

@hongsudt
Copy link
Member

hongsudt commented Aug 4, 2011

Given that we already have png viz, pdf export is in the category of nice to
have.. So it can be waited.

I am not sure whether John has already implemented pdf API yet though...
@jojenki

On Thu, Aug 4, 2011 at 11:15 AM, joshuaselsky <
reply@reply.github.com>wrote:

@hongsudt Do we need PDF export for Mobilize?

Reply to this email directly or view it on GitHub:
https://github.com/cens/AndWellnessFrontend/issues/91#issuecomment-1729327

@jojenki
Copy link
Contributor

jojenki commented Aug 4, 2011

I have not. The PDF button is the image saved as a PDF, and I can't think of a scenario where that is helpful. Someone might want to add the image to a PDF, but that is completely different. Is there a use-case for this?

@jshslsky
Copy link

jshslsky commented Aug 4, 2011

If this is just nice to have, let's just move it to a later release.

@hongsudt
Copy link
Member

hongsudt commented Aug 4, 2011

Agree to move this to later release.

From my understanding, R allows you to specify the output format of the
plot. So in the pdf case, it is the rweb that send you the pdf file instead
of an image file.. @jeroenooms

On Thu, Aug 4, 2011 at 11:49 AM, joshuaselsky <
reply@reply.github.com>wrote:

If this is just nice to have, let's just move it to a later release.

Reply to this email directly or view it on GitHub:
https://github.com/cens/AndWellnessFrontend/issues/91#issuecomment-1729619

@jeroen
Copy link

jeroen commented Aug 4, 2011

Yes, simply replace /png/ with /pdf/ and remove the !width and !height parameters.

@jojenki
Copy link
Contributor

jojenki commented Aug 4, 2011

But, if we are going to route this call through the ohmage server, I need to change my header from image to PDF. This means that we need to add another parameter or new APIs, so it's not quite as simple.

Eventually, we could change this to go directly to the R server, so that the ohmage server would be unaffected.

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

5 participants