FlexChart > Working with FlexChart > Data > Plotting Data |
FlexChart plots data bound in the form of fields or data arrays when relevant values are set in the BindingX and the Binding property.
You require setting the values in the BindingX and the Binding property as per the desired chart type . For instance, in case of the Scatter Chart, you need to set a single value (field) in both the BindingX and the Binding property. However, in case of the Bubble Chart, you need to set a single value (field) in the BindingX property and two values (fields, one for specifying Y-values and another for specifying the size of the bubble) in the Binding property.
See the following code snippets for reference:
' in case of the Scatter Chart FlexChart1.BindingX = "Beverages" series1.Binding = "Unit Price"
// in case of the Scatter Chart flexChart1.BindingX = "Beverages"; series1.Binding = "Unit Price";
' in case of the Bubble Chart FlexChart1.BindingX = "Year" series1.Binding = "Number of Employees,Annual Revenue"
// in case of the Bubble Chart series1.BindingX = "Year"; series1.Binding = "Number of Employees,Annual Revenue";
Once the data is plotted, you can work on it to visualize data that suits your requirements.
Go through the sections given below to learn how to customize series and plot irregular data.