highcharts / highcharts-ios

iOS wrapper for Highcharts.
Other
127 stars 39 forks source link

I need to display "No data displayed" when clicked on all the legends #344

Closed ruchiKumar14 closed 4 years ago

ruchiKumar14 commented 4 years ago

When clicked on legends one by one , so once all legends is clicked there is no chart shown, so instead of showing the empty space, i need to display a label "No data display", how can i do this, please help me Simulator Screen Shot - iPhone 11 - 2020-10-19 at 17 16 03

ihnatmoisieiev commented 4 years ago

Hello @ruchiKumar14,

Thanks for choosing Highcharts!

You can use noData options for displaying a message like "No data to display". This feature requires the "no-data-to-display" string to be added to your chartView.plugins array before setting main chartView.options. If you want to change noData default text, you change it using lang.noData property.

ihnatmoisieiev commented 4 years ago

Closing due to inactivity.