Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Picasso js: format title

Using Picasso js is it possible to format the text in a Text component ?

Currently I have this Component :

    {

        type: 'text',

        text: "Bill's Graph",

        anchor: 'center',

        dock: 'top'

      }

This my first time using Picasso js and I am just seeing what it can do, so simply being able change the font size, colour and make it bold would be great.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Got the answer by posting the question Qlik Branch Slack :

{

  type: 'text',

  text: "Bill's Graph",

  anchor: 'center',

  dock: 'top',

  style: {

    text: {

       fontSize: '24px',

       fill: 'red',

       fontFamily: 'Georgia'

    }

  }

}

Although fontWeight not supported.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Got the answer by posting the question Qlik Branch Slack :

{

  type: 'text',

  text: "Bill's Graph",

  anchor: 'center',

  dock: 'top',

  style: {

    text: {

       fontSize: '24px',

       fill: 'red',

       fontFamily: 'Georgia'

    }

  }

}

Although fontWeight not supported.