Q. I have a line chart with an empty data point. There is a black line where the point is empty. How can I remove this line?
A. When you have a database with a null value, it will create a datapoint marked as empty for the null value with Chart; an empty point in a line chart will show a black line at the empty point by default. If you want to hide this line, you can set the Color property of the empty point to Transparent. In Dundas Chart for ASP.NET or Windows Forms, this is done by simply setting the EmptyPointStyle.Color property of the series to Transparent.
If you are using Dundas Chart for Reporting Services, you can follow these steps:
- Double click on one of the data values in the chart control
- In the Chart Values dialog, select the Series tab.
- In the Series tab, select the Empty Point tab and set the Color to Transparent
|