$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
Chart Feature Empty Value in ASP.NET
Home > How to > Chart Empty Values

Information to Chart Empty Value Feature

The KaxChart component from our ASP.NET AJAX SDK allows users to approximate missing values between known data points. And the feature to make this functionality feasible is called Empty Value.
The web chart empty value feature is applicable for most chart types, including the bar, line and area based charts. And another incredible strength of the chart empty value feature is that it entitles users the full ability to control the displaying style of the empty values. For instance, you can set its pen style, width and color properties individually. Therefore, the display form of the empty values can be totally different from the main values. Here you can view ourempty value free online demo.

How to Display Empty Value

To help users have a better control of this empty value chart feature, here we offer an aspx programming example. In the example below, the empty value will be displayed in html chart in the form of dash when setting the empty value property to true.

<kettic:KaxChart runat="server" Width="370" ID="KaxChart1" Skin="Kettic">
<kettic:ChartSeries Name="series 1" View="Bar">
<kettic:ChartSeriesPoint Value="1" Argument="1">
<kettic:ChartSeriesPoint Value="2" Argument="2">
<kettic:ChartSeriesPoint Value="3" Argument="3" IsEmpty="true" Label-TextArea-Visible="true" Label-Visible="true">
<kettic:ChartSeriesPoint Value="4" Argument="4">
<kettic:ChartSeriesPoint Value="5" Argument="5">
If you want to display the empty value in chart using C#.NET programming code, you can refer to following C# programming example.

KaxChart1.SeriesSet[0].Points[1].IsEmpty = true;
KaxChart1.SeriesSet[0].Points[1].Label.TextArea.Visible = true;
KaxChart1.SeriesSet[0].Points[1].Label.Visible = true;
Another thing that needs to be mentioned here is that you can also hide the empty value in chart by setting the values of Label.TextArea.Visible and Label.Visible to false.
set chart empty value feature in asp.net ajax
Note: In order to meet the basic needs of running the KaxChart control, please make sure that your ASP.NET web application has installed NET Framework 3.5 or above versions and that you have installed all the necessary dlls from our ASP.NET AJAX SDK into your ASP.NET web application.

Other Popular Chart Feature Recommendations