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.
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.
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.