Interface IChartIO


public interface IChartIO
This class is used to configure where the user of a Report Designer opened from an API call is allowed to save his/her chart files.

When using the method QbReportDesigner.setChartIO(quadbase.chart.designer.IChartIO cio); the IChartIO Object is passed in for this purpose.

All implementing class must implement the method saveChartFile().

  • Method Summary

    Modifier and Type
    Method
    Description
    saveChartFile(byte[] data, String fileName)
    Restrict the user where he/she will be able to save the chart file.
  • Method Details

    • saveChartFile

      String saveChartFile(byte[] data, String fileName)
      Restrict the user where he/she will be able to save the chart file. The designer calls this method when trying to save the chart files. The method returns a string which is generally the fileName if the save has been successful.
      Parameters:
      data - the byte data to be written to file.
      fileName - the entire path and name of where the report file will be saved originally.