DataAxis Property

Gets or sets the data set that will become the label for the chart segment or bar.

object.DataAxis 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.

See Also

DataSource property | DomainAxis property

Applies To

GoogleBarChart control | GooglePieChart control