Francis

Problem To Export Chart In Asp.net

Recommended Posts

The problem started when I have added the exportTargetWindow="_blank" property! That was working ok before that, but my client need the download to start in a new window!

 

The page where should be export show:

 

DOMId=
height=0
width=0
fileName=
statusMessage=Insufficient data.
statusCode=0

 

Here is the debug:

 

 

 

 

Info: Chart loaded and initialized.
Initial Width: 770
Initial Height: 400
Scale Mode: noScale
Debug Mode: Yes
Application Message Language: EN
Version: 3.2.1
Chart Type: True 3D Combination Chart (Single Y)
Chart Objects: 
BACKGROUND
CAPTION
SUBCAPTION
YAXISNAME
XAXISNAME
YAXISVALUES
DATALABELS
DATAVALUES
TRENDVALUES
TOOLTIP
LEGEND

INFO: Chart registered with external script. DOM Id of chart is MyChart
INFO: XML Data provided using dataXML method.
XML Data: <graph outCnvBaseFont="Arial" outCnvBaseFontSize="8" bgColor="F4F4F4" showBorder="1" borderColor="B8B7B7" borderThickness="1" startAngX="0" startAngY="0" endAngX="0" endAngY="0" divLineEffect="bevel" caption="Evolução de Táxi por Empresa" subcaption="(de 01/07/2010 até 30/06/2011)" hovercapbg="FFECAA" hovercapborder="F47E00" formatNumberScale="0" decimalPrecision="2" showvalues="0" numdivlines="10" numVdivlines="0" yaxisminvalue="0" yaxismaxvalue="800" rotateNames="1" exportEnabled="1" exportAtClient="0" exportTargetWindow="_blank" exportAction="download" exportFileName="EvolucaoEmpresa" exportHandler="/Empresa_Cliente.Web/FCExporter.aspx"><categories><category name="7/2010" /> <category name="8/2010" /> <category name="9/2010" /> <category name="10/2010" /> <category name="11/2010" /> <category name="12/2010" /> <category name="1/2011" /> <category name="2/2011" /> <category name="3/2011" /> <category name="4/2011" /> <category name="5/2011" /> <category name="6/2011" /> </categories><dataset seriesName="Pao de Acucar" color="839F2F" anchorBorderColor="839F2F" anchorBgColor="839F2F" renderAs="line"> <set value="96" /><set value="9" /><set value="0" /><set value="6288" /><set value="18" /><set value="200" /><set value="373" /><set value="100" /><set value="2" /><set value="0" /><set value="0" /><set value="115" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /></dataset></graph>
Export Capture Process Start: The chart has started capturing bitmap data for export.
Export Transmit Data Start: The chart has finished capture stage of bitmap export and is now initiating transfer of data to the module at '/Empresa_Cliente.Web/FCExporter.aspx'.

 

 

Thanks ! :D

Share this post


Link to post
Share on other sites

The problem started when I have added the exportTargetWindow="_blank" property! That was working ok before that, but my client need the download to start in a new window!

 

The page where should be export show:

 

DOMId=
height=0
width=0
fileName=
statusMessage=Insufficient data.
statusCode=0

 

Here is the debug:

 

 

 

 

Info: Chart loaded and initialized.
Initial Width: 770
Initial Height: 400
Scale Mode: noScale
Debug Mode: Yes
Application Message Language: EN
Version: 3.2.1
Chart Type: True 3D Combination Chart (Single Y)
Chart Objects: 
BACKGROUND
CAPTION
SUBCAPTION
YAXISNAME
XAXISNAME
YAXISVALUES
DATALABELS
DATAVALUES
TRENDVALUES
TOOLTIP
LEGEND

INFO: Chart registered with external script. DOM Id of chart is MyChart
INFO: XML Data provided using dataXML method.
XML Data: <graph outCnvBaseFont="Arial" outCnvBaseFontSize="8" bgColor="F4F4F4" showBorder="1" borderColor="B8B7B7" borderThickness="1" startAngX="0" startAngY="0" endAngX="0" endAngY="0" divLineEffect="bevel" caption="Evolução de Táxi por Empresa" subcaption="(de 01/07/2010 até 30/06/2011)" hovercapbg="FFECAA" hovercapborder="F47E00" formatNumberScale="0" decimalPrecision="2" showvalues="0" numdivlines="10" numVdivlines="0" yaxisminvalue="0" yaxismaxvalue="800" rotateNames="1" exportEnabled="1" exportAtClient="0" exportTargetWindow="_blank" exportAction="download" exportFileName="EvolucaoEmpresa" exportHandler="/Empresa_Cliente.Web/FCExporter.aspx"><categories><category name="7/2010" /> <category name="8/2010" /> <category name="9/2010" /> <category name="10/2010" /> <category name="11/2010" /> <category name="12/2010" /> <category name="1/2011" /> <category name="2/2011" /> <category name="3/2011" /> <category name="4/2011" /> <category name="5/2011" /> <category name="6/2011" /> </categories><dataset seriesName="Pao de Acucar" color="839F2F" anchorBorderColor="839F2F" anchorBgColor="839F2F" renderAs="line"> <set value="96" /><set value="9" /><set value="0" /><set value="6288" /><set value="18" /><set value="200" /><set value="373" /><set value="100" /><set value="2" /><set value="0" /><set value="0" /><set value="115" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /><set value="0" /></dataset></graph>
Export Capture Process Start: The chart has started capturing bitmap data for export.
Export Transmit Data Start: The chart has finished capture stage of bitmap export and is now initiating transfer of data to the module at '/Empresa_Cliente.Web/FCExporter.aspx'.

 

 

Thanks ! :D

 

No one?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now