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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -