Leave feedback
  • Question

    Suppress Data label for Pie chart, if the corresponding Value element is not present in XML

Enter a new topic
  • Pradip Shejole Pradip Shejole
    1 likes 600 views

     

    Hi, I want to supress the data label for pie chart, if the corresponding XMLvalue element is not in xml file. we can do it using scripting, But I want to do it using xpath only. Please see attached XML file if in this xml I do not have "Charges1" element, then still I get the label for this in pie chart in output (see the attched Pie chart) Thanks Pradip 

    Hi,


     

    Monday 17 August, 2015

    Attached files

  • Best Answer
    David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    Attached a sample design that should help you close the topic.)

    Thursday 20 August, 2015

    Attached files

  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    1 likes

    Try the leftmost column called Category.

    It works form me. When I enter a modification there /PieChart/charges1[.>0] then it acts like a condition.

    If you are really missing the whole element, then /PieChart/charges1 would work as well.

    Monday 17 August, 2015
  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    Attached a sample design that should help you close the topic.)

    Thursday 20 August, 2015

    Attached files


 

Latest from the blogs

Read more