DomainAxis Property

Gets or sets the data set that will determine the chart segment or bar.

object.DomainAxis as Column

Use

The Google Pie and Bar charts controls require a 2-column table as a data source. Each row of the data source will represent a segment or bar in your chart.

One column of data will be assigned to the DomainAxis property - the values in this column will become the segment or bar labels in your chart. The values in this column are typically strings.

Another column of data will be assigned to the DataAxis property - the values in this column will determine the value (or proportional size) of the segments or bars in your chart. The values in this column are typically numerical.

 

TIP:

By default, as soon as you specify a datagrid in the DataSource property Newlook will assign the first column of that grid as the DomainAxis and the second column as the DataAxis. You can overwrite these defaults however to select the relevant columns to assign.

See Also

DataSource property | DataAxis property

Applies To

GoogleBarChart control | GooglePieChart control