Class Credits

    • Constructor Detail

      • Credits

        public Credits()
      • Credits

        public Credits​(Boolean enabled)
      • Credits

        public Credits​(String text)
    • Method Detail

      • setEnabled

        public void setEnabled​(Boolean enabled)
        Whether to show the credits text.

        Defaults to: true

      • setHref

        public void setHref​(String href)
        The URL for the credits label.

        Defaults to: http://www.highcharts.com

        Throws:
        IllegalArgumentException - if href uses a scheme that is not considered safe according to DeploymentConfiguration.getUrlSafeSchemes(); see setUnsafeHref(String) and the "safeUrlSchemes" configuration property
        See Also:
        setUnsafeHref(String)
      • setUnsafeHref

        public void setUnsafeHref​(String href)
        Sets the URL for the credits label without validating its scheme.

        Unlike setHref(String), this method does not reject URLs based on the "safeUrlSchemes" configuration. Use it only for URLs that are fully under your control and known to be safe. Passing untrusted input here can expose the application to cross-site scripting (XSS) attacks.

        Parameters:
        href - the URL for the credits label
        See Also:
        setHref(String)
      • setPosition

        public void setPosition​(Position position)
        Position configuration for the credits label.
      • setStyle

        public void setStyle​(Style style)
        CSS styles for the credits label.

        Defaults to: { "cursor": "pointer", "color": "#999999", "fontSize": "10px" }

      • setText

        public void setText​(String text)
        The text for the credits label.

        Defaults to: Highcharts.com