Interface XMLGraphResourceProvider


  • public interface XMLGraphResourceProvider
    This interface is used to provide resources to the XMLGraph object when it's parsing XML, such as fonts, images and colors. This allows customization of graphs (for instance, graphs intended for a PDF output can use vector-based PDF patterns or non-AWT colorspaces)
    Since:
    2.4.2
    • Method Detail

      • getPaint

        Paint getPaint​(String paintname)
        Get a Paint object matching the specified string
        Parameters:
        paintname - the name of a paint, eg "white", "#FF0000" or "pattern(gray45)"