ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  inserting graphics (jpeg/png/gif) to multi chart
Posted by ramil on Oct-05-2012 22:42
hi peter,

just want to know if it possible to insert a graphics e.g. jpeg, png or gif to be a background of my whole bar graph. im building a water tank level monitoring with realtime values. i want the bar graph to hold a realtime variables. so everytime the water level changed, the bar reflect those values. im planning to make a multiple water tank image inserting those image to multi graph.

thanks and best regards


ramil

  Re: inserting graphics (jpeg/png/gif) to multi chart
Posted by Peter Kwan on Oct-06-2012 02:02
Hi ramil,

Yes. You can use the BaseChart.setBgImage method to use a jpeg, png or gif image as the background of a chart. You may apply it to the XYChart if you want the background image applied to the XYChart. You may apply it to the MultiChartif you want the background image applied to the MultiChart.

If you are writing a web application, note that the image file path name used in BaseChart.setBgImage is a file system path, not a URL. For example, the "/" refers to the root of the hard disk, not the root of the web document directory.

Hope this can help.

Regards
Peter Kwan