The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi @Anonymous ,
Found this old post with NO solution.
But there is a solution:
Just add the next line to your borden property in JSON.
- "width" :2
resulting in the following code:
"border": [{
"show": true,
"color": { "solid": { "color": "#FFFFFF" } },
"radius": 5,
"width" : 2
}]
Kind regards,
Rob
Hi @Anonymous,
Yes, you can use theme JSON to custom the visual border width. This code should apply to visuals who have border property.
{
"name": "Custom Border",
"tableAccent": "#284861",
"visualStyles": {
"*": {
"*": {
"border": [{
"show": true,
"color": { "solid": { "color": "#FFFFFF" } },
"radius": 5
}]
}
}
}
}
Border radius with JSON
Regards,
Xiaoxin Sheng
Hi @Anonymous,
I know I can use the mentioned code to creat border. But I'd like to modify the width of the border (for all visualisations) because now it's just about 1 pix and it is too thin. Can you help me?
Hi @Anonymous,
After I check these properties, I found to change the radius volume seems not effective to increase border width to make it looks stronger. (it change the visual internal layout instead of direct increase the visual border size)
Perhaps you can submit an idea to modify and highlight the visual borders.
Regards,
Xiaoxin Sheng