Hello, I am playing with modifying Insights - so f...
# gd-beginners
Hello, I am playing with modifying Insights - so far it's been pretty easy to apply a date range or new config to an
object, but I'm looking to dynamically change the font now. The docs suggest I have to implement a custom visualization to do so (https://sdk.gooddata.com/gooddata-ui/docs/chart_config.html#customize-tooltips-and-fonts), which requires me to specify a lot of the state that I've already made an insight around (eg,
, https://sdk.gooddata.com/gooddata-ui/docs/create_new_visualization.html). Is there a way to get that information from an
directly, so I don't have to manually duplicate the insight to change the font? Can I pass an existing insight into the new visualization somehow? I am just looking for the simplest way to render a different font on the view of an existing insight.
Hi @Adam Keener. To just change the Font, you should be ok using Theming capability https://sdk.gooddata.com/gooddata-ui/docs/theme_provider.html#using-the-theme-provider-component-with-a-custom-theme You dont have to define full theme object, define only font properties
Thank you, that worked!