ZingChart: Visually dealing with slow loading data

Imagine we have a chart we populate via an AJAX request of seven years worth of data in array of array format. While that data is being fetched we might as well display a nice picture for the user using the noData  object like so

noData : {
  text:'Waiting For AJAX request',
  fontSize:22,
  backgroundImage:'https://i.giphy.com/ONk787QkAmAZq.gif'
}

Example: https://demos.zingchart.com/view/MH9CZ11W


Note: We purposefully timed this request to show the noData value. Loads shouldn't be this slow.

Documentation
noData JSON Syntax

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us