deneb-viz / deneb

Deneb is a custom visual for Microsoft Power BI, which allows developers to use the declarative JSON syntax of the Vega or Vega-Lite languages to create their own data visualizations.
https://deneb-viz.github.io
MIT License
193 stars 15 forks source link

⚠️ Visuals Appear Blurry in Power BI Service #489

Open remsidave opened 3 months ago

remsidave commented 3 months ago

Hello @dm-p

We have a complex vega lite visual using concats and layers and aggregations and plotting up to 20k points as scatter plot with line overlays. This used to be rendered nicely in SVG mode but with the switch to deneb 1.7.0.0 in Power Bi Service (and only there) it now looks like it is rendered in Canvas mode (text is blurry and in general the appearance is not as sharp as it used to be). I tested this by switching another simpler plot to Canvas mode and in power Bi service the visual appearance (resolution, sharpness) is now identical to the complex plot that is set to SVG mode. Is it possible that the render mode is switched in the background?

If that doesn't ring a bell I can try to create a sharable version of the pbix file.

dm-p commented 3 months ago

This is a known issue with Chromium and affects Chrome and Edge browsers. It affects all custom visuals. I have reported to MS a few weeks ago and they are working on a fix.

remsidave commented 3 months ago

thanks for the swift response. Does it make sense to leave this one open or shall I close it as it already addressed?

dm-p commented 3 months ago

Normally I'd suggest closing, as there's nothing we can do from our end, but we'll leave it open for visibility - in case anyone else comes across the problem and wishes to report it. I'll close when we get confirmation from MS that it's fixed.

dm-p commented 2 months ago

@remsidave - it seems to be looking OK for me now, but it would be good to confirm from your end if there's still an issue?

remsidave commented 2 months ago

@dm-p it's hard to judge. I think they look less blurry, but still not as sharp as native Power Bi visuals if I compare text.

Here's a x axis from Deneb off the Web Service image

comparing to a Power Bi table header on the same report with the same zoom setting. Much sharper. image

I know this is not for html content but you mentioned that the underlying issue is affecting all custom visuals and text in an input field in html content still looks very blurry. From the same report on the same zoom settings image

we use Edge, currently on Version 128.0.2739.67

In any case I think this is not a critical issue at all and want to thank you for your efforts here. Without Deneb, Power Bi would be missing its most important visual. Just wanted to let you know :)

EDIT: just compared the same report between PBi Desktop and on PBi Service and the visuals are crystal clear in PBi Desktop and still blurry on PBi Service

beewishart commented 2 months ago

Hello @dm-p , I found this post as I am currently experiencing the blurry issue when viewing the Deneb visual in either the Power BI service and also in our application where we are embedding the visual. It appears fine in Power BI desktop. Do you know if MS as still looking into issue and if they have given you an ETA around a fix ?

dm-p commented 2 months ago

Thanks, both, for your input 🙏 And it's sad that it's still happening. We were given an ETA of 'about two weeks' several weeks ago, so I will follow up with MS when I return from leave in a few days

beewishart commented 1 month ago

Hello @dm-p , I'm not sure if you logged with MS yet but just wanted to let you know more info that I checked the same visual across 3 browsers - Edge vs Chrome vs Firefox and interestingly only Firefox displays clearly. So matches your comment above on previous issue with Chromium seems still the case. Unfortunately, our application users need either Edge or Chrome so hoping you hear soon. Thanks again Bee

Deneb visual - CHROME - blurry Deneb visual - EDGE - blurry Deneb visual - FIREFOX - clear

PBI-David commented 1 month ago

Also seeing this in the HTML Content (Lite) visual. Please let us know if you get a response from Microsoft.

dm-p commented 1 month ago

The email has been sent to MS for a follow-up, but I'm still awaiting a reply as to what's happening here in terms of them resolving the problem.

dm-p commented 1 month ago

Update from MS: This is to be fixed by the Chromium development team. They are investigating, but there is currently no ETA on this.

I'll keep this issue open here to track interested folks in what I find out, but that's all I can offer at this time.

beewishart commented 1 month ago

Thank you so much for the update @dm-p ,and understand dependency is on MS

PBI-David commented 1 month ago

Issue can be tracked here: https://issues.chromium.org/issues/359279545

dm-p commented 2 weeks ago

Chrome canary has a flag allowing developers to test a potential fix for this issue. I tested Deneb using this flag, and it looks crisp at all canvas zoom levels I tried. Let's hope it gets rolled out soon! 🤞