Posted
on Mar 12, 2007
(permalink)
trying to set the background image of the plot area on a chart of default type bar. not sure where it's looking for the image but when I put something like
"~/Images/myimage.jpg" it give me a file i/o exception that it cannot find the file...
I am running in win xp, vstudio 2k5 without IIS on my machine (in other words using Cassini server rather than IIS) to debug.
I swear it worked the first time and doesn't seem to work now. I am combining this background image setting with images for the chartseriesItems. The images on the chartseriesitems now work since I changed their series type to bar (didn't work as type Bubble)
I can set the image path to be some absolute path, C:\mypath\image.jpg and that works in code or in the html...but if I try anything like ~/ImagePath/image.jpg it cannot find it even if I set the PlotArea image path in the same method that I set the chartseriesitem image paths and the paths are the same save the actual image name.