Chart export (server-side support) #291

Merged
merged 2 commits into from Jan 17, 2013

2 participants

@nurkiewicz

This is a pull request accompanying to Chart export to bitmap (PNG, PDF, TIFF, JPG) in saiku-ui.

It's a simple servlet that accepts SVG in XML format and outputs bitmap or PDF. This is just an initial sketch of the implementation, feel free to migrate it to REST or other technology.

@pstoellberger

we did want to use CGG (http://www.webdetails.pt/#ctools) that turns a CCC chart like ours into a svg,pdf,.. etc

however i will review your changes and might commit this for the time being. it looks like good work! thanks a lot for that!
and yeah i might convert the servlet into a jersey resource, just to keep things standardized.

thanks for the fix of the UI (multiple header), this was bugging me for ages!

@pstoellberger pstoellberger merged commit e126e8f into OSBI:master Jan 17, 2013
@pstoellberger

java.lang.NoClassDefFoundError: org/apache/avalon/framework/configuration/Configurable

this appears when i export it as pdf, the others work great!
I'll leave it as servlet for now until we have CGG/CDA etc in place

good work!

@nurkiewicz

Thanks for merging this pull request! I wrote it for our project and decided to share. If it's going away with new charting plugin, that's fine.

I'll look tomorrow why org/apache/avalon/framework/configuration/Configurable is unavailable, which JAR is missing. I thought it's a transitive dependency of batik.

@pstoellberger

yeh im sure its just a missing dependency in the pom. i'll just leave it to you to add it :-)

@nurkiewicz nurkiewicz deleted the nurkiewicz:svg-servlet branch Jan 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment