Adding Rows and Columns

To add rows to a chart group, do the following:

      Set the RowCount property to the new number of rows.

      If the data is irregularly-grid, set the RowDeltaArray property for the space between a new row and its predecessor.

      Set the Item property for each of the new points.

For example, the following code adds a fourth row of three points to a ChartGroup:

      Visual Basic

      C#

New columns can be added in much the same way:

      Set the ColumnCount property to the new number of columns.

      If the data is irregularly-grid, set the ColumnDeltaArray property for the space between a new column and its predecessor.

      Set the Item property for each of the new points.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.