You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/chart-display-empty.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
-
title: How to Show Empty Chart Instead the Default No Data Template
2
+
title: How to Show Empty Chart Instead of the Default No Data Template
3
3
description: Learn how to show an empty Chart component when there is no data, instead of displaying the default No Data template.
4
4
type: how-to
5
-
page_title: How to Show Empty Chart Instead the Default No Data Template
5
+
page_title: How to Show Empty Chart Instead of the Default No Data Template
6
6
slug: chart-kb-display-empty-chart
7
7
tags: charts, blazor, no data template, empty chart
8
8
res_type: kb
@@ -21,23 +21,22 @@ ticketid: 1675313
21
21
22
22
## Description
23
23
24
-
As of version 7.1.0, the [No Data Template](slug://chart-no-data-template) was introduced for Charts in Blazor. In some scenarios, displaying an empty Chart, rather than the No Data template, is preferred when there is no data. This knowledge base article also answers the following questions:
24
+
As of version 7.1.0 of Telerik UI for Blazor, the [No Data Template](slug://chart-no-data-template) was introduced for Charts in Blazor. In some scenarios, displaying an empty Chart, rather than the No Data template, is preferred when there is no data. This knowledge base article also answers the following questions:
25
25
26
26
- How can I hide the No Data Template in Blazor Charts?
27
27
- Is it possible to display an empty Chart in Blazor when there's no data?
28
28
- Can I override the No Data Template in Blazor Charts?
29
29
30
30
## Solution
31
31
32
-
To display an empty Chart when there is no data, [override the default theme styles](slug://themes-override)by applying custom CSS. The following example demonstrates how to achieve an empty Chart display by hiding the No Data Template overlay through CSS.
32
+
To display an empty Chart when there is no data, [override the default theme styles](slug://themes-override)with custom CSS. The following example demonstrates how to achieve an empty Chart display by hiding the No Data Template overlay through CSS.
0 commit comments