mpandroidchart - Android-MPChartLibrary unable to override default "No Chart data available text" -


i using android-mpchartlibrary showing linechart. empty view linechart showing "no chart data available" , "no data display"enter image description here

chart.setdescription(""); chart.setnodatatextdescription("no data display"); 

i want "no data display" not sure why showing both.

what worked me putting after setting chart data points.

chart.setdescription(""); chart.setnodatatext("no chart data"); // top line chart.setnodatatextdescription("..."); // 1 line below no-data-text chart.invalidate(); 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -