Class LineChartData
java.lang.Object
com.kingsrook.qqq.backend.core.model.dashboard.widgets.QWidgetData
com.kingsrook.qqq.backend.core.model.dashboard.widgets.LineChartData
- All Implemented Interfaces:
Serializable
Model containing datastructure expected by frontend bar chart widget
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLineChartData
(String title, List<String> labels, List<String> lineLabels, List<LineChartData.Data.Dataset> datasets) -
Method Summary
Modifier and TypeMethodDescriptionGetter for chartDataboolean
Getter for isYAxisCurrencygetTitle()
Getter for titlegetType()
Getter for typevoid
setChartData
(LineChartData.Data chartData) Setter for chartDatavoid
setIsYAxisCurrency
(boolean isYAxisCurrency) Setter for isYAxisCurrencyvoid
Setter for titlewithChartData
(LineChartData.Data chartData) Fluent setter for chartDatawithIsYAxisCurrency
(boolean isYAxisCurrency) Fluent setter for isYAxisCurrencyFluent setter for titleMethods inherited from class com.kingsrook.qqq.backend.core.model.dashboard.widgets.QWidgetData
getCsvData, getDropdownDataList, getDropdownDefaultValueList, getDropdownLabelList, getDropdownNameList, getDropdownNeedsSelectedText, getFooterHTML, getHasPermission, getLabel, getSublabel, setCsvData, setDropdownDataList, setDropdownDefaultValueList, setDropdownLabelList, setDropdownNameList, setDropdownNeedsSelectedText, setFooterHTML, setHasPermission, setLabel, setSublabel, withCsvData, withDropdownDataList, withDropdownDefaultValueList, withDropdownLabelList, withDropdownNameList, withDropdownNeedsSelectedText, withFooterHTML, withHasPermission, withLabel, withSublabel
-
Constructor Details
-
LineChartData
public LineChartData() -
LineChartData
-
-
Method Details
-
getType
-
getTitle
Getter for title -
setTitle
Setter for title -
withTitle
Fluent setter for title -
getChartData
Getter for chartData -
setChartData
Setter for chartData -
withChartData
Fluent setter for chartData -
getIsYAxisCurrency
public boolean getIsYAxisCurrency()Getter for isYAxisCurrency -
setIsYAxisCurrency
public void setIsYAxisCurrency(boolean isYAxisCurrency) Setter for isYAxisCurrency -
withIsYAxisCurrency
Fluent setter for isYAxisCurrency
-