# Connecting to Data

Learn how to bind and unbind the chart control, set data display units, and add data to a Chart control with our comprehensive guide.

## Content



The chart control can be bound or unbound. If the control is unbound, provide the values as double values.

When the chart is bound, the values can any data type that can be converted to a double value (including int, double, decimal, string, and so on).


> !type=note
>
> You can set the data display unit. For example, if your data values are in the millions, you can display the data in millions, with a smaller range of values (100,000,000 is represented by 100). The display unit is set by the [DisplayUnit](/spreadnet/api/latest/online-win/FarPoint.Win.Chart/FarPoint.Win.Chart.ValueAxis.DisplayUnits.html) property of the [ValueAxis](/spreadnet/api/latest/online-win/FarPoint.Win.Chart/FarPoint.Win.Chart.ValueAxis.html) class that represents the value axis.

For more information on adding data to a Chart control, see the following topics:

*   [Using a Bound Data Source](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/fpchart-chartdata/fpchart-data-bound)
*   [Using an UnBound Data Source](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/fpchart-chartdata/fpchart-data-unbound)
*   [Binding with cell range](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/fpchart-chartdata/spwin-sheet-chartbind)

## See Also

[Using the Chart Control on sheet](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/spwin-sheet-chart)

[Using the Chart Control](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/spwin-chartcontrol)

[Creating Plot Types](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/fpchart-createplot)

[Advanced chart settings](/spreadnet/docs/latest/online-win/overview/spwin-devguide/fpchart-devguide/fpchart-chartcreate/fpchart-chartcustom)