Forum Discussion
Anonymous
6 years agoNot applicable
Drop Shadow Custom Preset JSON
Hello, I need some help. I was able to target the Preset with the Custom dropdown and the transparency but I am unable to target distance, size, blur, and angle. What are the object names so I ca...
- 6 years ago
Hey Anonymous ,
maybe this is what you are looking for:
{\"dropShadow\":[{\"properties\":{\"show\":{\"expr\":{\"Literal\":{\"Value\":\"true\"}}}, \"preset\":{\"expr\":{\"Literal\":{\"Value\":\"'Custom'\"}}}, \"shadowSpread\":{\"expr\":{\"Literal\":{\"Value\":\"11D\"}}}, \"shadowBlur\":{\"expr\":{\"Literal\":{\"Value\":\"24D\"}}}, \"angle\":{\"expr\":{\"Literal\":{\"Value\":\"114D\"}}}, \"transparency\":{\"expr\":{\"Literal\":{\"Value\":\"41D\"}}}, \"shadowDistance\":{\"expr\":{\"Literal\":{\"Value\":\"52D\"}}}}} ]}To discover these values, I do the following ...
- Create a very simple and small pbix (basically, I created this pbix some time ago)
- Create a visual using the formatting options I want to track down (I always change an existing default value)
- Save and close the pbix
- Create a copy of the pbix x
- Rename the suffix of the copy to zip
- Trackdown the Layout file in the reports folder and track down the visualization options.
Hopefully, this is what you are looking for.
Regards,
Tom
TomMartens
6 years agoSuper User
Hey Anonymous ,
maybe this is what you are looking for:
{\"dropShadow\":[{\"properties\":{\"show\":{\"expr\":{\"Literal\":{\"Value\":\"true\"}}},
\"preset\":{\"expr\":{\"Literal\":{\"Value\":\"'Custom'\"}}},
\"shadowSpread\":{\"expr\":{\"Literal\":{\"Value\":\"11D\"}}},
\"shadowBlur\":{\"expr\":{\"Literal\":{\"Value\":\"24D\"}}},
\"angle\":{\"expr\":{\"Literal\":{\"Value\":\"114D\"}}},
\"transparency\":{\"expr\":{\"Literal\":{\"Value\":\"41D\"}}},
\"shadowDistance\":{\"expr\":{\"Literal\":{\"Value\":\"52D\"}}}}}
]}
To discover these values, I do the following ...
- Create a very simple and small pbix (basically, I created this pbix some time ago)
- Create a visual using the formatting options I want to track down (I always change an existing default value)
- Save and close the pbix
- Create a copy of the pbix x
- Rename the suffix of the copy to zip
- Trackdown the Layout file in the reports folder and track down the visualization options.
Hopefully, this is what you are looking for.
Regards,
Tom
Anonymous
6 years agoNot applicable
Thank you so much! Exactly what I was looking for.
- TomMartens6 years agoSuper User
Hey Anonymous ,
please mark my previous post as an answer as this will help others.
Regards,
Tom