Class SmothAreaCard
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
de.bytestore.hostinger.components.cards.Card
de.bytestore.hostinger.components.cards.ImageTitleCard
de.bytestore.hostinger.components.cards.SmothAreaCard
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSmothAreaCard(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 TypeMethodDescriptionvoidupdateValue(double valueIO) Adds a value to the chart series.voidupdateValue(Object[]... valueIO) Adds a value to the chart series.Methods inherited from class de.bytestore.hostinger.components.cards.ImageTitleCard
setFirst, setImageIconMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods 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, setVisibleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
SmothAreaCard
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 cardseriesIO- an array of Series objects representing the data to be visualized in the chart
-
-
Method Details
-
updateValue
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
-