Jump to content
Software FX Community

cannot generate BkPicture or Annotation Object


User (Legacy)

Recommended Posts

Hello:

Using ChartFX IE 2000, I am attempting to add a background image and

annotation object to a chart. I am attempting to do this with the JPEG

output format. Is this possible? If so, why isn't my code working?

<%

var chart = Server.CreateObject("chartFX.WebServer");

chart.BkPicture = chart.LoadPicture(Server.MapPath("./tile.bmp"));

chart.AddExtension("AnnotationX.AnnList");

var ann = chart.GetExtension("AnnotationX.AnnList");

ann.LoadPicture(ServerMapPath("./tile.bmp"));

Response.Write (chart.GetHtmlTag("500","300","JPeg"));

%>

Thank you,

/m

(Mark Risher: markr@vividence.com)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...