Chart Types (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

Next: Chart Interaction, Previous: Adding Chart Objects, Up: Chart Object [Contents][Index]

#### 15.8.2 Chart Types

The following types are available:

`FL_BAR_CHART`

  A bar-chart

`FL_HORBAR_CHART`

  A horizontal bar-chart

`FL_LINE_CHART`

  A line-chart

`FL_FILLED_CHART`

  A line-chart but the area below curve is filled

`FL_SPIKE_CHART`

  A chart with a vertical spike for each value

`FL_PIE_CHART`

  A pie-chart

`FL_SPECIALPIE_CHART`

  A pie-chart with displaced first item

All charts except pie-charts can display positive and negative data. Pie-charts will ignore values that are less then or equal to 0. The maximum number of values displayed in the chart can be set using the routine `fl_set_chart_maxnumb()`. The argument must be not larger than `FL_CHART_MAX` which currently is 512. Switching between different types can be done without any complications.