noData Boolean|Object
(default: true)
When no series data is available, the Chart will display an overlay element that contains a message with the text "No data available". The overlay will be automatically cleared if the series receive data.
To disable the "No Data" overlay, set this option to false
.
Example - disable noData message
<div id="chart"></div>
<script>
$("#chart").kendoChart({
legend: {
visible: false
},
series: [
{ name: "Series 1", data: [] },
{ name: "Series 2", data: [] }
],
noData: false
});
</script>
Example - customize noData message
<div id="chart"></div>
<script>
$("#chart").kendoChart({
legend: {
visible: false
},
series: [
{ name: "Series 1", data: [] },
{ name: "Series 2", data: [] }
],
messages: {
noData: "Loading..."
}
});
</script>