Class SmothAreaCard

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable

public class SmothAreaCard extends ImageTitleCard
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SmothAreaCard(String titleIO, com.github.appreciated.apexcharts.helper.Series... seriesIO)
    Constructs a SmothAreaCard object that displays a chart with the specified title and series data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    updateValue(double valueIO)
    Adds a value to the chart series.
    void
    updateValue(Object[]... valueIO)
    Adds a value to the chart series.

    Methods inherited from class de.bytestore.hostinger.components.cards.ImageTitleCard

    setFirst, setImageIcon

    Methods inherited from class com.vaadin.flow.component.Composite

    getChildren, getContent, getElement

    Methods inherited from class com.vaadin.flow.component.Component

    findAncestor, from, getId, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, isAttached, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, setId, setVisible

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • SmothAreaCard

      public SmothAreaCard(String titleIO, com.github.appreciated.apexcharts.helper.Series... seriesIO)
      Constructs a SmothAreaCard object that displays a chart with the specified title and series data. This component is a type of card that visually represents data in a chart format.
      Parameters:
      titleIO - the title of the card
      seriesIO - an array of Series objects representing the data to be visualized in the chart
  • Method Details

    • updateValue

      public void updateValue(Object[]... valueIO)
      Adds a value to the chart series.
      Parameters:
      valueIO - the Y-axis value representing the data point
    • updateValue

      public void updateValue(double valueIO)
      Adds a value to the chart series.
      Parameters:
      valueIO - the Y-axis value representing the data point