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
Post a Comment