Package com.codename1.ui.chart.series


package com.codename1.ui.chart.series

The chart series.

  • Cartesian: LineSeries (straight, spline or step, optionally filled and stacked), BarSeries, ScatterSeries, RangeBarSeries, ErrorBarSeries, BoxPlotSeries, HistogramSeries, WaterfallSeries and HeatmapSeries.
  • Financial: CandlestickSeries (candles, OHLC bars or Heikin-Ashi) and VolumeSeries.
  • Parts of a whole: PieSeries (and doughnut), FunnelSeries, TreemapSeries, SunburstSeries and FlameGraphSeries.
  • Others: SankeySeries, GaugeSeries and RadarSeries.
  • Classes
    Class
    Description
    Vertical columns, or horizontal bars when the chart is rotated.
    Box and whisker plots: the median, the interquartile box and the whiskers of each group.
    Open/high/low/close prices drawn as candlesticks, OHLC bars or Heikin-Ashi candles.
    Base of series made of named parts that fill the plot: pie slices, funnel stages.
    Largest-Triangle-Three-Buckets downsampling (Steinarsson, 2013): picks the points of a long series that keep its visual shape, so a million samples can be handed to a chart as a few thousand.
    Values with an uncertainty interval, drawn as a marker with whiskers.
    A flame graph: each node is a bar as wide as its share of its parent, and its children sit on top of it, so the widest stacks are where the time (or memory, or any other total) goes.
    A funnel: stages of a process as centred bands whose widths are proportional to their values, each labelled with its value and the share of the first stage that reached it.
    A gauge: one value on a curved scale, with optional coloured bands such as green / amber / red zones.
    A heatmap: a grid of cells coloured by value.
    Base of the hierarchical series.
    A histogram: samples counted into equal width bins and drawn as touching bars.
    A line, spline, step or area series.
    A pie or doughnut chart.
    A radar (spider) chart: one polygon per series over a shared set of spokes.
    Floating bars that span from a start value to an end value: schedules, temperature ranges, price ranges.
    A sankey diagram: flows between stages drawn as bands whose thickness is the flow's value.
    Unconnected points.
    A sunburst: the hierarchy as concentric rings, the root in the centre and each level one ring further out, every node's angle proportional to its value.
    A squarified treemap: every node is a rectangle whose area is proportional to its value, nested inside its parent.
    Traded volume per period, each bar coloured by whether its period closed up or down.
    A waterfall (bridge) chart: each bar starts where the previous one ended, so a sequence of gains and losses reads as a running total.
    A series of (x, y) points in primitive arrays.