Interface ChartDataProvider


public interface ChartDataProvider
The interface that must be implemented to retrieve the chart data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This call indicates that a request for chart data has been received.
  • Method Details

    • requestChartData

      void requestChartData(ChartDataRequest request)
      This call indicates that a request for chart data has been received. The ChartDataProvider should retrieve the data according to the criteria, (which can be retrieved from the request by calling request.getCriteria() ) and pass it back to the requester by calling sendDataResponse on the request.

      If this request is invalid, the ChartDataProvider should call sendErrorResponse on the request.

      Parameters:
      request - the request for the data, consisting of the parameters that can be got with request.getCriteria, and methods to respond to the request with data or an error.