>>Hi
>>
>>I've got a web page.
>>
>>On the page is a dundas graph control.
>>When the page loads the graph is blank and then the user can select some option which re draw the graph with data.
>>
>>That works ok
>>
>>under the control I've placed a button to save the graph as an image.
>>
>>When I click the button the graph goes back to blank and a blank graph is saved as the image file.
>>
>>If I put the save command in the code that loads the graph it saves a file with data in it.
>>
>>This is the save statement
>>
>> FailureRate.Save("C:\temp\temp.bmp", Dundas.Charting.WebControl.ChartImageFormat.Bmp)
>>
>>
>>Any ideas what I'm doing wrong.
>>
>
>It sounds like you're not recreating the graph from the code that runs when you click on the button to save the graphic image.
You where correct .Thanks Paul
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement