Megosztás a következőn keresztül:


How to: Add Empty Points to the Chart (Report Builder 3.0 and SSRS)

Null values are shown on the chart as empty spaces or gaps between data points in a series. Empty points are data points that can be inserted in the empty space created by null values.

By default, empty points are calculated by taking the average of the previous and next data points that contain a value. You can change this so that all empty points are inserted at zero.

For more information, see Empty and Null Data Points in Charts (Report Builder 3.0 and SSRS).

Note

You can create and modify report definitions (.rdl) in Report Builder 3.0 and in Report Designer in Business Intelligence Development Studio. Each authoring environment provides different ways to create, open, and save reports and related items. For more information, see Designing Reports in Report Designer and Report Builder 3.0 (SSRS) on the Web at microsoft.com.

To specify empty points on a chart

  1. Open the Properties pane.

  2. On the design surface, right-click the series that contains null values. The properties for the series are displayed in the Properties pane.

  3. Expand the EmptyPoint node.

  4. Select a color value for the Color property.

  5. In the EmptyPoint node, expand the Marker node.

  6. Select a marker type for the MarkerType property.

    Note

    You must select a marker type to add empty points to a bar, column or scatter chart. However, for area, line and radar charts, selecting a marker type is optional because the chart fills in the empty space or gap without requiring a marker to be specified.

  7. Set the value of the empty point.

    1. In the Properties pane, expand the CustomAttributes node.

    2. Set the EmptyPointValue property. To insert empty points at an average of the previous and next data points, select Average. To insert empty points at zero, select Zero.