Uses of Interface
com.storedobject.chart.AbstractDataProvider
Packages that use AbstractDataProvider
-
Uses of AbstractDataProvider in com.storedobject.chart
Subinterfaces of AbstractDataProvider in com.storedobject.chartModifier and TypeInterfaceDescriptioninterface
Category data is typically non-numeric kind of (string) data that can be used in many charts like in the X-axis of aBarChart
.interface
Provider of numeric data.interface
Data provider of date values.interface
InternalData<T>
A marker interface to combine the interfacesAbstractDataProvider
andInternalDataProvider
.interface
Data provider to provide time values.Classes in com.storedobject.chart that implement AbstractDataProviderModifier and TypeClassDescriptionclass
AbstractData<T>
Representation of data as aList
.class
A data provider implementation to provide data from aStream
.class
A basic data provider that can be extended to create customized data providers.class
A basic data provider that can be extended to create customized internal data providers.class
Data representation forCandlestickChart
.class
A list-based data provider for category data.class
Numeric data.final class
A data provider implementation to provide data from aStream
.class
Date data provider.final class
A date data provider implementation to provide data from aStream
.class
Representation of data as a mathematical function of another data or stream of values.static final record
A wrapper class to convert any instance ofAbstractDataProvider
to an instance ofInternalDataProvider
.class
class
Implementation of serially increasing/decreasing numbers as data.class
Implementation of serially increasing/decreasing date values as data.class
Implementation of serially increasing/decreasing time values as data.class
Time data provider.final class
A time data provider implementation to provide data from aStream
.Methods in com.storedobject.chart that return AbstractDataProviderModifier and TypeMethodDescriptiondefault <D> AbstractDataProvider
<D> AbstractDataProvider.create
(DataType convertedType, BiFunction<T, Integer, D> mappingFunction) Create another data set by applying a mapping function to this data set.default <D> AbstractDataProvider
<D> Create another data set by applying a mapping function to this data set.InternalData.WrappedDataProvider.dataProvider()
Returns the value of thedataProvider
record component.protected AbstractDataProvider
<?> BubbleChart.dataToEmbed()
protected AbstractDataProvider
<?> CandlestickChart.dataToEmbed()
protected AbstractDataProvider
<?> Chart.dataToEmbed()
Get the data to embed.protected AbstractDataProvider
<?> GaugeChart.dataToEmbed()
protected AbstractDataProvider
<?> GraphChart.dataToEmbed()
protected AbstractDataProvider
<?> HeatmapChart.dataToEmbed()
protected AbstractDataProvider
<?> RadarChart.dataToEmbed()
protected AbstractDataProvider
<?> SankeyChart.dataToEmbed()
protected AbstractDataProvider
<?> SunburstChart.dataToEmbed()
protected AbstractDataProvider
<?> TreeChart.dataToEmbed()
protected AbstractDataProvider
<?> TreemapChart.dataToEmbed()
protected AbstractDataProvider
<?> Chart.dataValue()
Get the data that represents the values of this chart.protected AbstractDataProvider
<String> Project.dependencies()
final AbstractDataProvider<?>[]
Chart.getData()
Get the current set of data.Methods in com.storedobject.chart with parameters of type AbstractDataProviderModifier and TypeMethodDescriptionvoid
SOChart.addData
(AbstractDataProvider<?> data) Add data to the chart.Tooltip.append
(AbstractDataProvider<?> data) Add a data point to the tooltip.static <T> FunctionData
FunctionData.create
(AbstractDataProvider<T> xValues, ToDoubleFunction<T> converter) Create aFunctionData
that generates values by converting a stream of another set of values.protected String
SOChart.customizeDataJSON
(String json, AbstractDataProvider<?> data) This method is invoked just before the JSON string that is being constructed to send data to the client.void
SOChart.removeData
(AbstractDataProvider<?> data) Remove extra data added viaSOChart.addData(AbstractDataProvider)
.final void
AbstractChart.setData
(AbstractDataProvider<?>... data) This method if invoked will raise aRuntimeException
if this is an axes-based chart.protected final void
AbstractChart.setData
(AbstractDataProvider<?> data, int index) Use this method to set data at a specific index in derived classes.void
Axis.setData
(AbstractDataProvider<?> data) Set the data for this axis.void
Chart.setData
(AbstractDataProvider<?>... data) Set data for the chart.void
RadarChart.setData
(AbstractDataProvider<?>... data) final void
SankeyChart.setData
(AbstractDataProvider<?>... data) void
SunburstChart.setData
(AbstractDataProvider<?>... data) final void
TreeChart.setData
(AbstractDataProvider<?>... data) final void
TreemapChart.setData
(AbstractDataProvider<?>... data) void
FunnelChart.setItemNames
(AbstractDataProvider<?> itemNames) Set names of the slices.void
PieChart.setItemNames
(AbstractDataProvider<?> itemNames) Set names of the slices.void
Chart.Label.setLabelProvider
(AbstractDataProvider<?> labels) Instead of specifying the format for the label viaChart.Label.setFormatter(String)
, it is possible to set the labels directly from anAbstractDataProvider
using this method.void
XYChart.setXData
(AbstractDataProvider<?> xData) Set data for X axis.void
XYChart.setYData
(AbstractDataProvider<?> yData) Set data for Y axis.void
SOChart.updateData
(AbstractDataProvider<?>... data) Update the chart with modified data from the data provider.static <T> InternalData
<T> InternalData.wrap
(AbstractDataProvider<T> dataProvider) Wrap anAbstractDataProvider
to create an instance of anInternalData
.Method parameters in com.storedobject.chart with type arguments of type AbstractDataProviderModifier and TypeMethodDescriptionvoid
Chart.declareData
(Set<AbstractDataProvider<?>> dataSet) void
CoordinateSystem.declareData
(Set<AbstractDataProvider<?>> dataSet) void
HasData.declareData
(Set<AbstractDataProvider<?>> dataSet) Declare the data set owned by thisComponentPart
by adding it to theSet
provided.void
MarkArea.declareData
(Set<AbstractDataProvider<?>> dataSet) void
Tooltip.declareData
(Set<AbstractDataProvider<?>> dataSet) Constructors in com.storedobject.chart with parameters of type AbstractDataProviderModifierConstructorDescriptionAbstractChart
(ChartType type, boolean axesBased, AbstractDataProvider<?>... data) Create a chart of a given type and data.AbstractChart
(ChartType type, AbstractDataProvider<?>... data) Create a chart of a given type and data.AngleAxis
(AbstractDataProvider<?> data) Constructor.Axis
(AbstractDataProvider<?> data) Constructor.BarChart
(AbstractDataProvider<?> xData, AbstractDataProvider<?> yData) Constructor.BubbleChart
(AbstractDataProvider<?> xData, AbstractDataProvider<?> yData) Constructor.CandlestickChart
(AbstractDataProvider<?> xData, CandlestickData yData) Chart
(AbstractDataProvider<?>... data) Create aChartType.Line
chart with the given data.Chart
(ChartType type, AbstractDataProvider<?>... data) Create a chart of a given type and data.DataChannel
(SOChart soChart, AbstractDataProvider<?>... dataProviders) Create a data channel for the given set of data providers.DonutChart
(AbstractDataProvider<?> itemNames, DataProvider values) Constructor.EffectScatterChart
(AbstractDataProvider<?> xData, AbstractDataProvider<?> yData) Constructor.FunnelChart
(AbstractDataProvider<?> itemNames, DataProvider values) Constructor.LineChart
(AbstractDataProvider<?> xData, AbstractDataProvider<?> yData) Constructor.NightingaleRoseChart
(AbstractDataProvider<?> itemNames, DataProvider values) Constructor.PieChart
(AbstractDataProvider<?> itemNames, DataProvider values) Constructor.RadiusAxis
(AbstractDataProvider<?> data) Constructor.ScatterChart
(AbstractDataProvider<?> xData, AbstractDataProvider<?> yData) Constructor.SelfPositioningChart
(ChartType type, boolean axesBased, AbstractDataProvider<?>... data) Create a chart of a given type and data.SelfPositioningChart
(ChartType type, AbstractDataProvider<?>... data) Create a chart of a given type and data.SelfPositioningSpecialChart
(ChartType type, AbstractDataProvider<?>... data) Create a chart of a given type and data.WrappedDataProvider
(AbstractDataProvider<T> dataProvider) Creates an instance of aWrappedDataProvider
record class.XAxis
(AbstractDataProvider<?> data) Constructor.XYAxis
(AbstractDataProvider<?> data) Constructor.XYChart
(ChartType type, AbstractDataProvider<?> xData, AbstractDataProvider<?> yData) Constructor.YAxis
(AbstractDataProvider<?> data) Constructor.