Something we ended up doing with WealthBar to support gradients was a directive that will inject arbitrary SVG elements from it's own element into the actual SVG. However I think an actual gradient directive might be better for that use case this will allow us to support more unforeseen use cases more easily.
Something we ended up doing with WealthBar to support gradients was a directive that will inject arbitrary SVG elements from it's own element into the actual SVG. However I think an actual gradient directive might be better for that use case this will allow us to support more unforeseen use cases more easily.
Example