Forum Discussion
identifying visualname in Custom Visuals
Hi v-evelk
The following links: https://community.powerbi.com/t5/Desktop/Custom-Report-Theme-JSON-Property-settings-in-Tables-Matrix/td-p/278177/page/2
https://docs.microsoft.com/en-us/power-bi/desktop-report-themes (under "JSON file element definitions")
show how to customize different visualnames using JSON for embedded visuals in Power BI, e.g, "scatterChart" or "clusteredColumnChart".
I've used this to reduce the fontsize of embedded visusals to a number below the minimum 8 pt allowed for in PowerBI. I'd like to do the same for Custom Visuals, and in some cases change the fontfamily as well.
In order to do so, I assume I need the correct visualName for custom visuals, e.g. Aster Plot or Timeline slicer, but don't know how to find/identify what those visualNames are. How can I find/identify those visualnames for custom visuals?
Hi,
So, the name for timeline is Timeline1447991079100 , for Aster Plot is AsterPlot1443303142064 .
It's definitely not so trivial to reveal this names.
Usually, it is enough to find the top container of a visual in the layout as on picture below.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]Hi mrothschild,
You can get the ID by right-clicking the visual icon in either Desktop or the Service and selecting About, e.g. for the Aster Plot, we can get the same IS v-evelk got from the browser DOM:
Regards,
Daniel
6 Replies
- v-evelkMicrosoft Employee
Hi,
So, the name for timeline is Timeline1447991079100 , for Aster Plot is AsterPlot1443303142064 .
It's definitely not so trivial to reveal this names.
Usually, it is enough to find the top container of a visual in the layout as on picture below.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]- mrothschildContinued Contributor
Thank you. I've edited the JSON, but doesn't seem like it's going to work to change the legend font size in the Aster Plot visual. That said, would you mind providing the steps to get to the PNG image you attached in case it would work for other visuals?
Thanks!
- dm-pSuper User
Hi mrothschild,
You can get the ID by right-clicking the visual icon in either Desktop or the Service and selecting About, e.g. for the Aster Plot, we can get the same IS v-evelk got from the browser DOM:
Regards,
Daniel