Printer doesn't print Flash charts

UI Components for JSF
Post Reply
ebianchini
Posts: 22
Joined: 06 May 2011, 15:45
Location: São Paulo/Brazil

02 Jun 2011, 13:59

Hi everybody.

I'm trying to print a panel with a columnChart inside using a Printer tag, but the chart wasn't printed, just a blank space.

Is this normal behavior? Can't I print flash charts using the Printer tag?

This is a piece of my page:

Code: Select all

		<p:panel id="panelRelatorio">

			<f:facet name="header">
				<h:panelGrid columns="2" columnClasses="header-text, header-functions">
					<h:outputText value="#{relatorioBean.relatorio.caminho} > #{relatorioBean.relatorio.nome}" />
					<h:outputLink id="printLink" value="#">
						<h:graphicImage library="images" name="print.png" />
						<p:printer target="panelRelatorio" />
					</h:outputLink>
				</h:panelGrid>
			</f:facet>

			<p:columnChart value="#{relatorioBean.detalhes}" var="detalhe" xfield="#{detalhe.titulo}" width="1024" wmode="transparent">
				<p:chartSeries label="" value="#{detalhe.valores[relatorioBean.colunas[0].titulo]}" />
			</p:columnChart>

                        ...
All the things get printed but the chart.

Thanks.
Glassfish 3.1.2.2 build 5
JSF Mojarra 2.1.26
PrimeFaces 5.1
Google Chrome 38.0.2125.104

Everton Bianchini

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Jun 2011, 14:07

Not technically possible.

ebianchini
Posts: 22
Joined: 06 May 2011, 15:45
Location: São Paulo/Brazil

02 Jun 2011, 14:12

Thanks Prime.
Glassfish 3.1.2.2 build 5
JSF Mojarra 2.1.26
PrimeFaces 5.1
Google Chrome 38.0.2125.104

Everton Bianchini

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests