Pranisha

Members
  • Content count

    1
  • Joined

  • Last visited

Posts posted by Pranisha


  1. Hi,

    I wanted to do the same thing using XML instead of JSON.How can I do this?

     

     

    Hi,

     

    Apologies for the inconvenience.

     

    You can not apply multiple font color styles to DATAVALUES object directly.

     

    However, you can use following work-around to achieve the same. But this will only work for JavaScript chart.

     

    You would need to apply "displayValue" attribute for the each data value along with the font style.

     

    Ref. Code:

    "data": [

    {

    "label": "Label 1",

    "displayvalue": "<font style=\"color:black;\"\">1.0</font>",

    "value": "1.0",

    },

     

    Please find attached illustration and screen-shot for your reference.

     

    Hope this helps!