Skip to main content
5-Regular Member
August 20, 2021
Question

How to hide some of the legend from legends in line chart

  • August 20, 2021
  • 1 reply
  • 2010 views

Hi,

I am on TWX 9.1 and using Line Chart.

We have multiple datasources to it. There can be values in datafield for datasources. In service, if there is no data to show, we are setting datafield value to be NA. Because if we don't set datafield value then then chart doesn't get displayed.

Could you please tell if there is any way to hide the legend which have datafield value as "NA"

Thanks

Anirudha

1 reply

5-Regular Member
August 25, 2021

Hi @ahanchat , 

can you please check the property HideLegend?

hide legend.png

Regards

Bhawna

 

 

 

ahanchat5-Regular MemberAuthor
5-Regular Member
August 25, 2021

Hi

It hides all legend.

I want to hide those legends which have value as "NA". Please refer screenshot

 

Regards

Anirudha

5-Regular Member
August 26, 2021

Hi Anirudha,

 

Kindly check the attached link. In this you may find useful information:

Enhanced Chart Behavior 

 

Regards

Bhawna