Introduction.
Supported chart types.
wxFreeChart supports the following chart types:
- Line XY charts.
- Histogram XY charts.
- Area XY charts.
- Bar charts.
- Stacked bar charts.
- Layered bar charts.
- OHLC bars financial charts.
- OHLC candlesticks financial charts.
- Bubble charts.
- Gantt charts.
Features.
- Markers.
- Crosshair.
- Dynamic charts.
- Unlimited amount of axes.
- Gradient backgrounds and bars.
- Legend.
- Bars and candlestick colors can be controlled by various conditions (e.g. indicators, etc).
- Zoom and pan for charts.
wxFreeChart design.
- Dataset.
- Renderer.
- Axis.
- Plot.
- Chart.
- wxChartPanel.
Dataset.
Datasets can be following types:
- XYDataset. Provides data for charts, based on XY coordinates.
- CategoryDataset. For charts with numeric/string information on one axis, and string information on another, and pie plots.
- OHLCDataset. For financial quote charts.
- XYZDataset. For bubble charts.
Renderer.
Renderer is object, that performs data drawing. For one dataset type, can be many renderer, for example: XYDataset can be rendered as lines, histogram or area, OHLCDataset can be drawn as bars or candlesticks.
Renderers can be following types:
- XYRenderer. For drawing XY data.
- BarRenderer. For drawing bars: normal, stacked, layered.
- OHLCRenderer. For drawing financial quote data.
- XYZDataset. For drawing XYZ data.
Axis.
- NumberAxis. For displaying numeric labels, and scaling numeric data.
- CategoryAxis. For string labels.
- DateAxis. For date/time labels.
- CompDateAxis. Interval axis for date/time labels.
Plot.
Chart.
Chart is an object, that contains title, plot.
Other objects.
- Markers.
- Area draws.
- Legend.
- AxisShare.
- Multiplot.
Markers.
- Point marker. Marks single point value.
- Line marker. Uses to mark the specified value as line.
- Range marker. Used to mark the specified range of values.
Area draws.
Legend.
AxisShare.
Multiplot.
Summary.
Links.