Indicators - Conditionally format secondary value with Up / Down Arrows

Comments

4 comments

  • Avatar
    Denis Malenfant

    When you download the dashboard as PDF the last line of the script break something and we receive an error "This shouldn't have happened..."

    Do you have an alternative of the following line to fix the issue?

    w.indicatorInstance.setOptions('numericSimple', options);
    0
    Comment actions Permalink
  • Avatar
    Dhrubajyoti Das

    Hi Jay,

    Thanks for sharing this piece of knowledge. Can you please tell me how can i change the color of the text of the secondary value? See below-

    I am talking about the text "Variance" in this case.

    0
    Comment actions Permalink
  • Avatar
    Jay Dastur

    Hi Dhrubajyoti 

    You can add a secondaryTitle json object within he main Options : {} object

    secondaryTitle: {
             fontFamily: 'Helvetica, sans-serif',
             fontWeight: 'bold',
             fontSizes: {
                  big: 20,
                 medium: 10
             },
            color: 'blue'

    },

     

    1
    Comment actions Permalink
  • Avatar
    Dhrubajyoti Das

    Thanks Jay. It's working fine.

    0
    Comment actions Permalink

Please sign in to leave a comment.