f5 / unovis

Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
https://unovis.dev
Apache License 2.0
2.27k stars 44 forks source link

How to add a watermark to a chart? #452

Closed fromaline closed 1 week ago

fromaline commented 1 month ago

Hey! Thanks for the library! It's great!

I have a question: How to add a watermark to a chart? Is there any way to do it at all?

rokotyan commented 1 month ago

You can use the XYLabels component or just place a simple div on top

fromaline commented 1 month ago

@rokotyan, thanks for answering! I can't find any docs about XYLabels, so I don't quite understand how to use this component to show a watermark logo

But a simple div works great, thanks for this tip! It seems obvious now, but initially, I didn't even think about it