Class zData


public class zData extends Component<T>
Special chart data visualization component. The component is not a standalone one, it can only be placed on the chart tooltip component. If this component is placed on the chart tooltip, the value of the data point the user hovers over with the mouse is displayed instead of the actual component. This component is Only applicable for bubble chart tooltips. For every other chart type, the text “undefined” is displayed instead of the component.
Since:
4.0
See Also:
  • Constructor Details

    • zData

      public zData()
      Creates the component.
  • Method Details

    • writeHTML

      public boolean writeHTML(StringWriter writer)
      Description copied from class: Component
      Creates the component's HTML equivalent

      This method doesn't need to be used during application development. This method is used when developing a custom component. When creating a custom component, this method needs to be implemented. In the parameter (StringWriter class) the component's HTML equivalent must be specified, and the method has to return with a Boolean value. This boolean value determines if the component was drawn. If the user doesn't have access right to the component, or if the component couldn't be drawn, it should return with false. Otherwise, it must return with true.

      Specified by:
      writeHTML in class Component<T extends Component<?>>
      Returns:
      If the componentwas drawn, true, otherwise false
    • addComponent

      public zData addComponent(Component<?> component)
      Description copied from class: Component
      Adds the specified component as a subcomponent, and redraws the component immediately
      Overrides:
      addComponent in class Component<T extends Component<?>>
      Parameters:
      component - The component to be added
      Returns:
      The component