# FxBundle class

Namespace: [Grasshopper2.UI.Graphing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.graphing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class FxBundle
```

A collection of functions to be drawn in a preview.

## Constructors

- [FxBundle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/ctor.md)

## Properties

- [Functions](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/functions.md): List of functions to draw. Do not add functions to this list, but use the AddFunction(Func{double, double}, {double x0, double x1}[]), AddIntegral(Func{int, double}, {int k0, int k1}[])", or Add(Fx). methods instead.
- [X](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/x.md): Gets or sets the x-domain to draw.
- [XLabels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/xlabels.md): Special x values to include.
- [Y](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/y.md): Gets or sets the y-domain to draw.
- [YLabels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/ylabels.md): Special y values to include.

## Methods

- [Add](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/add.md): Add a completed function to this bundle.
- [AddFi](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/addfi.md): Add a discrete function to this bundle with the default colour.
- [AddFx](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/addfx.md): Add a function to this bundle with the default colour.
- [AddXLabels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/addxlabels.md): Add a bunch of unnamed x-axis labels.
- [AddYLabels](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/addylabels.md): Add a bunch of unnamed y-axis labels.
- [CreateStandardFunction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/createstandardfunction.md): (static) Create the standard preview for a given function.
- [CreateStandardPdfCdf](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/createstandardpdfcdf.md): (4 overloads, static) Create a painter for the PDF and CDF graphs of a continuous statistical distribution.
- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.graphing.fxbundle/draw.md): (3 overloads) Draw all functions in this bundle to a bitmap.
