Forum Discussion
jonimatix_pp
2 years agoFrequent Visitor
Deneb Visual - How to add Title Header from Template
Hi all, I want to add a simple Chart title / header in the top of the chart to this visual: https://github.com/PowerBI-tips/Deneb-Templates/blob/main/templates/Ridgeline%20Independent.json B...
- Anonymous2 years ago
Hi jonimatix_pp ,
Add it to the top level of the specification.
{ "title": { "text": "Your Chart Title Here", "anchor": "start", "fontSize": 20, "fontWeight": "bold", "color": "black" } //note that the "anchor" property can be set to `"start"`, `"middle"`, or `"end"` to align the title to the left, center, or right of the chart, respectively.Refer : View Title | Vega-Lite
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Hi jonimatix_pp ,
Add it to the top level of the specification.
{
"title": {
"text": "Your Chart Title Here",
"anchor": "start",
"fontSize": 20,
"fontWeight": "bold",
"color": "black"
}
//note that the "anchor" property can be set to `"start"`, `"middle"`, or `"end"` to align the title to the left, center, or right of the chart, respectively.
Refer : View Title | Vega-Lite
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.