Search in sources :

Example 6 with RangeSeries

use of com.vaadin.addon.charts.model.RangeSeries in project charts by vaadin.

the class ChartData method rangeSeriesSnippet1.

public void rangeSeriesSnippet1(Configuration conf) {
    RangeSeries series = new RangeSeries("Temperature Ranges", new Double[] { -51.5, 10.9 }, new Double[] { -49.0, 11.8 }, // ...
    new Double[] { -47.0, 10.8 });
    conf.addSeries(series);
}
Also used : RangeSeries(com.vaadin.addon.charts.model.RangeSeries)

Aggregations

RangeSeries (com.vaadin.addon.charts.model.RangeSeries)6 Chart (com.vaadin.addon.charts.Chart)4 Configuration (com.vaadin.addon.charts.model.Configuration)3 Crosshair (com.vaadin.addon.charts.model.Crosshair)2 DataSeriesItem (com.vaadin.addon.charts.model.DataSeriesItem)2 Tooltip (com.vaadin.addon.charts.model.Tooltip)2 YAxis (com.vaadin.addon.charts.model.YAxis)2 ChartSelectionEvent (com.vaadin.addon.charts.ChartSelectionEvent)1 ChartSelectionListener (com.vaadin.addon.charts.ChartSelectionListener)1 DataSeries (com.vaadin.addon.charts.model.DataSeries)1 PlotOptionsArearange (com.vaadin.addon.charts.model.PlotOptionsArearange)1 PlotOptionsScatter (com.vaadin.addon.charts.model.PlotOptionsScatter)1 XAxis (com.vaadin.addon.charts.model.XAxis)1 Random (java.util.Random)1