Forge: chart.h File Reference

Forge

Data Structures | Namespaces | Functions
chart.h File Reference
`#include <fg/defines.h>`
`#include <fg/image.h>`
`#include <fg/plot.h>`
`#include <fg/surface.h>`
`#include <fg/vector_field.h>`
`#include <fg/histogram.h>`

Go to the source code of this file.

## Data Structures
class | Chart
| Chart is base canvas where other plottable objects are rendered. More...

## Namespaces
| forge

## Functions
FGAPI fg_err | fg_create_chart (fg_chart *pHandle, const fg_chart_type pChartType)
| Create a Chart object with given dimensional property. More...
FGAPI fg_err | fg_destroy_chart (fg_chart pHandle)
| Destroy the chart object. More...
FGAPI fg_err | fg_set_chart_axes_titles (fg_chart pHandle, const char *pX, const char *pY, const char *pZ)
| Set axes titles for the chart. More...
FGAPI fg_err | fg_set_chart_axes_limits (fg_chart pHandle, const float pXmin, const float pXmax, const float pYmin, const float pYmax, const float pZmin, const float pZmax)
| Set axes data ranges. More...
FGAPI fg_err | fg_get_chart_axes_limits (float *pXmin, float *pXmax, float *pYmin, float *pYmax, float *pZmin, float *pZmax, const fg_chart pHandle)
| Get axes data ranges. More...
FGAPI fg_err | fg_set_chart_legend_position (fg_chart pHandle, const float pX, const float pY)
| Set legend position for Chart. More...
FGAPI fg_err | fg_add_image_to_chart (fg_image *pImage, fg_chart pHandle, const unsigned pWidth, const unsigned pHeight, const fg_channel_format pFormat, const fg_dtype pType)
| Create and add an Image object to the current chart. More...
FGAPI fg_err | fg_add_histogram_to_chart (fg_histogram *pHistogram, fg_chart pHandle, const unsigned pNBins, const fg_dtype pType)
| Create and add an Histogram object to the current chart. More...
FGAPI fg_err | fg_add_plot_to_chart (fg_plot *pPlot, fg_chart pHandle, const unsigned pNPoints, const fg_dtype pType, const fg_plot_type pPlotType, const fg_marker_type pMarkerType)
| Create and add an Plot object to the current chart. More...
FGAPI fg_err | fg_add_surface_to_chart (fg_surface *pSurface, fg_chart pHandle, const unsigned pXPoints, const unsigned pYPoints, const fg_dtype pType, const fg_plot_type pPlotType, const fg_marker_type pMarkerType)
| Create and add an Plot object to the current chart. More...
FGAPI fg_err | fg_add_vector_field_to_chart (fg_vector_field *pField, fg_chart pHandle, const unsigned pNPoints, const fg_dtype pType)
| Create and add an Vector Field object to the current chart. More...
FGAPI fg_err | fg_render_chart (const fg_window pWindow, const fg_chart pChart, const int pX, const int pY, const int pWidth, const int pHeight)
| Render the chart to given window. More...
FGAPI fg_err | fg_get_chart_type (const fg_chart_type *pChartType, const fg_chart pChart)
| Render the type of a chart. More...