私はこの問題を持っていた問題が何であったかを考え出しました。私が得たヒントは、MSDNが
現在のチャート画像のURLを表す文字列値を言うようChart.ImageLocation
のプロパティがやや誤解を招くようですhttp://social.msdn.microsoft.com/Forums/vstudio/en-US/29ce1ba3-c338-41ee-b218-c78f432b2f77/delete-images-from-useimagelocation-location
からでした。
は、しかし、これはまた、ファイル名を含める必要がありますし、私はあなたがこの
<img src="/TempImages/.png?y56r6y7f5w4r5" />
変更などの画像URLのファイル名を含むようにchart.ImageLocation
を生成します。この
Chart chart = new Chart();
chart.RenderType = RenderType.ImageTag;
chart.ImageStorageMode = ImageStorageMode.UseImageLocation;
chart.ImageLocation = "~/TempImages/";
このようなものを持っている疑いがありますこのようなシーケンスを生成する
chart.ImageLocation = "~/TempImages/ChartPicture_#SEQ(300,5)";
このような画像を生成します。
ChartPicture_000001.png
ChartPicture_000002.png
ChartPicture_000003.png
ChartPicture_000004.png
...