Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

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.

Types

class BarSeriesVertical columns, or horizontal bars when the chart is rotated.
class BoxPlotSeriesBox and whisker plots: the median, the interquartile box and the whiskers of each group.
class CandlestickSeriesOpen/high/low/close prices drawn as candlesticks, OHLC bars or Heikin-Ashi candles.
class CategoricalSeriesBase of series made of named parts that fill the plot: pie slices, funnel stages.
class DownsampleLargest-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.
class ErrorBarSeriesValues with an uncertainty interval, drawn as a marker with whiskers.
class FlameGraphSeriesA 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.
class FunnelSeriesA 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.
class GaugeSeriesA gauge: one value on a curved scale, with optional coloured bands such as green / amber / red zones.
class HeatmapSeriesA heatmap: a grid of cells coloured by value.
class HierarchySeriesBase of the hierarchical series.
class HistogramSeriesA histogram: samples counted into equal width bins and drawn as touching bars.
class LineSeriesA line, spline, step or area series.
class PieSeriesA pie or doughnut chart.
class RadarSeriesA radar (spider) chart: one polygon per series over a shared set of spokes.
class RangeBarSeriesFloating bars that span from a start value to an end value: schedules, temperature ranges, price ranges.
class SankeySeriesA sankey diagram: flows between stages drawn as bands whose thickness is the flow’s value.
class ScatterSeriesUnconnected points.
class SunburstSeriesA 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.
class TreemapSeriesA squarified treemap: every node is a rectangle whose area is proportional to its value, nested inside its parent.
class VolumeSeriesTraded volume per period, each bar coloured by whether its period closed up or down.
class WaterfallSeriesA waterfall (bridge) chart: each bar starts where the previous one ended, so a sequence of gains and losses reads as a running total.
class XYSeriesA series of (x, y) points in primitive arrays.