Class ChartImageProvider

    • Method Detail

      • getChartPartImages

        public ChartImageProvider.ChartImagePart getChartPartImages​(Chart chart,
                                                                    int width,
                                                                    int height,
                                                                    String langCode)
        Gets image of Chart diagram parts
        Parameters:
        chart - actual Chart for getting images, can't be null
        width - full width of chart diagram
        height - full height of chart diagram
        langCode - current language code, can't be null
        Returns:
        images of Chart diagram parts. If error occurred while creating diagram null will be return.
      • getChartPartImages

        public ChartImageProvider.ChartImagePart getChartPartImages​(GanttChart chart,
                                                                    int width,
                                                                    int height,
                                                                    String langCode)
        Gets image of GanttChart diagram parts
        Parameters:
        chart - actual GanttChart for getting images, can't be null
        width - full width of chart diagram
        height - full height of chart diagram
        langCode - current language code, can't be null
        Returns:
        image of GanttChart diagram parts. If error occurred while creating diagram null will be return.
      • getChartPartImages

        public ChartImageProvider.ChartImagePart getChartPartImages​(Dendrogram chart,
                                                                    int width,
                                                                    int height,
                                                                    String langCode)
        Gets image of Dendrogram diagram parts
        Parameters:
        chart - actual Dendrogram for getting images, can't be null
        width - full width of chart diagram
        height - full height of chart diagram
        langCode - current language code, can't be null
        Returns:
        image of Dendrogram diagram parts. If error occurred while creating diagram null will be return.
      • dispose

        public void dispose()
        Releases special data for getting chart images
        You should call this method if you have no plans to soon get images. Attention! Client shouldn't call it after each call of getChartPartImages(Chart, int, int, String).