typescript - ZingChart: handle label and legend with no data -


in zingcahrt want handle case data missing, i'm using "no-data". it's working label of chart , legend still displaying on screen. how can remove legend , text of label when there not data?

   "no-data":{               text:"no data"                                },      labels:[              {              "text":"failed tests"                                   }                ], legend: {             mediarules: [{                          maxwidth: 300,                          margintop: 50,                          layout: 'h',                          align: 'center'                         }]          } 

thanks in advance.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -