Dundas Chart for ASP.NET
EmptyPointValue Custom Attribute
See Also Send comments on this topic.
Custom Attributes > EmptyPointValue Custom Attribute



Glossary Item Box

Gets or sets the value to be used for Empty Points.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
   ...

' Set all empty points to show as a zero value.
Chart1.Series(0)("EmptyPointValue") = "Zero"


C# Copy Code
using Dundas.Charting.WebControl;
  ...

// Set all empty points to show as a zero value.
Chart1.Series[0]["EmptyPointValue"] = "Zero";


Remarks

This property determines how an empty point is treated when the chart is drawn. If a value of Average is used, then the chart is drawn as though a point exists, and has a value of the average of the two adjacent points. If Zero is used, then the chart is drawn as though a point exists with a zero value. 

Custom Attribute Summary
Possible Values: Average  - DataPoint labels are positioned automatically.
Zero - DataPoint labels are positioned above the point.
Default Value: Average 
2D / 3D Limitations: No
Applies to Chart Element: Series and DataPoint Objects
Applies to Chart Types: Point, Bubble, Line, Spline, StepLine, Column, RangeColumn, Gantt, Radar, Range, SplineRange, Polar, Area, SplineArea, Bar

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.