Adding button or edit components to graph components

Note:  This topic applies to the graphing tool, which is supported for backward compatibility.  We recommend that, if you want to add charts or gauges to a form, use the newer FusionCharts tool instead. See About charts and gauges.

The graph component supports run-time adjustments to graphs, such as scrolling, redrawing, and adjusting color or other properties. To allow users access to these functions, add button components to the form that are associated with the graph component and have a Graph Element binding type. You can also add an edit component for entering the maximum number of points on the horizontal X axis.

To add button or edit components to graph components:

  1. Open a form and enter Design Mode.
  2. Create a new button or edit component, or edit an existing one.
  3. On the Component property sheet, click Binding, and then click the ellipsis (...) button.
  4. In the Type field, select Graph Element.
  5. Click Edit.
  6. In the Type group, select the type of button, either Previous, Next, Redraw, or Properties. For an edit component, select X Limit.
  7. In the Graph Component field, select the name of the graph component associated with this button or edit component.
  8. Click OK.